GuildScheduledEventRecurrenceRuleWeekday
EnumOn this page
discord.GuildScheduledEventRecurrenceRuleWeekday lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.GuildScheduledEventRecurrenceRuleWeekday.Monday0Monday. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleWeekday.Tuesday1Tuesday. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleWeekday.Wednesday2Wednesday. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleWeekday.Thursday3Thursday. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleWeekday.Friday4Friday. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleWeekday.Saturday5Saturday. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleWeekday.Sunday6Sunday. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.GuildScheduledEventRecurrenceRuleWeekday.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.GuildScheduledEventRecurrenceRuleWeekday.Monday)