Permission System
New Permissions System
- A brand new permission system! Replacing the old guild-based permissions (ie. manage channels, manage messages), the new system enables you to customize your desired permission level specific to a command or a group of commands for a role or user.
- There are five permission levels:
- Owner [5]
- Administrator [4]
- Moderator [3]
- Supporter [2]
- Regular [1]
Usage
You may add a role or user to a permission group through any of the following methods:
?permissions add level owner @role
?permissions add level supporter member-name
?permissions add level moderator everyone
?permissions add level moderator @member#1234
?permissions add level administrator 78912384930291853
The same applies to individual commands permissions:
?permissions add command command-name @member#1234
- ... and the other methods listed above.
To revoke permission, use remove
instead of add
.
To view all roles and users with permission for a permission level or command do:
?permissions get command command-name
?permissions get level owner
By default, all newly set up Modmail will have OWNER
set to the owner of the bot, and REGULAR
set to @everyone.
Breaking
When updating to this version, all prior permission settings with guild-based permissions will be invalidated. You will need to convert to the above system.
OWNERS
will also get removed, you will need to set owners through ?permissions add level owner 212931293123129
or any way listed above.
New Command
- A
?delete
command, which is an alternative to manually deleting a message. This command is created to no longer requires manage messages permission to recall thread messages.
Changed
- The help message no longer conceals inaccessible commands due to check failures.