Configuration

command restrict

Allow or deny a command for a role, user or channel.

Slash command Needs Manage Server
command restrict <command> <allow|deny> <role|user|channel>
Aliases
cmd restrict
User permissions
Manage Server
Bot permissionsNone
Cooldown3s
Server owner onlyNo
Server onlyYes
Slash commandYes
NSFW onlyNo

Arguments

NameTypeRequiredDescription
commandstringRequiredCommand
accessstringRequiredAllow or deny
targetstringRequiredRole, user or channel

Examples

command restrict ban allow @Moderator
command restrict play deny #general