DiscordLua
discorddiscord
v1.2.4
Install

GuildScheduledEventEntityType

Enum
On this page

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

Values

discord.GuildScheduledEventEntityType.StageInstance
1
Stage Instance. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventEntityType.Voice
2
Voice. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventEntityType.External
3
External. Use the symbolic name in bot code rather than the raw value.

Usage

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

Example

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