You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When executing certain commands, mainly configuration commands like accessrole, the bot will check to see if it has Manage Channel and Manage Permissions enabled in the channel the command is executed in even if the channel is not part of ModMail's own category.
To Reproduce
Steps to reproduce the behavior:
Setup ModMail on a fresh Discord server.
Configure ModMail's role to have "Manage Channel" and "Manage Roles" disabled.
Configure the default "#general" channel AND ModMail's category to explicitly enable "Manage Channel" and "Manage Permissions".
Create a new text channel where ModMail and explicitly disable "Manage Channel" and "Manage Permissions".
Create a dummy role that will serve as an access role.
Run "=accessrole " in the channel created in Step 4. The bot should complain of lack of permissions.
Run "=accessrole " in the default "#general" channel, the bot should successfully update the ModMail category for the role.
Expected behavior
The bot should only care if it has the required permissions on the category all tickets will be created under.
Screenshots
I have a lot of screenshots and will try to make sure there is a clear order to them. If all else fails, they were all made on the same day so you can follow the message timestamps for the most part.
Additional Context
ModMail does not have the Administrator permission, this permissions overrides everything to be enabled regardless of permissions.
The text was updated successfully, but these errors were encountered:
Describe the bug
When executing certain commands, mainly configuration commands like
accessrole
, the bot will check to see if it has Manage Channel and Manage Permissions enabled in the channel the command is executed in even if the channel is not part of ModMail's own category.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The bot should only care if it has the required permissions on the category all tickets will be created under.
Screenshots
I have a lot of screenshots and will try to make sure there is a clear order to them. If all else fails, they were all made on the same day so you can follow the message timestamps for the most part.
Additional Context
ModMail does not have the Administrator permission, this permissions overrides everything to be enabled regardless of permissions.
The text was updated successfully, but these errors were encountered: