Enum DiscordPermission
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents a single discord permission.
[EnumExtensions]
public enum DiscordPermission
- Extension Methods
Fields
[Display(Name = "Add Reactions")] AddReactions = 6
Allows members to add a reaction to a message.
[Display(Name = "Administrator")] Administrator = 3
Administrator permission. Overrides every other permission, allows bypassing channel-specific restrictions.
[Display(Name = "Attach Files")] AttachFiles = 15
Allows members to attach files.
[Display(Name = "Ban Members")] BanMembers = 2
Allows members to ban others, limited by role hierarchy.
[Display(Name = "Change Nickname")] ChangeNickname = 26
Allows members to change their own nickname.
[Display(Name = "Connect")] Connect = 20
Allows members to connect to voice channels.
[Display(Name = "Create Invites")] CreateInvite = 0
Allows members to create invites.
[Display(Name = "Create Private Threads")] CreatePrivateThreads = 36
Allows members to create private threads.
[Display(Name = "Create Public Threads")] CreatePublicThreads = 35
Allows members to create public threads.
[Display(Name = "Deafen Members")] DeafenMembers = 23
Allows members to deafen others in voice channels.
[Display(Name = "Embed Links")] EmbedLinks = 14
Allows members' messages to embed sent links.
[Display(Name = "Kick Members")] KickMembers = 1
Allows members to kick others, limited by role hierarchy.
[Display(Name = "Manage Channels")] ManageChannels = 4
Allows members to create, edit and delete channels.
[Display(Name = "Manage Events")] ManageEvents = 33
Allows members to create, edit and delete events.
[Display(Name = "Manage Guild")] ManageGuild = 5
Allows members to change (most) guild settings.
[Display(Name = "Manage Guild Expressions")] ManageGuildExpressions = 30
Allows members to manage guild emojis and stickers.
[Display(Name = "Manage Messages")] ManageMessages = 13
Allows members to delete other's messages.
[Display(Name = "Manage Nicknames")] ManageNicknames = 27
Allows members to change and remove other's nicknames.
[Display(Name = "Manage Roles")] ManageRoles = 28
Allows members to create, change and grant roles lower than their highest role.
[Display(Name = "Manage Threads")] ManageThreads = 34
Allows members to manage threads.
[Display(Name = "Manage Webhooks")] ManageWebhooks = 29
Allows members to create and delete webhooks.
[Display(Name = "Mention Everyone")] MentionEveryone = 17
Allows members to mention @everyone, @here and all roles.
[Display(Name = "Moderate Members")] ModerateMembers = 40
Allows members to time out other members.
[Display(Name = "Move Members")] MoveMembers = 24
Allows members to move others between voice channels they have access to.
[Display(Name = "Mute Members")] MuteMembers = 22
Allows members to mute others in voice channels.
[Display(Name = "Priority Speaker")] PrioritySpeaker = 8
Allows members to use Priority Speaker functionality.
[Display(Name = "Read Message History")] ReadMessageHistory = 16
Allows members to read a channels' message history.
[Display(Name = "Request to Speak")] RequestToSpeak = 32
Allows members to request to speak in stage channels.
[Display(Name = "Send Messages")] SendMessages = 11
Allows members to send messages in channels and to create threads in a forum channel.
[Display(Name = "Send Polls")] SendPolls = 49
Allows members to send polls.
[Display(Name = "Send Messages in Threads")] SendThreadMessages = 38
Allows members to send messages in threads.
[Display(Name = "Send Text-to-speech Messages")] SendTtsMessages = 12
Allows members to send text-to-speech messages.
[Display(Name = "Send Voice Messages")] SendVoiceMessages = 46
Allows members to send voice messages.
[Display(Name = "Speak")] Speak = 21
Allows members to speak in voice channels.
[Display(Name = "Start Embedded Activities")] StartEmbeddedActivities = 39
Allows members to start embedded activities.
[Display(Name = "Stream")] Stream = 9
Allows members to go live in voice channels.
[Display(Name = "Use Application Commands")] UseApplicationCommands = 31
Allows members to use slash and right-click commands.
[Display(Name = "Use External Apps")] UseExternalApps = 50
Allows members to use external, user-installable apps.
[Display(Name = "Use External Emojis")] UseExternalEmojis = 18
Allows members to use emojis from other guilds.
[Display(Name = "Use External Stickers")] UseExternalStickers = 37
Allows members to use stickers from other guilds.
[Display(Name = "Use Soundboard")] UseSoundboard = 42
Allows members to use the soundboard in a voice channel.
[Display(Name = "Use Voice Activity Detection")] UseVoiceActivity = 25
Allows members to use voice activity detection instead of push-to-talk.
[Display(Name = "View Audit Log")] ViewAuditLog = 7
Allows members to access the guild's audit logs.
[Display(Name = "View Channel")] ViewChannel = 10
Allows members to view (read) channels.
[Display(Name = "View Creator Monetization Analytics")] ViewCreatorMonetizationAnalytics = 41
Allows members to view role subscription insights.
[Display(Name = "View Guild Insights")] ViewGuildInsights = 19
Allows members to access and view the Guild Insights menu.