Permission
constPermission:object
Defined in: bot/permissions.ts:7
Discord permission bits, by the names the Discord docs use. Permissions travel as
decimal strings because they overflow a JS number’s safe integer range. Bits Discord
adds after this list are not named here: permissionNames leaves them out, and
permissions cannot set them by name.
Type Declaration
Section titled “Type Declaration”AddReactions
Section titled “AddReactions”
readonlyAddReactions:bigint
Add new reactions to messages.
Administrator
Section titled “Administrator”
readonlyAdministrator:bigint
Administrator: all permissions, and bypasses channel overrides.
AttachFiles
Section titled “AttachFiles”
readonlyAttachFiles:bigint
Upload files and media.
BanMembers
Section titled “BanMembers”
readonlyBanMembers:bigint
Ban members.
ChangeNickname
Section titled “ChangeNickname”
readonlyChangeNickname:bigint
Change one’s own nickname.
Connect
Section titled “Connect”
readonlyConnect:bigint
Join voice channels.
CreateEvents
Section titled “CreateEvents”
readonlyCreateEvents:bigint
Create scheduled events.
CreateGuildExpressions
Section titled “CreateGuildExpressions”
readonlyCreateGuildExpressions:bigint
Create emojis, stickers and soundboard sounds.
CreateInstantInvite
Section titled “CreateInstantInvite”
readonlyCreateInstantInvite:bigint
Create invites to the server.
CreatePrivateThreads
Section titled “CreatePrivateThreads”
readonlyCreatePrivateThreads:bigint
Create private threads.
CreatePublicThreads
Section titled “CreatePublicThreads”
readonlyCreatePublicThreads:bigint
Create public threads.
DeafenMembers
Section titled “DeafenMembers”
readonlyDeafenMembers:bigint
Deafen other members in voice channels.
EmbedLinks
Section titled “EmbedLinks”
readonlyEmbedLinks:bigint
Have links in messages embed.
KickMembers
Section titled “KickMembers”
readonlyKickMembers:bigint
Kick members.
ManageChannels
Section titled “ManageChannels”
readonlyManageChannels:bigint
Create, edit and delete channels.
ManageEvents
Section titled “ManageEvents”
readonlyManageEvents:bigint
Edit and delete scheduled events.
ManageGuild
Section titled “ManageGuild”
readonlyManageGuild:bigint
Change server settings.
ManageGuildExpressions
Section titled “ManageGuildExpressions”
readonlyManageGuildExpressions:bigint
Edit and delete emojis, stickers and soundboard sounds.
ManageMessages
Section titled “ManageMessages”
readonlyManageMessages:bigint
Delete other members’ messages and pin messages.
ManageNicknames
Section titled “ManageNicknames”
readonlyManageNicknames:bigint
Change other members’ nicknames.
ManageRoles
Section titled “ManageRoles”
readonlyManageRoles:bigint
Create, edit and delete roles lower than the member’s own.
ManageThreads
Section titled “ManageThreads”
readonlyManageThreads:bigint
Manage and delete threads.
ManageWebhooks
Section titled “ManageWebhooks”
readonlyManageWebhooks:bigint
Create, edit and delete webhooks.
MentionEveryone
Section titled “MentionEveryone”
readonlyMentionEveryone:bigint
Mention @everyone,
and all roles.
ModerateMembers
Section titled “ModerateMembers”
readonlyModerateMembers:bigint
Time out members.
MoveMembers
Section titled “MoveMembers”
readonlyMoveMembers:bigint
Move members between voice channels.
MuteMembers
Section titled “MuteMembers”
readonlyMuteMembers:bigint
Mute other members in voice channels.
PinMessages
Section titled “PinMessages”
readonlyPinMessages:bigint
Pin and unpin messages.
PrioritySpeaker
Section titled “PrioritySpeaker”
readonlyPrioritySpeaker:bigint
Use priority speaker in voice channels.
ReadMessageHistory
Section titled “ReadMessageHistory”
readonlyReadMessageHistory:bigint
Read message history.
RequestToSpeak
Section titled “RequestToSpeak”
readonlyRequestToSpeak:bigint
Request to speak in stage channels.
SendMessages
Section titled “SendMessages”
readonlySendMessages:bigint
Send messages in text channels.
SendMessagesInThreads
Section titled “SendMessagesInThreads”
readonlySendMessagesInThreads:bigint
Send messages in threads.
SendPolls
Section titled “SendPolls”
readonlySendPolls:bigint
Send polls.
SendTtsMessages
Section titled “SendTtsMessages”
readonlySendTtsMessages:bigint
Send text-to-speech messages.
SendVoiceMessages
Section titled “SendVoiceMessages”
readonlySendVoiceMessages:bigint
Send voice messages.
readonlySpeak:bigint
Speak in voice channels.
Stream
Section titled “Stream”
readonlyStream:bigint
Go live (stream) in voice channels.
UseApplicationCommands
Section titled “UseApplicationCommands”
readonlyUseApplicationCommands:bigint
Use application commands (slash commands).
UseEmbeddedActivities
Section titled “UseEmbeddedActivities”
readonlyUseEmbeddedActivities:bigint
Start activities in voice channels.
UseExternalApps
Section titled “UseExternalApps”
readonlyUseExternalApps:bigint
Use apps that are not installed in the server.
UseExternalEmojis
Section titled “UseExternalEmojis”
readonlyUseExternalEmojis:bigint
Use emojis from other servers.
UseExternalSounds
Section titled “UseExternalSounds”
readonlyUseExternalSounds:bigint
Use soundboard sounds from other servers.
UseExternalStickers
Section titled “UseExternalStickers”
readonlyUseExternalStickers:bigint
Use stickers from other servers.
UseSoundboard
Section titled “UseSoundboard”
readonlyUseSoundboard:bigint
Use soundboard sounds.
UseVoiceActivity
Section titled “UseVoiceActivity”
readonlyUseVoiceActivity:bigint
Use voice activity detection instead of push-to-talk.
ViewAuditLog
Section titled “ViewAuditLog”
readonlyViewAuditLog:bigint
View the audit log.
ViewChannel
Section titled “ViewChannel”
readonlyViewChannel:bigint
View channels (and read their messages).
ViewCreatorMonetizationAnalytics
Section titled “ViewCreatorMonetizationAnalytics”
readonlyViewCreatorMonetizationAnalytics:bigint
View creator monetization analytics.
ViewGuildInsights
Section titled “ViewGuildInsights”
readonlyViewGuildInsights:bigint
View server insights.