BitwisePermissionFlags
Documentation / @discordeno/types / BitwisePermissionFlags
Variable: BitwisePermissionFlags
constBitwisePermissionFlags:object
Defined in: discord/permissions.ts:4
https://docs.discord.com/developers/topics/permissions#permissions-bitwise-permission-flags
Type Declaration
ADD_REACTIONS
readonlyADD_REACTIONS:bigint
Allows for the addition of reactions to messages
ADMINISTRATOR
readonlyADMINISTRATOR:bigint
Allows all permissions and bypasses channel permission overwrites
ATTACH_FILES
readonlyATTACH_FILES:bigint
Allows for uploading images and files
BAN_MEMBERS
readonlyBAN_MEMBERS:bigint
Allows banning members
BYPASS_SLOWMODE
readonlyBYPASS_SLOWMODE:bigint
Allows bypassing slowmode restrictions
CHANGE_NICKNAME
readonlyCHANGE_NICKNAME:bigint
Allows for modification of own nickname
CONNECT
readonlyCONNECT:bigint
Allows for joining of a voice channel
CREATE_EVENTS
readonlyCREATE_EVENTS:bigint
Allows for creating scheduled events, and editing and deleting those created by the current user
CREATE_GUILD_EXPRESSIONS
readonlyCREATE_GUILD_EXPRESSIONS:bigint
Allows for creating emojis, stickers, and soundboard sounds, and editing and deleting those created by the current user
CREATE_INSTANT_INVITE
readonlyCREATE_INSTANT_INVITE:bigint
Allows creation of instant invites
CREATE_PRIVATE_THREADS
readonlyCREATE_PRIVATE_THREADS:bigint
Allows for creating private threads
CREATE_PUBLIC_THREADS
readonlyCREATE_PUBLIC_THREADS:bigint
Allows for creating public and announcement threads
DEAFEN_MEMBERS
readonlyDEAFEN_MEMBERS:bigint
Allows for deafening of members in a voice channel
EMBED_LINKS
readonlyEMBED_LINKS:bigint
Links sent by users with this permission will be auto-embedded
KICK_MEMBERS
readonlyKICK_MEMBERS:bigint
Allows kicking members
MANAGE_CHANNELS
readonlyMANAGE_CHANNELS:bigint
Allows management and editing of channels
MANAGE_EVENTS
readonlyMANAGE_EVENTS:bigint
Allows for editing and deleting scheduled events created by all users
MANAGE_GUILD
readonlyMANAGE_GUILD:bigint
Allows management and editing of the guild
MANAGE_GUILD_EXPRESSIONS
readonlyMANAGE_GUILD_EXPRESSIONS:bigint
Allows for editing and deleting emojis, stickers, and soundboard sounds created by all users
MANAGE_MESSAGES
readonlyMANAGE_MESSAGES:bigint
Allows for deletion of other users messages
MANAGE_NICKNAMES
readonlyMANAGE_NICKNAMES:bigint
Allows for modification of other users nicknames
MANAGE_ROLES
readonlyMANAGE_ROLES:bigint
Allows management and editing of roles
MANAGE_THREADS
readonlyMANAGE_THREADS:bigint
Allows for deleting and archiving threads, and viewing all private threads
MANAGE_WEBHOOKS
readonlyMANAGE_WEBHOOKS:bigint
Allows management and editing of webhooks
MENTION_EVERYONE
readonlyMENTION_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
readonlyMODERATE_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
readonlyMOVE_MEMBERS:bigint
Allows for moving of members between voice channels
MUTE_MEMBERS
readonlyMUTE_MEMBERS:bigint
Allows for muting members in a voice channel
PIN_MESSAGES
readonlyPIN_MESSAGES:bigint
Allows pinning and unpinning messages
PRIORITY_SPEAKER
readonlyPRIORITY_SPEAKER:bigint
Allows for using priority speaker in a voice channel
READ_MESSAGE_HISTORY
readonlyREAD_MESSAGE_HISTORY:bigint
Allows for reading of message history
REQUEST_TO_SPEAK
readonlyREQUEST_TO_SPEAK:bigint
Allows for requesting to speak in stage channels.
SEND_MESSAGES
readonlySEND_MESSAGES:bigint
Allows for sending messages in a channel. (does not allow sending messages in threads)
SEND_MESSAGES_IN_THREADS
readonlySEND_MESSAGES_IN_THREADS:bigint
Allows for sending messages in threads
SEND_POLLS
readonlySEND_POLLS:bigint
Allows sending polls
SEND_TTS_MESSAGES
readonlySEND_TTS_MESSAGES:bigint
Allows for sending of /tts messages
SEND_VOICE_MESSAGES
readonlySEND_VOICE_MESSAGES:bigint
Allows sending voice messages
SPEAK
readonlySPEAK:bigint
Allows for speaking in a voice channel
STREAM
readonlySTREAM:bigint
Allows the user to go live
USE_EMBEDDED_ACTIVITIES
readonlyUSE_EMBEDDED_ACTIVITIES:bigint
Allows for launching activities (applications with the EMBEDDED flag) in a voice channel.
USE_EXTERNAL_APPS
readonlyUSE_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
readonlyUSE_EXTERNAL_EMOJIS:bigint
Allows the usage of custom emojis from other servers
USE_EXTERNAL_SOUNDS
readonlyUSE_EXTERNAL_SOUNDS:bigint
Allows the usage of custom soundboards sounds from other servers
USE_EXTERNAL_STICKERS
readonlyUSE_EXTERNAL_STICKERS:bigint
Allows the usage of custom stickers from other servers
USE_SLASH_COMMANDS
readonlyUSE_SLASH_COMMANDS:bigint
Allows members to use application commands in text channels
USE_SOUNDBOARD
readonlyUSE_SOUNDBOARD:bigint
Allows for using soundboard in a voice channel.
USE_VAD
readonlyUSE_VAD:bigint
Allows for using voice-activity-detection in a voice channel
VIEW_AUDIT_LOG
readonlyVIEW_AUDIT_LOG:bigint
Allows for viewing of audit logs
VIEW_CHANNEL
readonlyVIEW_CHANNEL:bigint
Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels
VIEW_CREATOR_MONETIZATION_ANALYTICS
readonlyVIEW_CREATOR_MONETIZATION_ANALYTICS:bigint
Allows for viewing role subscription insights.
VIEW_GUILD_INSIGHTS
readonlyVIEW_GUILD_INSIGHTS:bigint
Allows for viewing guild insights