Documentation / Command Permissions
Command Permissions
Override who can use which command, and check the result.
!allow
!block
!restrict
!free
!listperms
!testperm
Override command permissions for any command, explicitly giving permission to the given member, given role, in the given channel, or in the entire server.
Usage !allow member/role/channel command [subcommand ]
!allow guild command [subcommand ] Examples !allow @Role staff add
!allow guild say
Slash command /allow /allow member Add a member override
Option Type Description member required User Member to add override for command required Text Command or module to add override for subcommandText Subcommand to add override for
/allow role Add a role override
Option Type Description role required Role Role to add override for command required Text Command or module to add override for subcommandText Subcommand to add override for
/allow channel Add a channel override
Option Type Description channel required Channel Channel to add override for command required Text Command or module to add override for subcommandText Subcommand to add override for
/allow guild Add a guild override
Option Type Description command required Text Command or module to add override for subcommandText Subcommand to add override for
“For times when you trust someone with the hammer, but not the toolbox.”
Block usage of a command to a member, role, or in a specific channel, overriding original command permissions.
Usage !block member/role/channel command [subcommand ]
!block guild command [subcommand ] Examples !block @Role staff add
!block guild say
Slash command /block /block member Add a member override
Option Type Description member required User Member to add override for command required Text Command or module to add override for subcommandText Subcommand to add override for
/block role Add a role override
Option Type Description role required Role Role to add override for command required Text Command or module to add override for subcommandText Subcommand to add override for
/block channel Add a channel override
Option Type Description channel required Channel Channel to add override for command required Text Command or module to add override for subcommandText Subcommand to add override for
/block guild Add a guild override
Option Type Description command required Text Command or module to add override for subcommandText Subcommand to add override for
“Someone's been naughty.”
Restrict usage of a command to a member, role, or in a specific channel, overriding original command permissions.
Usage !restrict member/role/channel command [subcommand ]
!restrict guild command [subcommand ] Examples !restrict @Role staff add
!restrict guild say
Slash command /restrict /restrict member Add a member override
Option Type Description member required User Member to add override for command required Text Command or module to add override for subcommandText Subcommand to add override for
/restrict role Add a role override
Option Type Description role required Role Role to add override for command required Text Command or module to add override for subcommandText Subcommand to add override for
/restrict channel Add a channel override
Option Type Description channel required Channel Channel to add override for command required Text Command or module to add override for subcommandText Subcommand to add override for
“MINE! ALL MINE! My precious...”
Free a command of all, or specific, permission overrides. You can either leave the type blank, or provide a channel, role, member or 'guild' to specify which overrides to remove.
Usage !free [member/role/channel ] command [subcommand ]
!free [guild] command [subcommand ] Examples !free @Role staff add
!free say
Slash command /free Option Type Description command required Text Command or module to remove override for subcommandText Subcommand to remove override for memberUser Member to remove override for roleRole Role to add override for channelChannel Channel to add override for guildTrue / False Remove guild override
“And this bird you cannot chaaaange, woahoahoahoahoah woah.”
List the permission overrides for commands or modules
Usage !listperms command/module
!listperms role /member /channel /guild Examples !listperms help
!listperms @Member
Slash command /listperms Option Type Description commandText List all overrides for the command or module subcommandText List all overrides for the subcommand of the command memberUser List all overrides for this member roleRole List all overrides for this role channelChannel List all overrides for this channel guildTrue / False List all overrides for the server
“Why can't you just remember it yourself?”
Test permissions on a specific member in the current channel you are in.
Usage !testperm member command [subcommand ]
!testperm member module Examples !testperm @Member staff add
!testperm @Member leveling
Slash command /testperm Option Type Description member required User Member to test permissions for command required Text Command or module to test permissions for subcommandText Subcommand ot test permissions for
“Yes yes I know this is all so complicated, do not worry, mommy bot is here to make the monsters go away.”