mojira-discord-bot icon indicating copy to clipboard operation
mojira-discord-bot copied to clipboard

Change moderator permission definition

Open violine1101 opened this issue 5 years ago • 1 comments

Currently, the moderator permission is defined as being equal to Discord's MANAGE_MESSAGES permission.

Perhaps it would be a good idea to change that, and maybe even allow that permission level to be configured on a per-server basis.

Optimally, this permission would be linked to a certain role, or multiple roles (so that the member running a command with this permission needs to have any of the specified roles in order to execute the command).

The server owner should always have this permission.

The only command for which this is relevant right now is !jira poll. However, in the future there might be more commands that use this permission, such as the commands that allow MojiraBot to be configured on a per-server or per-channel basis.

violine1101 avatar Feb 20 '20 17:02 violine1101