Enum Permissions
- Namespace
- DisCatSharp.Enums
- Assembly
- DisCatSharp.dll
Bitwise permission flags.
[Flags]
public enum Permissions : long
- Extension Methods
Fields
[PermissionString("No Permissions")] None = 0Indicates no permissions given.
[PermissionString("All Permissions")] All = CreateInstantInvite | KickMembers | BanMembers | Administrator | ManageChannels | ManageGuild | AddReactions | ViewAuditLog | PrioritySpeaker | Stream | AccessChannels | SendMessages | SendTtsMessages | ManageMessages | EmbedLinks | AttachFiles | ReadMessageHistory | MentionEveryone | UseExternalEmojis | ViewGuildInsights | UseVoice | Speak | MuteMembers | DeafenMembers | MoveMembers | UseVoiceDetection | ChangeNickname | ManageNicknames | ManageRoles | ManageWebhooks | ManageGuildExpressions | UseApplicationCommands | RequestToSpeak | ManageEvents | ManageThreads | CreatePublicThreads | CreatePrivateThreads | UseExternalStickers | SendMessagesInThreads | StartEmbeddedActivities | ModerateMembers | ViewCreatorMonetizationInsights | UseSoundboard | CreateGuildExpressions | CreateEvents | UseExternalSounds | SendVoiceMessages | UseClydeAi | SetVoiceChannelStatus | SendPolls | UseExternalApps | PinMessages | BypassSlowmodeIndicates all permissions are granted.
[PermissionString("Create Instant Invites")] CreateInstantInvite = 1Allows creation of instant channel invites.
[PermissionString("Kick Members")] KickMembers = 2Allows kicking members.
[PermissionString("Ban Members")] BanMembers = 4Allows banning and unbanning members.
[PermissionString("Administrator")] Administrator = 8Enables full access on a given guild. This also overrides other permissions.
[PermissionString("Manage Channels")] ManageChannels = 16Allows managing channels.
[PermissionString("Manage Guild")] ManageGuild = 32Allows managing the guild.
[PermissionString("Add Reactions")] AddReactions = 64Allows adding reactions to messages.
[PermissionString("View Audit Log")] ViewAuditLog = 128Allows viewing audit log entries.
[PermissionString("Use Priority Speaker")] PrioritySpeaker = 256Allows the use of priority speaker.
[PermissionString("Allow Stream")] Stream = 512Allows the user to go live.
[PermissionString("Read Messages")] AccessChannels = 1024Allows accessing text and voice channels. Disabling this permission hides channels.
[PermissionString("Send Messages")] SendMessages = 2048Allows sending messages (does not allow sending messages in threads).
[PermissionString("Send TTS Messages")] SendTtsMessages = 4096Allows sending text-to-speech messages.
[PermissionString("Manage Messages")] ManageMessages = 8192Allows managing messages of other users.
[PermissionString("Use Embeds")] EmbedLinks = 16384Allows embedding content in messages.
[PermissionString("Attach Files")] AttachFiles = 32768Allows uploading files.
[PermissionString("Read Message History")] ReadMessageHistory = 65536Allows reading message history.
[PermissionString("Mention Everyone")] MentionEveryone = 131072Allows using @everyone and @here mentions.
[PermissionString("Use External Emojis")] UseExternalEmojis = 262144Allows using emojis from external servers, such as twitch or nitro emojis.
[PermissionString("View Guild Insights")] ViewGuildInsights = 524288Allows to view guild insights.
[PermissionString("Use Voice")] UseVoice = 1048576Allows connecting to voice chat.
[PermissionString("Speak")] Speak = 2097152Allows speaking in voice chat.
[PermissionString("Mute Voice Chat Members")] MuteMembers = 4194304Allows muting other members in voice chat.
[PermissionString("Deafen Voice Chat Members")] DeafenMembers = 8388608Allows deafening other members in voice chat.
[PermissionString("Move Voice Chat Members")] MoveMembers = 16777216Allows moving voice chat members.
[PermissionString("Use Voice Activity Detection")] UseVoiceDetection = 33554432Allows using voice activation in voice chat. Revoking this will usage of push-to-talk.
[PermissionString("Change Own Nickname")] ChangeNickname = 67108864Allows changing of own nickname.
[PermissionString("Manage Nicknames")] ManageNicknames = 134217728Allows managing nicknames of other members.
[PermissionString("Manage Roles")] ManageRoles = 268435456Allows managing roles in a guild.
[PermissionString("Manage Webhooks")] ManageWebhooks = 536870912Allows managing webhooks in a guild.
[PermissionString("Manage Guild Expressions")] ManageGuildExpressions = 1073741824Allows managing guild emojis, stickers and soundboard sounds.
[PermissionString("Use Application Commands")] UseApplicationCommands = 2147483648Allows the user to use slash commands.
[PermissionString("Request To Speak")] RequestToSpeak = 4294967296Allows for requesting to speak in stage channels.
[PermissionString("Manage Events")] ManageEvents = 8589934592Allows managing guild events.
[PermissionString("Manage Threads")] ManageThreads = 17179869184Allows for deleting and archiving threads, and viewing all private threads.
[PermissionString("Create Public Threads")] CreatePublicThreads = 34359738368Allows for creating threads.
[PermissionString("Create Private Threads")] CreatePrivateThreads = 68719476736Allows for creating private threads.
[PermissionString("Use External Stickers")] UseExternalStickers = 137438953472Allows the usage of custom stickers from other servers.
[PermissionString("Send Messages In Threads")] SendMessagesInThreads = 274877906944Allows for sending messages in threads.
[PermissionString("Start Embedded Activities")] StartEmbeddedActivities = 549755813888Allows for launching activities (applications with the
EMBEDDEDflag) in a voice channel.[PermissionString("Moderate Members")] ModerateMembers = 1099511627776Allows to perform limited moderation actions (timeout).
[PermissionString("View Creator Monetization Insights")] ViewCreatorMonetizationInsights = 2199023255552Allows to view creator monetization insights.
[PermissionString("Use Soundboard")] UseSoundboard = 4398046511104Allows to use soundboard sounds in voice channels.
[PermissionString("Create Guild Expressions")] CreateGuildExpressions = 8796093022208Allows to create guild emojis, stickers and soundboard sounds.
[PermissionString("Create Events")] CreateEvents = 17592186044416Allows to create guild events.
[PermissionString("Use External Sounds")] UseExternalSounds = 35184372088832Allows the usage of custom soundboard sounds from other servers.
[PermissionString("Send Voice Messages")] SendVoiceMessages = 70368744177664Allows members to send voice messages.
[PermissionString("Use Clyde AI")] [DiscordDeprecated("Clyde was shutdown in December 2023")] UseClydeAi = 140737488355328Allows members to interact with the Clyde AI bot.
[PermissionString("Set Voice Channel Status")] SetVoiceChannelStatus = 281474976710656Allows members to create and edit voice channel status.
[PermissionString("Send Polls")] SendPolls = 562949953421312Allows members to send polls.
[PermissionString("Use External Apps")] UseExternalApps = 1125899906842624Allows user-installed apps to send public responses. When disabled, users will still be allowed to use their apps but the responses will be ephemeral. This only applies to apps not also installed to the server.
[PermissionString("Pin Messages")] PinMessages = 2251799813685248Allows pinning messages.
[PermissionString("Bypass Slowmode")] BypassSlowmode = 4503599627370496Allows members to bypass slowmode restrictions.
[PermissionString("The permissions are unknown")] Unknown = 9223372036854775807The flags are unknown.