DiscordLua
discorddiscord
v1.2.4
Install

SKUFlags

Enum
On this page

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

Values

discord.SKUFlags.Available
1 << 2
Available. Use the symbolic name in bot code rather than the raw value.
discord.SKUFlags.GuildSubscription
1 << 7
Guild Subscription. Use the symbolic name in bot code rather than the raw value.
discord.SKUFlags.UserSubscription
1 << 8
User Subscription. Use the symbolic name in bot code rather than the raw value.

Usage

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

Example

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