Closed Reapimus closed 2 years ago
Describe the bug When the bot tries to handle the BotTeamMembershipCreated WebSocket event, it causes a crash to occur.
To Reproduce Have the bot join a server while it is running.
Expected behavior The event should be handled appropriately and the bot should not crash.
Actual behavior The bot crashes with the error "UnboundLocalError: local variable 'server' referenced before assignment"
Environment
This payload is different from the others that Guilded sends and guilded.py wasn't expecting the change, this will be fixed soon 👍
Describe the bug When the bot tries to handle the BotTeamMembershipCreated WebSocket event, it causes a crash to occur.
To Reproduce Have the bot join a server while it is running.
Expected behavior The event should be handled appropriately and the bot should not crash.
Actual behavior The bot crashes with the error "UnboundLocalError: local variable 'server' referenced before assignment"
Environment