botranktir
botranktir copied to clipboard
Botranktir does not check channel permission for MANAGE_MESSAGES
Describe the bug
The bot does not allow use of delrole on channels with MANAGE_MESSAGES granted to it, if it is not allowed to MANAGE_MESSAGES for the whole guild.
To Reproduce
Steps to reproduce the behavior:
- Add the bot to a guild
- Disable manage messages on the role on the guild
- Enable manage messages on the role on a channel
- addrole on a message in that channel
- Attempt to delrole the added role from the previous step
- See error about permissions
Expected behavior
delrole should run and succeed.
Logs
N/A hosted instance.
About
Run the command {prefix}about
and attach the screenshot of the output.
Additional context
This is an issue of more commands than only the {prefix}delrole
one. The whole solution of permissions needs to be redone to fix it as currently, the Commando's client permissions at commands are used.