Interface ClientEvents

Every client events.

Hierarchy

  • ClientEvents

Events

announcementCommentCreate: [comment: AnnouncementComment]

Emitted when a comment is created inside an announcement.

announcementCommentDelete: [comment: AnnouncementComment]

Emitted when a comment within an announcement is deleted.

announcementCommentUpdate: [comment: AnnouncementComment, oldComment: null | JSONAnnouncementComment]

Emitted when a comment within an announcement is updated.

announcementCreate: [announcement: Announcement]

Emitted when an announcement coming from an Announcement channel is created.

announcementDelete: [announcement: Announcement]

Emitted when an announcement coming from an Announcement channel is deleted.

announcementUpdate: [announcement: Announcement, oldAnnouncement: null | JSONAnnouncement]

Emitted when an announcement coming from an Announcement channel is updated.

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.

calendarEventRsvpBulkUpdate: [CalendarRSVPs: CalendarEventRSVP[], oldRSVPs: (null | JSONCalendarEventRSVP)[]]

Emitted when multiple event RSVPs are updated.

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.

guildGroupCreate: [guildGroup: GuildGroup]

Emitted when a guild group is created.

guildGroupDelete: [guildGroup: GuildGroup]

Emitted when a guild group is deleted.

guildGroupUpdate: [guildGroup: GuildGroup, oldGuildGroup: null | JSONGuildGroup]

Emitted when a guild group is updated.

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.

guildRoleCreate: [role: GuildRole]

Emitted when a guild role is created.

guildRoleDelete: [role: GuildRole]

Emitted when a guild role is deleted.

guildRoleUpdate: [role: GuildRole, oldRole: null | JSONGuildRole]

Emitted when a guild role is updated.

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.

reactionBulkRemove: [bulkInfo: ChannelMessageReactionBulkRemove]

Emitted when a bulk reaction remove is performed.

reactionRemove: [reactionInfo: AnyReactionInfo]

Emitted when a reaction is removed from anything.

ready: []

Emitted when the bot is ready.

userStatusCreate: [userStatus: UserStatusCreate]

Emitted when a user updates their user status.

userStatusDelete: [userStatus: UserStatusDelete]

Emitted when a user delete their user status.

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.