Skip to content

Permission

const Permission: 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.

readonly AddReactions: bigint

Add new reactions to messages.

readonly Administrator: bigint

Administrator: all permissions, and bypasses channel overrides.

readonly AttachFiles: bigint

Upload files and media.

readonly BanMembers: bigint

Ban members.

readonly ChangeNickname: bigint

Change one’s own nickname.

readonly Connect: bigint

Join voice channels.

readonly CreateEvents: bigint

Create scheduled events.

readonly CreateGuildExpressions: bigint

Create emojis, stickers and soundboard sounds.

readonly CreateInstantInvite: bigint

Create invites to the server.

readonly CreatePrivateThreads: bigint

Create private threads.

readonly CreatePublicThreads: bigint

Create public threads.

readonly DeafenMembers: bigint

Deafen other members in voice channels.

readonly EmbedLinks: bigint

Have links in messages embed.

readonly KickMembers: bigint

Kick members.

readonly ManageChannels: bigint

Create, edit and delete channels.

readonly ManageEvents: bigint

Edit and delete scheduled events.

readonly ManageGuild: bigint

Change server settings.

readonly ManageGuildExpressions: bigint

Edit and delete emojis, stickers and soundboard sounds.

readonly ManageMessages: bigint

Delete other members’ messages and pin messages.

readonly ManageNicknames: bigint

Change other members’ nicknames.

readonly ManageRoles: bigint

Create, edit and delete roles lower than the member’s own.

readonly ManageThreads: bigint

Manage and delete threads.

readonly ManageWebhooks: bigint

Create, edit and delete webhooks.

readonly MentionEveryone: bigint

Mention @everyone,

and all roles.

readonly ModerateMembers: bigint

Time out members.

readonly MoveMembers: bigint

Move members between voice channels.

readonly MuteMembers: bigint

Mute other members in voice channels.

readonly PinMessages: bigint

Pin and unpin messages.

readonly PrioritySpeaker: bigint

Use priority speaker in voice channels.

readonly ReadMessageHistory: bigint

Read message history.

readonly RequestToSpeak: bigint

Request to speak in stage channels.

readonly SendMessages: bigint

Send messages in text channels.

readonly SendMessagesInThreads: bigint

Send messages in threads.

readonly SendPolls: bigint

Send polls.

readonly SendTtsMessages: bigint

Send text-to-speech messages.

readonly SendVoiceMessages: bigint

Send voice messages.

readonly Speak: bigint

Speak in voice channels.

readonly Stream: bigint

Go live (stream) in voice channels.

readonly UseApplicationCommands: bigint

Use application commands (slash commands).

readonly UseEmbeddedActivities: bigint

Start activities in voice channels.

readonly UseExternalApps: bigint

Use apps that are not installed in the server.

readonly UseExternalEmojis: bigint

Use emojis from other servers.

readonly UseExternalSounds: bigint

Use soundboard sounds from other servers.

readonly UseExternalStickers: bigint

Use stickers from other servers.

readonly UseSoundboard: bigint

Use soundboard sounds.

readonly UseVoiceActivity: bigint

Use voice activity detection instead of push-to-talk.

readonly ViewAuditLog: bigint

View the audit log.

readonly ViewChannel: bigint

View channels (and read their messages).

readonly ViewCreatorMonetizationAnalytics: bigint

View creator monetization analytics.

readonly ViewGuildInsights: bigint

View server insights.