[Moderation] Moderation commands break if the bot doesn't have permissions/role is higher than the bot #14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What cog is causing this error?
Moderation
Describe the bug
if the bot doesn't have the ability to moderate a user, it'll throw an API error
To Reproduce
try to ban/mute someone with a role higher than the bot
Expected Behavior
the bot should send an error message detailing what is wrong instead of just failing the interaction
Additional Context
dn
Fixed by #d752484662