Discord.https - v3.0.16
    Preparing search index...

    Variable PermissionFlagsBitsConst

    PermissionFlagsBits: {
        AddReactions: bigint;
        Administrator: bigint;
        AttachFiles: bigint;
        BanMembers: bigint;
        ChangeNickname: bigint;
        Connect: bigint;
        CreateEvents: bigint;
        CreateGuildExpressions: bigint;
        CreateInstantInvite: bigint;
        CreatePrivateThreads: bigint;
        CreatePublicThreads: bigint;
        DeafenMembers: bigint;
        EmbedLinks: bigint;
        KickMembers: bigint;
        ManageChannels: bigint;
        ManageEmojisAndStickers: bigint;
        ManageEvents: bigint;
        ManageGuild: bigint;
        ManageGuildExpressions: bigint;
        ManageMessages: bigint;
        ManageNicknames: bigint;
        ManageRoles: bigint;
        ManageThreads: bigint;
        ManageWebhooks: bigint;
        MentionEveryone: bigint;
        ModerateMembers: bigint;
        MoveMembers: bigint;
        MuteMembers: bigint;
        PinMessages: bigint;
        PrioritySpeaker: bigint;
        ReadMessageHistory: bigint;
        RequestToSpeak: bigint;
        SendMessages: bigint;
        SendMessagesInThreads: bigint;
        SendPolls: bigint;
        SendTTSMessages: bigint;
        SendVoiceMessages: bigint;
        Speak: bigint;
        Stream: bigint;
        UseApplicationCommands: bigint;
        UseEmbeddedActivities: bigint;
        UseExternalApps: bigint;
        UseExternalEmojis: bigint;
        UseExternalSounds: bigint;
        UseExternalStickers: bigint;
        UseSoundboard: bigint;
        UseVAD: bigint;
        ViewAuditLog: bigint;
        ViewChannel: bigint;
        ViewCreatorMonetizationAnalytics: bigint;
        ViewGuildInsights: bigint;
    }

    Type Declaration

    • ReadonlyAddReactions: bigint

      Allows for the addition of reactions to messages

      Applies to channel types: Text, Voice, Stage

    • ReadonlyAdministrator: bigint

      Allows all permissions and bypasses channel permission overwrites

    • ReadonlyAttachFiles: bigint

      Allows for uploading images and files

      Applies to channel types: Text, Voice, Stage

    • ReadonlyBanMembers: bigint

      Allows banning members

    • ReadonlyChangeNickname: bigint

      Allows for modification of own nickname

    • ReadonlyConnect: bigint

      Allows for joining of a voice channel

      Applies to channel types: Voice, Stage

    • ReadonlyCreateEvents: bigint

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

      Applies to channel types: Voice, Stage

    • ReadonlyCreateGuildExpressions: bigint

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

    • ReadonlyCreateInstantInvite: bigint

      Allows creation of instant invites

      Applies to channel types: Text, Voice, Stage

    • ReadonlyCreatePrivateThreads: bigint

      Allows for creating private threads

      Applies to channel types: Text

    • ReadonlyCreatePublicThreads: bigint

      Allows for creating public and announcement threads

      Applies to channel types: Text

    • ReadonlyDeafenMembers: bigint

      Allows for deafening of members in a voice channel

      Applies to channel types: Voice

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

      Applies to channel types: Text, Voice, Stage

    • ReadonlyKickMembers: bigint

      Allows kicking members

    • ReadonlyManageChannels: bigint

      Allows management and editing of channels

      Applies to channel types: Text, Voice, Stage

    • ReadonlyManageEmojisAndStickers: bigint

      Allows management and editing of emojis, stickers, and soundboard sounds

      This is the old name for PermissionFlagsBits.ManageGuildExpressions

    • ReadonlyManageEvents: bigint

      Allows for editing and deleting scheduled events created by all users

      Applies to channel types: Voice, Stage

    • ReadonlyManageGuild: bigint

      Allows management and editing of the guild

    • ReadonlyManageGuildExpressions: bigint

      Allows for editing and deleting emojis, stickers, and soundboard sounds created by all users

    • ReadonlyManageMessages: bigint

      Allows for deletion of other users messages

      Applies to channel types: Text, Voice, Stage

    • ReadonlyManageNicknames: bigint

      Allows for modification of other users nicknames

    • ReadonlyManageRoles: bigint

      Allows management and editing of roles

      Applies to channel types: Text, Voice, Stage

    • ReadonlyManageThreads: bigint

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

      Applies to channel types: Text

    • ReadonlyManageWebhooks: bigint

      Allows management and editing of webhooks

      Applies to channel types: Text, Voice, Stage

    • ReadonlyMentionEveryone: bigint

      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

      Applies to channel types: Text, Voice, Stage

    • ReadonlyModerateMembers: bigint

      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

    • ReadonlyMoveMembers: bigint

      Allows for moving of members between voice channels

      Applies to channel types: Voice, Stage

    • ReadonlyMuteMembers: bigint

      Allows for muting members in a voice channel

      Applies to channel types: Voice, Stage

    • ReadonlyPinMessages: bigint

      Allows pinning and unpinning messages

      Applies to channel types: Text

    • ReadonlyPrioritySpeaker: bigint

      Allows for using priority speaker in a voice channel

      Applies to channel types: Voice

    • ReadonlyReadMessageHistory: bigint

      Allows for reading of message history

      Applies to channel types: Text, Voice, Stage

    • ReadonlyRequestToSpeak: bigint

      Allows for requesting to speak in stage channels

      Applies to channel types: Stage

    • ReadonlySendMessages: bigint

      Allows for sending messages in a channel and creating threads in a forum (does not allow sending messages in threads)

      Applies to channel types: Text, Voice, Stage

    • ReadonlySendMessagesInThreads: bigint

      Allows for sending messages in threads

      Applies to channel types: Text

    • ReadonlySendPolls: bigint

      Allows sending polls

      Applies to channel types: Text, Voice, Stage

    • ReadonlySendTTSMessages: bigint

      Allows for sending of /tts messages

      Applies to channel types: Text, Voice, Stage

    • ReadonlySendVoiceMessages: bigint

      Allows sending voice messages

      Applies to channel types: Text, Voice, Stage

    • ReadonlySpeak: bigint

      Allows for speaking in a voice channel

      Applies to channel types: Voice

    • ReadonlyStream: bigint

      Allows the user to go live

      Applies to channel types: Voice, Stage

    • ReadonlyUseApplicationCommands: bigint

      Allows members to use application commands, including slash commands and context menu commands

      Applies to channel types: Text, Voice, Stage

    • ReadonlyUseEmbeddedActivities: bigint

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

      Applies to channel types: Voice

    • ReadonlyUseExternalApps: bigint

      Allows 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

      Applies to channel types: Text, Voice, Stage

    • ReadonlyUseExternalEmojis: bigint

      Allows the usage of custom emojis from other servers

      Applies to channel types: Text, Voice, Stage

    • ReadonlyUseExternalSounds: bigint

      Allows the usage of custom soundboard sounds from other servers

      Applies to channel types: Voice

    • ReadonlyUseExternalStickers: bigint

      Allows the usage of custom stickers from other servers

      Applies to channel types: Text, Voice, Stage

    • ReadonlyUseSoundboard: bigint

      Allows for using soundboard in a voice channel

      Applies to channel types: Voice

    • ReadonlyUseVAD: bigint

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

      Applies to channel types: Voice

    • ReadonlyViewAuditLog: bigint

      Allows for viewing of audit logs

    • ReadonlyViewChannel: bigint

      Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels

      Applies to channel types: Text, Voice, Stage

    • ReadonlyViewCreatorMonetizationAnalytics: bigint

      Allows for viewing role subscription insights

    • ReadonlyViewGuildInsights: bigint

      Allows for viewing guild insights

    https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags

    These flags are exported as BigInts and NOT numbers. Wrapping them in Number() may cause issues, try to use BigInts as much as possible or modules that can replicate them in some way