Enum GuildPermission
Defines the available permissions for a channel.
Assembly: Discord.Net.Core.dll​
View Source​
[Flags]
public enum GuildPermission : ulong
Fields​
CreateInstantInvite​
Allows creation of instant invites.
View Source​
CreateInstantInvite = 1UL
KickMembers​
Allows kicking members.
View Source​
KickMembers = 2UL
BanMembers​
Allows banning members.
View Source​
BanMembers = 4UL
Administrator​
Allows all permissions and bypasses channel permission overwrites.
View Source​
Administrator = 8UL
ManageChannels​
Allows management and editing of channels.
View Source​
ManageChannels = 16UL
ManageGuild​
Allows management and editing of the guild.
View Source​
ManageGuild = 32UL
ViewGuildInsights​
Allows for viewing of guild insights
View Source​
ViewGuildInsights = 524288UL
AddReactions​
Allows for the addition of reactions to messages.
View Source​
AddReactions = 64UL
ViewAuditLog​
Allows for viewing of audit logs.
View Source​
ViewAuditLog = 128UL
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
ChangeNickname​
Allows for modification of own nickname.
View Source​
ChangeNickname = 67108864UL
ManageNicknames​
Allows for modification of other users nicknames.
View Source​
ManageNicknames = 134217728UL
ManageRoles​
Allows management and editing of roles.
View Source​
ManageRoles = 268435456UL
ManageWebhooks​
Allows management and editing of webhooks.
View Source​
ManageWebhooks = 536870912UL
ManageEmojisAndStickers​
Allows management and editing of emojis and stickers.
View Source​
ManageEmojisAndStickers = 1073741824UL
UseApplicationCommands​
Allows members to use application commands like slash commands and context menus in text channels.
View Source​
UseApplicationCommands = 2147483648UL
RequestToSpeak​
Allows for requesting to speak in stage channels.
View Source​
RequestToSpeak = 4294967296UL
ManageEvents​
Allows for creating, editing, and deleting guild scheduled events.
View Source​
ManageEvents = 8589934592UL
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