Interface ClientEvents

Hierarchy

  • ClientEvents

Events

calendarCommentCreate: [comment: CalendarEventComment]

Emitted when a calendar event comment is created.

calendarCommentDelete: [comment: CalendarEventComment]

Emitted when a calendar event comment is deleted.

calendarCommentUpdate: [comment: CalendarEventComment, oldComment: null | JSONCalendarEventComment]

Emitted when a calendar event comment is edited.

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, oldRSVP: null | JSONCalendarEventRSVP]

Emitted when an event RSVP is updated.

calendarEventUpdate: [CalendarEvent: CalendarEvent, oldEvent: null | JSONCalendarEvent]

Emitted when a calendar event got updated.

channelCreate: [channel: AnyChannel]

Emitted when a guild channel is created.

channelDelete: [channel: AnyChannel]

Emitted when a guild channel is deleted.

channelUpdate: [channel: TextChannel, oldChannel: null | JSONTextChannel] | [channel: ForumChannel, oldChannel: null | JSONForumChannel] | [channel: CalendarChannel, oldChannel: null | JSONCalendarChannel] | [channel: DocChannel, oldChannel: null | JSONDocChannel] | [channel: GuildChannel, oldChannel: null | JSONGuildChannel] | [channel: Channel, oldChannel: null | JSONChannel]

Emitted when a guild channel is updated.

debug: [message: string | object]

Emitted when things needs to be debugged.

docCommentCreate: [comment: DocComment]

Emitted when a doc comment is created.

docCommentDelete: [comment: DocComment]

Emitted when a doc comment is deleted.

docCommentUpdate: [comment: DocComment, oldComment: null | JSONDocComment]

Emitted when a doc comment is edited.

docCreate: [Doc: Doc]

Emitted when a doc is created.

docDelete: [DeletedDoc: Doc]

Emitted when a doc is deleted.

docUpdate: [Doc: Doc, oldDoc: null | JSONDoc]

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, oldComment: null | JSONForumThreadComment]

Emitted when forum thread comment is edited.

forumThreadCreate: [thread: ForumThread<ForumChannel>]

Emitted when a forum thread is created.

forumThreadDelete: [thread: ForumThread<ForumChannel>]

Emitted when a forum thread is deleted.

forumThreadLock: [ForumThread: ForumThread<ForumChannel>]

Emitted when forum thread got locked.

forumThreadPin: [thread: ForumThread<ForumChannel>]

Emitted when a forum thread is pinned.

forumThreadUnlock: [ForumThread: ForumThread<ForumChannel>]

Emitted when forum thread got unlocked.

forumThreadUnpin: [thread: ForumThread<ForumChannel>]

Emitted when a forum thread is unpinned.

forumThreadUpdate: [thread: ForumThread<ForumChannel>, oldThread: null | JSONForumThread]

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<TextChannel>]

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<TextChannel>, oldMessage: null | JSONMessage]

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.