PermissionFlagsBits
EnumOn this page
discord.PermissionFlagsBits lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.PermissionFlagsBits.CreateInstantInvite1 << 0Create Instant Invite. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.KickMembers1 << 1Kick Members. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.BanMembers1 << 2Ban Members. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.Administrator1 << 3Administrator. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ManageChannels1 << 4Manage Channels. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ManageGuild1 << 5Manage Guild. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.AddReactions1 << 6Add Reactions. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ViewAuditLog1 << 7View Audit Log. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.PrioritySpeaker1 << 8Priority Speaker. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.Stream1 << 9Stream. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ViewChannel1 << 10View Channel. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.SendMessages1 << 11Send Messages. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.SendTTSMessages1 << 12Send TTSMessages. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ManageMessages1 << 13Manage Messages. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.EmbedLinks1 << 14Embed Links. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.AttachFiles1 << 15Attach Files. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ReadMessageHistory1 << 16Read Message History. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.MentionEveryone1 << 17Mention Everyone. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.UseExternalEmojis1 << 18Use External Emojis. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ViewGuildInsights1 << 19View Guild Insights. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.Connect1 << 20Connect. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.Speak1 << 21Speak. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.MuteMembers1 << 22Mute Members. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.DeafenMembers1 << 23Deafen Members. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.MoveMembers1 << 24Move Members. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.UseVAD1 << 25Use VAD. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ChangeNickname1 << 26Change Nickname. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ManageNicknames1 << 27Manage Nicknames. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ManageRoles1 << 28Manage Roles. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ManageWebhooks1 << 29Manage Webhooks. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ManageGuildExpressions1 << 30Manage Guild Expressions. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.UseApplicationCommands1 << 31Use Application Commands. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.RequestToSpeak1 << 32Request To Speak. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ManageEvents1 << 33Manage Events. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ManageThreads1 << 34Manage Threads. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.CreatePublicThreads1 << 35Create Public Threads. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.CreatePrivateThreads1 << 36Create Private Threads. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.UseExternalStickers1 << 37Use External Stickers. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.SendMessagesInThreads1 << 38Send Messages In Threads. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.UseEmbeddedActivities1 << 39Use Embedded Activities. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ModerateMembers1 << 40Moderate Members. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.ViewCreatorMonetizationAnalytics1 << 41View Creator Monetization Analytics. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.UseSoundboard1 << 42Use Soundboard. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.CreateGuildExpressions1 << 43Create Guild Expressions. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.CreateEvents1 << 44Create Events. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.UseExternalSounds1 << 45Use External Sounds. Use the symbolic name in bot code rather than the raw value.
discord.PermissionFlagsBits.SendVoiceMessages1 << 46Send Voice Messages. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.PermissionFlagsBits.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.PermissionFlagsBits.CreateInstantInvite)