DiscordLua
discorddiscord
v1.2.4
Install

ApplicationFlags

Enum
On this page

discord.ApplicationFlags lists the named constants for this enumeration. Prefer these names over hardcoded literals.

Values

discord.ApplicationFlags.ApplicationAutoModerationRuleCreateBadge
1 << 6
Application Auto Moderation Rule Create Badge. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationFlags.GatewayPresence
1 << 12
Gateway Presence. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationFlags.GatewayPresenceLimited
1 << 13
Gateway Presence Limited. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationFlags.GatewayGuildMembers
1 << 14
Gateway Guild Members. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationFlags.GatewayGuildMembersLimited
1 << 15
Gateway Guild Members Limited. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationFlags.VerificationPendingGuildLimit
1 << 16
Verification Pending Guild Limit. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationFlags.Embedded
1 << 17
Embedded. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationFlags.GatewayMessageContent
1 << 18
Gateway Message Content. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationFlags.GatewayMessageContentLimited
1 << 19
Gateway Message Content Limited. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationFlags.ApplicationCommandBadge
1 << 23
Application Command Badge. Use the symbolic name in bot code rather than the raw value.

Usage

Read members as discord.ApplicationFlags.Name. Do not hard-code numeric literals when a symbolic name exists.

Example

lua
local discord = require("discord")
print(discord.ApplicationFlags.ApplicationAutoModerationRuleCreateBadge)
Search Ctrl K Navigate Open Esc