Table of Contents

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

IReadOnlyCollection<RecurrenceRuleMonth>

ByMonthDay

Gets the set of specific dates within a month to recur on.

public IReadOnlyCollection<int> ByMonthDay { get; }

Property Value

IReadOnlyCollection<int>

ByNWeekday

Gets the list of specific days within a specific week to recur on.

public IReadOnlyCollection<RecurrenceRuleByNWeekday> ByNWeekday { get; }

Property Value

IReadOnlyCollection<RecurrenceRuleByNWeekday>

ByWeekday

Gets the set of specific days within a week for the event to recur on.

public IReadOnlyCollection<RecurrenceRuleWeekday> ByWeekday { get; }

Property Value

IReadOnlyCollection<RecurrenceRuleWeekday>

ByYearDay

Gets the set of days within a year to recur on. (1-364)

public IReadOnlyCollection<int> ByYearDay { get; }

Property Value

IReadOnlyCollection<int>

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

DateTimeOffset?

Frequency

Gets how often the event occurs.

public RecurrenceFrequency Frequency { get; }

Property Value

RecurrenceFrequency

Interval

Gets the spacing between the events, defined by Frequency.

public int Interval { get; }

Property Value

int

StartsAt

Gets the starting time of the recurrence interval.

public DateTimeOffset StartsAt { get; }

Property Value

DateTimeOffset