Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Dropping players can cause panic #63

Open
TylerBloom opened this issue Dec 17, 2022 · 0 comments
Open

[Bug]: Dropping players can cause panic #63

TylerBloom opened this issue Dec 17, 2022 · 0 comments
Labels
bug Something isn't working todo Will be resolved but work hasn't started

Comments

@TylerBloom
Copy link
Member

What went wrong:

A player left the server and should have been automatically dropped. This did not happen. Instead, the tournament admin had to drop the player using that player's id. This causes a panic when SB tries to remove that player's role. This led to the tournament admin being confused about if it worked.

Solution:

Remove the unwrap when getting a player to remove their role.

@TylerBloom TylerBloom added bug Something isn't working todo Will be resolved but work hasn't started labels Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working todo Will be resolved but work hasn't started
Projects
None yet
Development

No branches or pull requests

1 participant