permission
Manage permissions for a specific command.
Aliases
permission
p
Syntax
-permission <subcommand> <command> <permissions...>
Subcommands
set <command> <permissions...>
: Set the permissions for a command.clear <command>
: Clear the permissions for a command.view <command>
: List the permissions for a command.
Permission Argument
The permission argument must be a space-separated list of valid permission identifiers. The identifiers are case-sensitive. Here is a list of valid permission identifiers:
CreateInstantInvite
KickMembers
BanMembers
Administrator
ManageChannels
ManageGuild
AddReactions
ViewAuditLog
PrioritySpeaker
Stream
ViewChannel
SendMessages
SendTTSMessages
ManageMessages
EmbedLinks
AttachFiles
ReadMessageHistory
MentionEveryone
UseExternalEmojis
ViewGuildInsights
Connect
Speak
MuteMembers
DeafenMembers
MoveMembers
UseVAD
ChangeNickname
ManageNicknames
ManageRoles
ManageWebhooks
ManageEmojisAndStickers
ManageGuildExpressions
UseApplicationCommands
RequestToSpeak
ManageEvents
ManageThreads
CreatePublicThreads
CreatePrivateThreads
UseExternalStickers
SendMessagesInThreads
UseEmbeddedActivities
ModerateMembers
ViewCreatorMonetizationAnalytics
UseSoundboard
CreateGuildExpressions
CreateEvents
UseExternalSounds
SendVoiceMessages
SendPolls
UseExternalApps
Required Permissions
MANAGE_GUILD
Modes
Legacy
Interactions
Examples
-permission set ban Administrator
-permission set clear Administrator BanMembers ManageGuild
-permission view ban
-permission clear ban