DiscordLua
discorddiscord
v1.2.4
Install

GuildScheduledEventRecurrenceRuleMonth

Enum
On this page

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

Values

discord.GuildScheduledEventRecurrenceRuleMonth.January
1
January. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleMonth.February
2
February. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleMonth.March
3
March. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleMonth.April
4
April. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleMonth.May
5
May. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleMonth.June
6
June. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleMonth.July
7
July. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleMonth.August
8
August. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleMonth.September
9
September. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleMonth.October
10
October. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleMonth.November
11
November. Use the symbolic name in bot code rather than the raw value.
discord.GuildScheduledEventRecurrenceRuleMonth.December
12
December. Use the symbolic name in bot code rather than the raw value.

Usage

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

Example

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