Skip to main content

EventData

Index

Properties

optionaldisplayAllTimes

displayAllTimes?: boolean

Whether to display all their occurrence times in the embed

optionalduration

duration?: number

Approximate duration of the event during which its active after it starts (in minutes)

index

index: number

The index of the event to appear on the embed

optionalinfographic

infographic?: { by: string; image: string }

Infographic related to the event, if any (Discord link)


Type declaration

  • by: string

    Credit

  • image: string

    The guide

optionalinterval

interval?: number

The interval at which the event occurs (in minutes)

name

name: string

Name of the event

optionaloccursOn

occursOn?: { dayOfTheMonth?: number; weekDays?: number[] }

The days on which the event occurs


Type declaration

  • optionaldayOfTheMonth?: number

    The day on which the event occurs

  • optionalweekDays?: number[]

    Weekdays on which the event occurs

offset

offset: number

The Offset of the event (in minutes)