Permissions¶
Constants¶
-
int BAN_MEMBERS = 4
Allows kicking members. Allows banning members.
-
int KICK_MEMBERS = 2
Allows kicking members.
-
int MANAGE_GUILD = 32
Allows management and editing of the guild.
-
int ADMINISTRATOR = 8
Allows all permissions and bypasses channel permission overwrites.
-
int MANAGE_ROLES = 268435456
Allows management and editing of roles
-
int MANAGE_CHANNELS = 16
Allows management and editing of channels.
-
int CREATE_INSTANT_INVITE = 1
Allows creation of instant invites.
-
int ADD_REACTIONS = 64
Allows for the addition of reactions to messages.
-
int SEND_MESSAGES = 2048
Allows for sending messages in a channel and creating threads in a forum (does not allow sending messages in threads).
-
int MENTION_EVERYONE = 131072
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.
-
int USE_EXTERNAL_EMOJIS = 262144
Allows the usage of custom emojis from other servers.
-
int VIEW_GUILD_INSIGHTS = 524288
Allows for viewing guild insights.
-
int CONNECT = 1048576
Allows for joining of a voice channel.
-
int SPEAK = 2097152
Allows for speaking in a voice channel.
-
int MUTE_MEMBERS = 4194304
Allows for muting members in a voice channel.
-
int MANAGE_MESSAGES = 8192
Allows for deletion of other users messages.
-
int EMBED_LINKS = 16384
Links sent by users with this permission will be auto-embedded.
-
int ATTACH_FILES = 32768
Allows for uploading images and files.
-
int READ_MESSAGE_HISTORY = 65536
Allows for reading of message history.
-
int VIEW_CHANNEL = 1024
Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels.
-
int PRIORITY_SPEAKER = 256
Allows for using priority speaker in a voice channel.
-
int DEAFEN_MEMBERS = 8388608
Allows for deafening of members in a voice channel.
-
int MOVE_MEMBERS = 16777216
Allows for moving of members between voice channels.
-
int USE_VAD = 33554432
Allows for using voice-activity-detection in a voice channel.
-
int CHANGE_NICKNAME = 67108864
Allows for modification of own nickname.
-
int MANAGE_NICKNAMES = 134217728
Allows for modification of other users nicknames.
-
int MANAGE_WEBHOOKS = 536870912
Allows management and editing of webhooks.
-
int MANAGE_EMOJIS_AND_STICKERS = 1073741824
Allows management and editing of emojis and stickers.
-
int STREAM = 512
Allows the user to go live.
-
int VIEW_AUDIT_LOG = 128
Allows for viewing of audit logs.
-
int USE_APPLICATION_COMMANDS = 2147483648
Allows members to use application commands, including slash commands and context menu commands.
-
int REQUEST_TO_SPEAK = 4294967296
Allows for requesting to speak in stage channels.
-
int MANAGE_THREADS = 17179869184
Allows for deleting and archiving threads, and viewing all private threads.
-
int USE_PUBLIC_THREADS = 34359738368
Allows for creating public and announcement threads.
-
int USE_PRIVATE_THREADS = 68719476736
Allows for creating private threads.
-
int USE_EXTERNAL_STICKERS = 137438953472
Allows the usage of custom stickers from other servers.
-
int SEND_MESSAGES_IN_THREADS = 274877906944
Allows for sending messages in threads.
-
int START_EMBEDDED_ACTIVITIES = 549755813888
Allows for using Activities (applications with the
EMBEDDED
flag) in a voice channel.
-
int MODERATE_MEMBERS = 1099511627776
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.
-
int SEND_TTS_MESSAGES = 4096
Allows for sending of
/tts
messages.