Skip to main content

Enum ChannelPermission

Defines the available permissions for a channel.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
[Flags]
public enum ChannelPermission : ulong

Fields​

CreateInstantInvite​

Allows creation of instant invites.

View Source​
Declaration
CreateInstantInvite = 1UL

ManageChannels​

Allows management and editing of channels.

View Source​
Declaration
ManageChannels = 16UL

AddReactions​

Allows for the addition of reactions to messages.

View Source​
Declaration
AddReactions = 64UL

ViewChannel​

Allows guild members to view a channel, which includes reading messages in text channels.

View Source​
Declaration
ViewChannel = 1024UL

SendMessages​

Allows for sending messages in a channel.

View Source​
Declaration
SendMessages = 2048UL

SendTTSMessages​

Allows for sending of text-to-speech messages.

View Source​
Declaration
SendTTSMessages = 4096UL

ManageMessages​

Allows for deletion of other users messages.

View Source​
Declaration
ManageMessages = 8192UL

Allows links sent by users with this permission will be auto-embedded.

View Source​
Declaration
EmbedLinks = 16384UL

AttachFiles​

Allows for uploading images and files.

View Source​
Declaration
AttachFiles = 32768UL

ReadMessageHistory​

Allows for reading of message history.

View Source​
Declaration
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​
Declaration
MentionEveryone = 131072UL

UseExternalEmojis​

Allows the usage of custom emojis from other servers.

View Source​
Declaration
UseExternalEmojis = 262144UL

Connect​

Allows for joining of a voice channel.

View Source​
Declaration
Connect = 1048576UL

Speak​

Allows for speaking in a voice channel.

View Source​
Declaration
Speak = 2097152UL

MuteMembers​

Allows for muting members in a voice channel.

View Source​
Declaration
MuteMembers = 4194304UL

DeafenMembers​

Allows for deafening of members in a voice channel.

View Source​
Declaration
DeafenMembers = 8388608UL

MoveMembers​

Allows for moving of members between voice channels.

View Source​
Declaration
MoveMembers = 16777216UL

UseVAD​

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

View Source​
Declaration
UseVAD = 33554432UL

PrioritySpeaker​

Allows for using priority speaker in a voice channel.

View Source​
Declaration
PrioritySpeaker = 256UL

Stream​

Allows video streaming in a voice channel.

View Source​
Declaration
Stream = 512UL

ManageRoles​

Allows management and editing of roles.

View Source​
Declaration
ManageRoles = 268435456UL

ManageWebhooks​

Allows management and editing of webhooks.

View Source​
Declaration
ManageWebhooks = 536870912UL

ManageEmojis​

Allows management and editing of emojis.

View Source​
Declaration
ManageEmojis = 1073741824UL

UseApplicationCommands​

Allows members to use slash commands in text channels.

View Source​
Declaration
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​
Declaration
RequestToSpeak = 4294967296UL

ManageThreads​

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

View Source​
Declaration
ManageThreads = 17179869184UL

CreatePublicThreads​

Allows for creating public threads.

View Source​
Declaration
CreatePublicThreads = 34359738368UL

CreatePrivateThreads​

Allows for creating private threads.

View Source​
Declaration
CreatePrivateThreads = 68719476736UL

UseExternalStickers​

Allows the usage of custom stickers from other servers.

View Source​
Declaration
UseExternalStickers = 137438953472UL

SendMessagesInThreads​

Allows for sending messages in threads.

View Source​
Declaration
SendMessagesInThreads = 274877906944UL

StartEmbeddedActivities​

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

View Source​
Declaration
StartEmbeddedActivities = 549755813888UL