Search Results for

    Show / Hide Table of Contents

    Enum Permissions

    Bitwise permission flags.

    Namespace: DisCatSharp
    Assembly: DisCatSharp.dll
    Syntax
    [Flags]
    public enum Permissions : long

    Fields

    Name Description
    AccessChannels

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

    AddReactions

    Allows adding reactions to messages.

    Administrator

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

    All

    Indicates all permissions are granted

    AttachFiles

    Allows uploading files.

    BanMembers

    Allows banning and unbanning members.

    ChangeNickname

    Allows changing of own nickname.

    CreateInstantInvite

    Allows creation of instant channel invites.

    CreatePrivateThreads

    Allows for creating private threads.

    CreatePublicThreads

    Allows for creating threads.

    DeafenMembers

    Allows deafening other members in voice chat.

    EmbedLinks

    Allows embedding content in messages.

    KickMembers

    Allows kicking members.

    ManageChannels

    Allows managing channels.

    ManageEmojisAndStickers

    Allows managing guild emojis and stickers.

    ManageEvents

    Allows managing guild events.

    ManageGuild

    Allows managing the guild.

    ManageMessages

    Allows managing messages of other users.

    ManageNicknames

    Allows managing nicknames of other members.

    ManageRoles

    Allows managing roles in a guild.

    ManageThreads

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

    ManageWebhooks

    Allows managing webhooks in a guild.

    MentionEveryone

    Allows using @everyone and @here mentions.

    ModerateMembers

    Allows to perform limited moderation actions (timeout).

    MoveMembers

    Allows moving voice chat members.

    MuteMembers

    Allows muting other members in voice chat.

    None

    Indicates no permissions given. This disallows users to run application command per default.

    PrioritySpeaker

    Allows the use of priority speaker.

    ReadMessageHistory

    Allows reading message history.

    RequestToSpeak

    Allows for requesting to speak in stage channels.

    SendMessages

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

    SendMessagesInThreads

    Allows for sending messages in threads.

    SendTtsMessages

    Allows sending text-to-speech messages.

    Speak

    Allows speaking in voice chat.

    StartEmbeddedActivities

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

    Stream

    Allows the user to go live.

    UseApplicationCommands

    Allows the user to use slash commands.

    UseExternalEmojis

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

    UseExternalStickers

    Allows the usage of custom stickers from other servers.

    UseVoice

    Allows connecting to voice chat.

    UseVoiceDetection

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

    ViewAuditLog

    Allows viewing audit log entries.

    ViewGuildInsights

    Extension Methods

    PermissionMethods.HasPermission(Permissions)
    PermissionMethods.Grant(Permissions)
    PermissionMethods.Revoke(Permissions)
    Utilities.ToPermissionString()
    ReflectionUtilities.ToDictionary<Permissions>()
    ExtensionMethods.GetName<Permissions>()
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems