Table of Contents

Enum DiscordPermissions

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Bitwise permission flags.

[Flags]
public enum DiscordPermissions : long
Extension Methods

Fields

[PermissionString("Read messages")] AccessChannels = 1024

Allows accessing text and voice channels. Disabling this permission hides channels.

[PermissionString("Add reactions")] AddReactions = 64

Allows adding reactions to messages.

[PermissionString("Administrator")] Administrator = 8

Enables full access on a given guild. This also overrides other permissions.

[PermissionString("All permissions")] All = 703687441776639

Indicates all permissions are granted

[PermissionString("Attach files")] AttachFiles = 32768

Allows uploading files.

[PermissionString("Ban members")] BanMembers = 4

Allows banning and unbanning members.

[PermissionString("Change own nickname")] ChangeNickname = 67108864

Allows changing of own nickname.

[PermissionString("Create Events")] CreateEvents = 17592186044416

Allows for creating scheduled events, editing and deleting those created by the current user.

[PermissionString("Create Guild Expressions")] CreateGuildExpressions = 8796093022208

Allows for creating emojis, stickers, soundboard sounds, editing and deleting those created by the current user.

[PermissionString("Create instant invites")] CreateInstantInvite = 1

Allows creation of instant channel invites.

[PermissionString("Create Private Threads")] CreatePrivateThreads = 68719476736

Allows for creating private threads.

[PermissionString("Create Public Threads")] CreatePublicThreads = 34359738368

Allows for creating public threads.

[PermissionString("Deafen voice chat members")] DeafenMembers = 8388608

Allows deafening other members in voice chat.

Allows embedding content in messages.

[PermissionString("Kick members")] KickMembers = 2

Allows kicking members.

[PermissionString("Manage channels")] ManageChannels = 16

Allows managing channels.

[PermissionString("Manage emoji and stickers")] ManageEmojis = 1073741824

Allows managing guild emoji and stickers.

[PermissionString("Manage Scheduled Events")] ManageEvents = 8589934592

Allows for managing scheduled guild events.

[PermissionString("Manage guild")] ManageGuild = 32

Allows managing the guild.

[PermissionString("Manage messages")] ManageMessages = 8192

Allows managing messages of other users.

[PermissionString("Manage nicknames")] ManageNicknames = 134217728

Allows managing nicknames of other members.

[PermissionString("Manage roles")] ManageRoles = 268435456

Allows managing roles in a guild.

[PermissionString("Manage Threads")] ManageThreads = 17179869184

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

[PermissionString("Manage webhooks")] ManageWebhooks = 536870912

Allows managing webhooks in a guild.

[PermissionString("Mention everyone")] MentionEveryone = 131072

Allows using @everyone and @here mentions.

[PermissionString("Moderate Members")] ModerateMembers = 1099511627776

Allows for moderating (Timeout) members in a guild.

[PermissionString("Move voice chat members")] MoveMembers = 16777216

Allows moving voice chat members.

[PermissionString("Mute voice chat members")] MuteMembers = 4194304

Allows muting other members in voice chat.

[PermissionString("No permissions")] None = 0

Indicates no permissions given.

[PermissionString("Use priority speaker")] PrioritySpeaker = 256

Allows the use of priority speaker.

[PermissionString("Read message history")] ReadMessageHistory = 65536

Allows reading message history.

[PermissionString("Request to speak")] RequestToSpeak = 4294967296

Allows for requesting to speak in stage channels.

[PermissionString("Send messages")] SendMessages = 2048

Allows sending messages (does not allow sending messages in threads).

[PermissionString("Send messages in Threads")] SendMessagesInThreads = 274877906944

Allows for sending messages in threads.

[PermissionString("Send Polls")] SendPolls = 562949953421312

Allows sending polls.

[PermissionString("Send TTS messages")] SendTtsMessages = 4096

Allows sending text-to-speech messages.

[PermissionString("Send Voice Messages")] SendVoiceMessages = 70368744177664

Allows sending voice messages.

[PermissionString("Speak")] Speak = 2097152

Allows speaking in voice chat.

[PermissionString("Start Embedded Activities")] StartEmbeddedActivities = 549755813888

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

[PermissionString("Allow stream")] Stream = 512

Allows the user to go live.

[PermissionString("Use application commands")] UseApplicationCommands = 2147483648

Allows the user to use application commands.

[PermissionString("Use external emojis and stickers")] UseExternalEmojis = 262144

Allows using emojis or stickers from external servers, such as twitch or nitro emojis.

[PermissionString("Use External Sounds")] UseExternalSounds = 35184372088832

Allows the usage of custom soundboard sounds from other servers.

[PermissionString("Use external Stickers")] UseExternalStickers = 137438953472

Allows the usage of custom stickers from other servers.

[PermissionString("Use Soundboard")] UseSoundboard = 4398046511104

Allows for using soundboard in a voice channel.

[PermissionString("Use voice chat")] UseVoice = 1048576

Allows connecting to voice chat.

[PermissionString("Use voice activity detection")] UseVoiceDetection = 33554432

Allows using voice activation in voice chat. Revoking this will usage of push-to-talk.

[PermissionString("View audit log")] ViewAuditLog = 128

Allows viewing audit log entries.

[PermissionString("View Creator Monetization Analytics")] ViewCreatorMonetizationAnalytics = 2199023255552

Allows for viewing role subscription insights.