Command raises an unhandled error if an ID too large is provided #6431
Labels
Category: Cogs - Mod
This is related to the Mod cog.
Status: Accepted
We want this
Type: Bug
Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
What Red version are you using?
3.4.5
Cog name
Mod
Command name
ban
What did you expect to happen?
The bot to respond that the provided user ID is too large / not a user ID
What actually happened?
Unhandled error, traceback below:
How can we reproduce this error?
Use
[p]ban
with an ID larger than 2^63-1Anything else?
Other commands that take in a user ID and make an API request might also have to be double-checked
The text was updated successfully, but these errors were encountered: