The events handled by the ExtendedClient.

Hierarchy

  • ClientEvents
    • ExtendedClientEvents

Properties

applicationCommandPermissionsUpdate: [data: ApplicationCommandPermissionsUpdateData]
autoModerationActionExecution: [autoModerationActionExecution: AutoModerationActionExecution]
autoModerationRuleCreate: [autoModerationRule: AutoModerationRule]
autoModerationRuleDelete: [autoModerationRule: AutoModerationRule]
autoModerationRuleUpdate: [oldAutoModerationRule: null | AutoModerationRule, newAutoModerationRule: AutoModerationRule]
cacheSweep: [message: string]
channelCreate: [channel: NonThreadGuildBasedChannel]
channelDelete: [channel: DMChannel | NonThreadGuildBasedChannel]
channelPinsUpdate: [channel: TextBasedChannel, date: Date]
channelUpdate: [oldChannel: DMChannel | NonThreadGuildBasedChannel, newChannel: DMChannel | NonThreadGuildBasedChannel]
commandError: [unknown, Command<CommandTrigger>, CommandTrigger]

Emitted whenever a command's execution throws.

Emitted whenever a command is executed.

commandRegistered: [Command<CommandTrigger>]

Emitted whenever a command is registered to this client's command registry.

commandsDeployed: [SlashCommand[], null | string]

Emitted whenever slash commands have been deployed.

dataProviderAdd: [DataProvider]

Emitted whenever the data provider is added to this client.

dataProviderClear: [null | Guild]

Emitted whenever the client's data provider is cleared.

dataProviderDestroy: [DataProvider]

Emitted whenever the client's data provider is destroyed.

dataProviderInit: [DataProvider]

Emitted whenever the client's data provider is initialized.

debug: [message: string]
emojiCreate: [emoji: GuildEmoji]
emojiDelete: [emoji: GuildEmoji]
emojiUpdate: [oldEmoji: GuildEmoji, newEmoji: GuildEmoji]
error: [error: Error]
groupRegistered: [CommandGroup]

Emitted whenever a command group is registered to this client's command registry.

guildAuditLogEntryCreate: [auditLogEntry: GuildAuditLogsEntry<AuditLogEvent, GuildAuditLogsActionType, GuildAuditLogsTargetType, AuditLogEvent>, guild: Guild]
guildBanAdd: [ban: GuildBan]
guildBanRemove: [ban: GuildBan]
guildCreate: [guild: Guild]
guildDelete: [guild: Guild]
guildIntegrationsUpdate: [guild: Guild]
guildMemberAdd: [member: GuildMember]
guildMemberAvailable: [member: GuildMember | PartialGuildMember]
guildMemberRemove: [member: GuildMember | PartialGuildMember]
guildMemberUpdate: [oldMember: GuildMember | PartialGuildMember, newMember: GuildMember]
guildMembersChunk: [members: Collection<string, GuildMember>, guild: Guild, data: {
    count: number;
    index: number;
    nonce: undefined | string;
    notFound: unknown[];
}]
guildScheduledEventCreate: [guildScheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus>]
guildScheduledEventDelete: [guildScheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus>]
guildScheduledEventUpdate: [oldGuildScheduledEvent: null | GuildScheduledEvent<GuildScheduledEventStatus>, newGuildScheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus>]
guildScheduledEventUserAdd: [guildScheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus>, user: User]
guildScheduledEventUserRemove: [guildScheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus>, user: User]
guildUnavailable: [guild: Guild]
guildUpdate: [oldGuild: Guild, newGuild: Guild]
interactionCreate: [interaction: Interaction<CacheType>]
invalidated: []
inviteCreate: [invite: Invite]
inviteDelete: [invite: Invite]
messageCreate: [message: Message<boolean>]
messageDelete: [message: Message<boolean> | PartialMessage]
messageDeleteBulk: [messages: Collection<string, Message<boolean> | PartialMessage>, channel: GuildTextBasedChannel]
messageReactionAdd: [reaction: MessageReaction | PartialMessageReaction, user: User | PartialUser]
messageReactionRemove: [reaction: MessageReaction | PartialMessageReaction, user: User | PartialUser]
messageReactionRemoveAll: [message: Message<boolean> | PartialMessage, reactions: Collection<string, MessageReaction>]
messageReactionRemoveEmoji: [reaction: MessageReaction | PartialMessageReaction]
messageUpdate: [oldMessage: Message<boolean> | PartialMessage, newMessage: Message<boolean> | PartialMessage]
presenceRefreshInterval: [null | number]

Emitted whenever this client's presence manager updates its presence refresh interval.

presenceUpdate: [oldPresence: null | Presence, newPresence: Presence]
presenceUpdateError: [unknown, string, PresenceData]

Emitted whenever updating this client's presence status throws.

presenceUpdated: [string, PresenceData]

Emitted whenever this client's presence status is updated.

ready: [client: Client<true>]
roleCreate: [role: Role]
roleDelete: [role: Role]
roleUpdate: [oldRole: Role, newRole: Role]
shardDisconnect: [closeEvent: CloseEvent, shardId: number]
shardError: [error: Error, shardId: number]
shardReady: [shardId: number, unavailableGuilds: Set<string>]
shardReconnecting: [shardId: number]
shardResume: [shardId: number, replayedEvents: number]
stageInstanceCreate: [stageInstance: StageInstance]
stageInstanceDelete: [stageInstance: StageInstance]
stageInstanceUpdate: [oldStageInstance: null | StageInstance, newStageInstance: StageInstance]
stickerCreate: [sticker: Sticker]
stickerDelete: [sticker: Sticker]
stickerUpdate: [oldSticker: Sticker, newSticker: Sticker]
threadCreate: [thread: AnyThreadChannel<boolean>, newlyCreated: boolean]
threadDelete: [thread: AnyThreadChannel<boolean>]
threadListSync: [threads: Collection<string, AnyThreadChannel<boolean>>, guild: Guild]
threadMemberUpdate: [oldMember: ThreadMember<boolean>, newMember: ThreadMember<boolean>]
threadMembersUpdate: [addedMembers: Collection<string, ThreadMember<boolean>>, removedMembers: Collection<string, ThreadMember<boolean> | PartialThreadMember>, thread: AnyThreadChannel<boolean>]
threadUpdate: [oldThread: AnyThreadChannel<boolean>, newThread: AnyThreadChannel<boolean>]
typingStart: [typing: Typing]
userUpdate: [oldUser: User | PartialUser, newUser: User]
voiceStateUpdate: [oldState: VoiceState, newState: VoiceState]
warn: [message: string]
webhookUpdate: [channel: NewsChannel | TextChannel | VoiceChannel | ForumChannel]

Generated using TypeDoc