Search Results for

    Show / Hide Table of Contents

    Enum DiscordPermission

    Represents a discord Bitwise Permission Flags API model. Docs: https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags

    Namespace: Color_Chan.Discord.Core.Common.API.DataModels
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    [Flags]
    public enum DiscordPermission : ulong

    Fields

    Name Description
    AddReactions

    Allows for the addition of reactions to messages.

    Administrator

    Allows all permissions and bypasses channel permission overwrites.

    AttachFiles

    Allows for uploading images and files.

    BanMembers

    Allows banning members.

    ChangeNickname

    Allows for modification of own nickname.

    Connect

    Allows for joining of a voice channel.

    CreateInstantInvite

    Allows creation of instant invites.

    DeafenMembers

    Allows for deafening of members in a voice channel.

    EmbedLinks

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

    KickMembers

    Allows kicking members.

    ManageChannels

    Allows management and editing of channels.

    ManageEmojisAndStickers

    Allows management and editing of emojis.

    ManageGuild

    Allows management and editing of the guild.

    ManageMessages

    Allows for deletion of other users messages.

    ManageNicknames

    Allows for modification of other users nicknames.

    ManageRoles

    Allows management and editing of roles.

    ManageThreads

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

    ManageWebhooks

    Allows management and editing of webhooks.

    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.

    ModerateMembers

    Allows for timing out users to prevent them from sending or reacting to messages in chat and threads, and from speaking in voice and stage channels

    MoveMembers

    Allows for moving of members between voice channels.

    MuteMembers

    Allows for muting members in a voice channel.

    None

    A DiscordPermission with no permissions.

    PrioritySpeaker

    Allows for using priority speaker in a voice channel.

    ReadMessageHistory

    Allows for reading of message history.

    RequestToSpeak

    Allows for requesting to speak in stage channels. (This permission is under active development and may be changed or removed.)

    SendMessages

    Allows for sending messages in a channel.

    SendMessagesInThreads

    Allows for sending messages in threads.

    SendTtsMessages

    Allows for sending of /tts messages.

    Speak

    Allows for speaking in a voice channel.

    Stream

    Allows the user to go live.

    UseApplicationCommands

    Allows members to use slash commands in text channels.

    UseEmbeddedActivities

    Allows for using Activities (applications with the EMBEDDED flag) in a voice channel.

    UseExternalEmojis

    Allows the usage of custom emojis from other servers.

    UseExternalStickers

    Allows the usage of custom stickers from other servers.

    UsePrivateThreads

    Allows for creating and participating in private threads.

    UsePublicThreads

    Allows for creating and participating in threads.

    UseVoiceActivity

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

    ViewAuditLog

    Allows for viewing of audit logs.

    ViewChannel

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

    ViewGuildInsights

    Allows for viewing guild insights.

    Extension Methods

    DiscordPermissionExtensions.ConvertToString()
    DiscordPermissionExtensions.ToList()
    DiscordPermissionExtensions.ToReadableString()
    DiscordPermissionExtensions.HasChannelPermissions()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX