Skip to main content

BitwisePermissionFlags

@discordeno/botDocs


Documentation / @discordeno/bot / BitwisePermissionFlags

Variable: BitwisePermissionFlags

const BitwisePermissionFlags: object

https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags

Type declaration

ADD_REACTIONS

readonly ADD_REACTIONS: bigint

Allows for the addition of reactions to messages

ADMINISTRATOR

readonly ADMINISTRATOR: bigint

Allows all permissions and bypasses channel permission overwrites

ATTACH_FILES

readonly ATTACH_FILES: bigint

Allows for uploading images and files

BAN_MEMBERS

readonly BAN_MEMBERS: bigint

Allows banning members

CHANGE_NICKNAME

readonly CHANGE_NICKNAME: bigint

Allows for modification of own nickname

CONNECT

readonly CONNECT: bigint

Allows for joining of a voice channel

CREATE_EVENTS

readonly CREATE_EVENTS: bigint

Allows for creating scheduled events, and editing and deleting those created by the current user

CREATE_GUILD_EXPRESSIONS

readonly CREATE_GUILD_EXPRESSIONS: bigint

Allows for creating emojis, stickers, and soundboard sounds, and editing and deleting those created by the current user

CREATE_INSTANT_INVITE

readonly CREATE_INSTANT_INVITE: bigint

Allows creation of instant invites

CREATE_PRIVATE_THREADS

readonly CREATE_PRIVATE_THREADS: bigint

Allows for creating private threads

CREATE_PUBLIC_THREADS

readonly CREATE_PUBLIC_THREADS: bigint

Allows for creating public and announcement threads

DEAFEN_MEMBERS

readonly DEAFEN_MEMBERS: bigint

Allows for deafening of members in a voice channel

readonly EMBED_LINKS: bigint

Links sent by users with this permission will be auto-embedded

KICK_MEMBERS

readonly KICK_MEMBERS: bigint

Allows kicking members

MANAGE_CHANNELS

readonly MANAGE_CHANNELS: bigint

Allows management and editing of channels

MANAGE_EVENTS

readonly MANAGE_EVENTS: bigint

Allows for editing and deleting scheduled events created by all users

MANAGE_GUILD

readonly MANAGE_GUILD: bigint

Allows management and editing of the guild

MANAGE_GUILD_EXPRESSIONS

readonly MANAGE_GUILD_EXPRESSIONS: bigint

Allows for editing and deleting emojis, stickers, and soundboard sounds created by all users

MANAGE_MESSAGES

readonly MANAGE_MESSAGES: bigint

Allows for deletion of other users messages

MANAGE_NICKNAMES

readonly MANAGE_NICKNAMES: bigint

Allows for modification of other users nicknames

MANAGE_ROLES

readonly MANAGE_ROLES: bigint

Allows management and editing of roles

MANAGE_THREADS

readonly MANAGE_THREADS: bigint

Allows for deleting and archiving threads, and viewing all private threads

MANAGE_WEBHOOKS

readonly MANAGE_WEBHOOKS: bigint

Allows management and editing of webhooks

MENTION_EVERYONE

readonly MENTION_EVERYONE: bigint

Allows for using the @everyone tag to notify all users in a channel, and the @here tag to notify all online users in a channel

MODERATE_MEMBERS

readonly MODERATE_MEMBERS: bigint

Allows for timing out users to prevent them from sending or reacting to messages in chat and threads, and from speaking in voice and stage channels

MOVE_MEMBERS

readonly MOVE_MEMBERS: bigint

Allows for moving of members between voice channels

MUTE_MEMBERS

readonly MUTE_MEMBERS: bigint

Allows for muting members in a voice channel

PRIORITY_SPEAKER

readonly PRIORITY_SPEAKER: bigint

Allows for using priority speaker in a voice channel

READ_MESSAGE_HISTORY

readonly READ_MESSAGE_HISTORY: bigint

Allows for reading of message history

REQUEST_TO_SPEAK

readonly REQUEST_TO_SPEAK: bigint

Allows for requesting to speak in stage channels.

SEND_MESSAGES

readonly SEND_MESSAGES: bigint

Allows for sending messages in a channel. (does not allow sending messages in threads)

SEND_MESSAGES_IN_THREADS

readonly SEND_MESSAGES_IN_THREADS: bigint

Allows for sending messages in threads

SEND_POLLS

readonly SEND_POLLS: bigint

Allows sending polls

SEND_TTS_MESSAGES

readonly SEND_TTS_MESSAGES: bigint

Allows for sending of /tts messages

SEND_VOICE_MESSAGES

readonly SEND_VOICE_MESSAGES: bigint

Allows sending voice messages

SPEAK

readonly SPEAK: bigint

Allows for speaking in a voice channel

STREAM

readonly STREAM: bigint

Allows the user to go live

USE_EMBEDDED_ACTIVITIES

readonly USE_EMBEDDED_ACTIVITIES: bigint

Allows for launching activities (applications with the EMBEDDED flag) in a voice channel.

USE_EXTERNAL_APPS

readonly USE_EXTERNAL_APPS: bigint

Allows user-installed apps to send public responses. When disabled, users will still be allowed to use their apps but the responses will be ephemeral. This only applies to apps not also installed to the server.

USE_EXTERNAL_EMOJIS

readonly USE_EXTERNAL_EMOJIS: bigint

Allows the usage of custom emojis from other servers

USE_EXTERNAL_SOUNDS

readonly USE_EXTERNAL_SOUNDS: bigint

Allows the usage of custom soundboards sounds from other servers

USE_EXTERNAL_STICKERS

readonly USE_EXTERNAL_STICKERS: bigint

Allows the usage of custom stickers from other servers

USE_SLASH_COMMANDS

readonly USE_SLASH_COMMANDS: bigint

Allows members to use application commands in text channels

USE_SOUNDBOARD

readonly USE_SOUNDBOARD: bigint

Allows for using soundboard in a voice channel.

USE_VAD

readonly USE_VAD: bigint

Allows for using voice-activity-detection in a voice channel

VIEW_AUDIT_LOG

readonly VIEW_AUDIT_LOG: bigint

Allows for viewing of audit logs

VIEW_CHANNEL

readonly VIEW_CHANNEL: bigint

Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels

VIEW_CREATOR_MONETIZATION_ANALYTICS

readonly VIEW_CREATOR_MONETIZATION_ANALYTICS: bigint

Allows for viewing role subscription insights.

VIEW_GUILD_INSIGHTS

readonly VIEW_GUILD_INSIGHTS: bigint

Allows for viewing guild insights

Defined in

packages/types/dist/types/shared.d.ts:681