Skip to content

PermissionFlagsBits

const PermissionFlagsBits: object = Permissions

Defined in: packages/structures/src/permissions.ts:128

Permission flag bits with bigint values matching Discord’s permission bit positions, so bitwise composition (Flags.A | Flags.B) OR-s the bits instead of concatenating strings.

The same object as Permissions, under another name. It is a const object rather than a TS enum because enums cannot hold bigint members; the same-named union type below preserves usage as a type.

readonly AddReactions: bigint

readonly Administrator: bigint

readonly AttachFiles: bigint

readonly BanMembers: bigint

readonly BypassSlowmode: bigint

readonly ChangeNickname: bigint

readonly Connect: bigint

readonly CreateEvents: bigint

readonly CreateGuildExpressions: bigint

readonly CreateInstantInvite: bigint

readonly CreatePrivateThreads: bigint

readonly CreatePublicThreads: bigint

readonly DeafenMembers: bigint

readonly EmbedLinks: bigint

readonly KickMembers: bigint

readonly ManageChannels: bigint

readonly ManageEvents: bigint

readonly ManageGuild: bigint

readonly ManageGuildExpressions: bigint

readonly ManageMessages: bigint

readonly ManageNicknames: bigint

readonly ManageRoles: bigint

readonly ManageThreads: bigint

readonly ManageWebhooks: bigint

readonly MentionEveryone: bigint

readonly ModerateMembers: bigint

readonly MoveMembers: bigint

readonly MuteMembers: bigint

readonly PinMessages: bigint

readonly PrioritySpeaker: bigint

readonly ReadMessageHistory: bigint

readonly RequestToSpeak: bigint

readonly SendMessages: bigint

readonly SendMessagesInThreads: bigint

readonly SendPolls: bigint

readonly SendTTSMessages: bigint

readonly SendVoiceMessages: bigint

readonly SetVoiceChannelStatus: bigint

readonly Speak: bigint

readonly Stream: bigint

readonly UseApplicationCommands: bigint

readonly UseEmbeddedActivities: bigint

readonly UseExternalApps: bigint

readonly UseExternalEmojis: bigint

readonly UseExternalSounds: bigint

readonly UseExternalStickers: bigint

readonly UseSoundboard: bigint

readonly UseVAD: bigint

readonly ViewAuditLog: bigint

readonly ViewChannel: bigint

readonly ViewCreatorMonetizationAnalytics: bigint

readonly ViewGuildInsights: bigint