GuildScheduledEventStatus
EnumOn this page
discord.GuildScheduledEventStatus lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.GuildScheduledEventStatus.Scheduled1Scheduled. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventStatus.Active2Active. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventStatus.Completed3Completed. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventStatus.Canceled4Canceled. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.GuildScheduledEventStatus.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.GuildScheduledEventStatus.Scheduled)