Interface ClientEvents

Hierarchy

  • ClientEvents

Events

calendarEventCreate: [CalendarEvent: CalendarEvent]

Emitted when an event was added to a calendar.

calendarEventDelete: [CalendarEvent: CalendarEvent]

Emitted when a calendar event is deleted.

calendarEventRsvpDelete: [CalendarRSVP: CalendarEventRSVP]

Emitted when an event RSVP is deleted.

calendarEventRsvpUpdate: [CalendarRSVP: CalendarEventRSVP]

Emitted when an event RSVP is updated.

calendarEventUpdate: [CalendarEvent: CalendarEvent]

Emitted when a calendar event got updated.

channelCreate: [channel: Channel]

Emitted when a guild channel is created.

channelDelete: [channel: Channel]

Emitted when a guild channel is deleted.

channelUpdate: [channel: Channel]

Emitted when a guild channel is updated.

debug: [message: string | object]

Emitted when things needs to be debugged.

docCreate: [Doc: Doc]

Emitted when a doc is created.

docDelete: [DeletedDoc: Doc]

Emitted when a doc is deleted.

docUpdate: [Doc: Doc]

Emitted when a doc is edited.

error: [error: Error]

Emitted after getting an error.

exit: [message: string]

Emitted on process exit.

forumCommentCreate: [comment: ForumThreadComment]

Emitted when a thread comment is created.

forumCommentDelete: [comment: ForumThreadComment]

Emitted when forum thread is deleted.

forumCommentUpdate: [comment: ForumThreadComment]

Emitted when forum thread comment is edited.

forumThreadCreate: [thread: ForumThread]

Emitted when a forum thread is created.

forumThreadDelete: [thread: ForumThread]

Emitted when a forum thread is deleted.

forumThreadLock: [ForumThread: ForumThread]

Emitted when forum thread got locked.

forumThreadPin: [thread: ForumThread]

Emitted when a forum thread is pinned.

forumThreadUnlock: [ForumThread: ForumThread]

Emitted when forum thread got unlocked.

forumThreadUnpin: [thread: ForumThread]

Emitted when a forum thread is unpinned.

forumThreadUpdate: [thread: ForumThread]

Emitted when a forum thread is edited.

guildBanAdd: [BannedMember: BannedMember]

Emitted when a guild member got banned.

guildBanRemove: [BannedMember: BannedMember]

Emitted when guild member got unbanned.

guildCreate: [GuildCreateInfo: GuildCreateInfo]

Emitted when the client joins a guild.

guildDelete: [GuildDeleteInfo: GuildDeleteInfo]

Emitted when the client leaves a guild.

guildMemberAdd: [Member: Member]

Emitted when a member joined the server.

guildMemberRemove: [MemberRemoveInfo: MemberRemoveInfo]

Emitted when a member left the server.

guildMemberUpdate: [MemberUpdateInfo: MemberUpdateInfo]

Emitted when a member updated their guild profile. It does include role changes, nickname & more.

listItemComplete: [item: ListItem]

Emitted when a list item is completed.

listItemCreate: [item: ListItem]

Emitted when a list item is created.

listItemDelete: [item: ListItem]

Emitted when a list item is deleted.

listItemUncomplete: [item: ListItem]

Emitted when a list item is uncompleted.

listItemUpdate: [item: ListItem]

Emitted when a list item is edited.

messageCreate: [message: Message]

Emitted when a message is created in a "chat" channel.

messageDelete: [message: PossiblyUncachedMessage]

Emitted when a message coming from a "chat" channel is deleted.

messageUpdate: [message: Message, oldMessage: null | Message]

Emitted when a message coming from a "chat" channel is edited.

reactionAdd: [reactionInfo: AnyReactionInfo]

Emitted when a reaction is added to anything.

reactionRemove: [reactionInfo: AnyReactionInfo]

Emitted when a reaction is removed from anything.

ready: []

Emitted when the bot is ready.

warn: [message: string]

Emitted when something goes a little wrong.

webhooksCreate: [webhook: Webhook]

Emitted when a webhook got created.

webhooksUpdate: [webhook: Webhook]

Emitted when a webhook is deleted.