Documentation / Command Permissions

Command Permissions

Override who can use which command, and check the result.

!allow

AdminPrefix + Slash

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

OptionTypeDescription
member requiredUserMember to add override for
command requiredTextCommand or module to add override for
subcommandTextSubcommand to add override for

/allow role Add a role override

OptionTypeDescription
role requiredRoleRole to add override for
command requiredTextCommand or module to add override for
subcommandTextSubcommand to add override for

/allow channel Add a channel override

OptionTypeDescription
channel requiredChannelChannel to add override for
command requiredTextCommand or module to add override for
subcommandTextSubcommand to add override for

/allow guild Add a guild override

OptionTypeDescription
command requiredTextCommand or module to add override for
subcommandTextSubcommand to add override for

“For times when you trust someone with the hammer, but not the toolbox.”

!block

AdminPrefix + Slash

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

OptionTypeDescription
member requiredUserMember to add override for
command requiredTextCommand or module to add override for
subcommandTextSubcommand to add override for

/block role Add a role override

OptionTypeDescription
role requiredRoleRole to add override for
command requiredTextCommand or module to add override for
subcommandTextSubcommand to add override for

/block channel Add a channel override

OptionTypeDescription
channel requiredChannelChannel to add override for
command requiredTextCommand or module to add override for
subcommandTextSubcommand to add override for

/block guild Add a guild override

OptionTypeDescription
command requiredTextCommand or module to add override for
subcommandTextSubcommand to add override for

“Someone's been naughty.”

!restrict

AdminPrefix + Slash

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

OptionTypeDescription
member requiredUserMember to add override for
command requiredTextCommand or module to add override for
subcommandTextSubcommand to add override for

/restrict role Add a role override

OptionTypeDescription
role requiredRoleRole to add override for
command requiredTextCommand or module to add override for
subcommandTextSubcommand to add override for

/restrict channel Add a channel override

OptionTypeDescription
channel requiredChannelChannel to add override for
command requiredTextCommand or module to add override for
subcommandTextSubcommand to add override for

“MINE! ALL MINE! My precious...”

!free

AdminPrefix + Slash

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
OptionTypeDescription
command requiredTextCommand or module to remove override for
subcommandTextSubcommand to remove override for
memberUserMember to remove override for
roleRoleRole to add override for
channelChannelChannel to add override for
guildTrue / FalseRemove guild override

“And this bird you cannot chaaaange, woahoahoahoahoah woah.”

!listperms

ModeratorPrefix + Slash

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
OptionTypeDescription
commandTextList all overrides for the command or module
subcommandTextList all overrides for the subcommand of the command
memberUserList all overrides for this member
roleRoleList all overrides for this role
channelChannelList all overrides for this channel
guildTrue / FalseList all overrides for the server

“Why can't you just remember it yourself?”

!testperm

ModeratorPrefix + Slash

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
OptionTypeDescription
member requiredUserMember to test permissions for
command requiredTextCommand or module to test permissions for
subcommandTextSubcommand 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.”