Struct GuildScheduledEventRecurrenceRule
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
public readonly struct GuildScheduledEventRecurrenceRule
- Inherited Members
Properties
ByMonth
Gets the set of specific months to recur on.
public IReadOnlyCollection<RecurrenceRuleMonth> ByMonth { get; }
Property Value
ByMonthDay
Gets the set of specific dates within a month to recur on.
public IReadOnlyCollection<int> ByMonthDay { get; }
Property Value
ByNWeekday
Gets the list of specific days within a specific week to recur on.
public IReadOnlyCollection<RecurrenceRuleByNWeekday> ByNWeekday { get; }
Property Value
ByWeekday
Gets the set of specific days within a week for the event to recur on.
public IReadOnlyCollection<RecurrenceRuleWeekday> ByWeekday { get; }
Property Value
ByYearDay
Gets the set of days within a year to recur on. (1-364)
public IReadOnlyCollection<int> ByYearDay { get; }
Property Value
Count
Gets the total amount of times that the event is allowed to recur before stopping.
public int? Count { get; }
Property Value
- int?
Remarks
null if the event recurs endlessly.
EndsAt
Gets the ending time of the recurrence interval.
public DateTimeOffset? EndsAt { get; }
Property Value
Frequency
Gets how often the event occurs.
public RecurrenceFrequency Frequency { get; }
Property Value
Interval
Gets the spacing between the events, defined by Frequency.
public int Interval { get; }
Property Value
StartsAt
Gets the starting time of the recurrence interval.
public DateTimeOffset StartsAt { get; }