Skip to main content

ScheduledEventRecurrenceRule

@discordeno/bot


Documentation / @discordeno/bot / ScheduledEventRecurrenceRule

Interface: ScheduledEventRecurrenceRule

Defined in: packages/bot/src/transformers/types.ts:1514

Properties

byMonth

byMonth: null | DiscordScheduledEventRecurrenceRuleMonth[]

Defined in: packages/bot/src/transformers/types.ts:1528

Set of specific months to recur on


byMonthDay

byMonthDay: null | number[]

Defined in: packages/bot/src/transformers/types.ts:1530

Set of specific dates within a month to recur on


byNWeekday

byNWeekday: null | DiscordScheduledEventRecurrenceRuleNWeekday[]

Defined in: packages/bot/src/transformers/types.ts:1526

List of specific days within a specific week (1-5) to recur on


byWeekday

byWeekday: null | DiscordScheduledEventRecurrenceRuleWeekday[]

Defined in: packages/bot/src/transformers/types.ts:1524

Set of specific days within a week for the event to recur on


byYearDay

byYearDay: null | number[]

Defined in: packages/bot/src/transformers/types.ts:1532

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


count

count: null | number

Defined in: packages/bot/src/transformers/types.ts:1534

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


end

end: null | number

Defined in: packages/bot/src/transformers/types.ts:1518

Ending time of the recurrence interval


frequency

frequency: DiscordScheduledEventRecurrenceRuleFrequency

Defined in: packages/bot/src/transformers/types.ts:1520

How often the event occurs


interval

interval: number

Defined in: packages/bot/src/transformers/types.ts:1522

The spacing between the events, defined by frequency. For example, frequency of Weekly and an interval of 2 would be "every-other week"


start

start: number

Defined in: packages/bot/src/transformers/types.ts:1516

Starting time of the recurrence interval