APIGuildScheduledEventRecurrenceRule

https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-recurrence-rule-object-guild-scheduled-event-recurrence-rule-structure

Signature

export interface APIGuildScheduledEventRecurrenceRule

Properties

start: string;

Starting time of the recurrence interval

end: string | null;

Ending time of the recurrence interval

interval: number;

The spacing between the events, defined by `frequency`. For example, `frequency` of {@apilink GuildScheduledEventRecurrenceRuleFrequency#Weekly} and an `interval` of `2` would be "every-other week"

by_month_day: number[] | null;

Set of specific dates within a month to recur on

by_year_day: number[] | null;

Set of days within a year to recur on (1-364)

count: number | null;

The total amount of times that the event is allowed to recur before stopping