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