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

Create channel teams - division by zero #26

Open
gabrielKerekes opened this issue Feb 7, 2021 · 0 comments
Open

Create channel teams - division by zero #26

gabrielKerekes opened this issue Feb 7, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@gabrielKerekes
Copy link
Collaborator

When asking to create 0 teams a ZeroDivisionError: integer division or modulo by zero is thrown. It probably makes sense to check the number_of_teams parameter.

Steps to reproduce:
/create-channel-teams 786902821299290144 0

Expected behaviour:
Should send an error message to the user, similarly as is done with a non-existing channel.

@gabrielKerekes gabrielKerekes added the bug Something isn't working label Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant