CalendarEvent represents an event coming from a calendar channel.

Hierarchy

  • Base<number>
    • CalendarEvent

Constructors

Properties

cancelation: undefined | null | {
    createdBy: string;
    description?: string;
}

Details about event cancelation (if canceled)

channelID: string

ID of the channel the event was created on.

client: Client

Bot's client.

color: null | number

Event color in calendar.

Cached Comments

createdAt: null | Date

When the event was created.

Raw data

description: null | string

Event's description

duration: number

Duration in ms of the event.

guildID: string

Guild/server ID

id: number

Item ID

isPrivate: boolean

If true, this event is private.

location: null | string

Event user-specified location

mentions: null | APIMentions

Mentions in this calendar event.

name: string

Name of the event

ownerID: string

ID of the owner of this event.

rsvpLimit: null | number

Limit of event entry.

Cached RSVPS.

startsAt: null | Date

Timestamp (unix epoch time) of the event starting time.

url: null | string

Event user-specified url

Accessors

Methods