Enum ChannelPermission
Defines the available permissions for a channel.
Assembly: Discord.Net.Core.dll​
View Source​
[Flags]
public enum ChannelPermission : ulong
Fields​
CreateInstantInvite​
Allows creation of instant invites.
View Source​
CreateInstantInvite = 1UL
ManageChannels​
Allows management and editing of channels.
View Source​
ManageChannels = 16UL
AddReactions​
Allows for the addition of reactions to messages.
View Source​
AddReactions = 64UL
ViewChannel​
Allows guild members to view a channel, which includes reading messages in text channels.
View Source​
ViewChannel = 1024UL
SendMessages​
Allows for sending messages in a channel.
View Source​
SendMessages = 2048UL
SendTTSMessages​
Allows for sending of text-to-speech messages.
View Source​
SendTTSMessages = 4096UL
ManageMessages​
Allows for deletion of other users messages.
View Source​
ManageMessages = 8192UL
EmbedLinks​
Allows links sent by users with this permission will be auto-embedded.
View Source​
EmbedLinks = 16384UL
AttachFiles​
Allows for uploading images and files.
View Source​
AttachFiles = 32768UL
ReadMessageHistory​
Allows for reading of message history.
View Source​
ReadMessageHistory = 65536UL
MentionEveryone​
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.
View Source​
MentionEveryone = 131072UL
UseExternalEmojis​
Allows the usage of custom emojis from other servers.
View Source​
UseExternalEmojis = 262144UL
Connect​
Allows for joining of a voice channel.
View Source​
Connect = 1048576UL
Speak​
Allows for speaking in a voice channel.
View Source​
Speak = 2097152UL
MuteMembers​
Allows for muting members in a voice channel.
View Source​
MuteMembers = 4194304UL
DeafenMembers​
Allows for deafening of members in a voice channel.
View Source​
DeafenMembers = 8388608UL
MoveMembers​
Allows for moving of members between voice channels.
View Source​
MoveMembers = 16777216UL
UseVAD​
Allows for using voice-activity-detection in a voice channel.
View Source​
UseVAD = 33554432UL
PrioritySpeaker​
Allows for using priority speaker in a voice channel.
View Source​
PrioritySpeaker = 256UL
Stream​
Allows video streaming in a voice channel.
View Source​
Stream = 512UL
ManageRoles​
Allows management and editing of roles.
View Source​
ManageRoles = 268435456UL
ManageWebhooks​
Allows management and editing of webhooks.
View Source​
ManageWebhooks = 536870912UL
ManageEmojis​
Allows management and editing of emojis.
View Source​
ManageEmojis = 1073741824UL
UseApplicationCommands​
Allows members to use slash commands in text channels.
View Source​
UseApplicationCommands = 2147483648UL
RequestToSpeak​
Allows for requesting to speak in stage channels. (This permission is under active development and may be changed or removed.)
View Source​
RequestToSpeak = 4294967296UL
ManageThreads​
Allows for deleting and archiving threads, and viewing all private threads
View Source​
ManageThreads = 17179869184UL
CreatePublicThreads​
Allows for creating public threads.
View Source​
CreatePublicThreads = 34359738368UL
CreatePrivateThreads​
Allows for creating private threads.
View Source​
CreatePrivateThreads = 68719476736UL
UseExternalStickers​
Allows the usage of custom stickers from other servers.
View Source​
UseExternalStickers = 137438953472UL
SendMessagesInThreads​
Allows for sending messages in threads.
View Source​
SendMessagesInThreads = 274877906944UL
StartEmbeddedActivities​
Allows for launching activities (applications with the EMBEDDED flag) in a voice channel.
View Source​
StartEmbeddedActivities = 549755813888UL