ClientEvents

export interface ClientEvents
export interface ClientEvents

No summary provided.

applicationCommandPermissionsUpdate:[data: ApplicationCommandPermissionsUpdateData]
autoModerationActionExecution:[autoModerationActionExecution: AutoModerationActionExecution]
autoModerationRuleCreate:[autoModerationRule: AutoModerationRule]
autoModerationRuleDelete:[autoModerationRule: AutoModerationRule]
autoModerationRuleUpdate:[ oldAutoModerationRule: AutoModerationRule | null, newAutoModerationRule: AutoModerationRule, ]
cacheSweep:[message: string]
channelCreate:[channel: NonThreadGuildBasedChannel]
channelDelete:[channel: DMChannel | NonThreadGuildBasedChannel]
channelPinsUpdate:[channel: TextBasedChannel, date: Date]
channelUpdate:[ oldChannel: DMChannel | NonThreadGuildBasedChannel, newChannel: DMChannel | NonThreadGuildBasedChannel, ]
debug:[message: string]
emojiCreate:[emoji: GuildEmoji]
emojiDelete:[emoji: GuildEmoji]
emojiUpdate:[oldEmoji: GuildEmoji, newEmoji: GuildEmoji]
error:[error: Error]
guildAuditLogEntryCreate:[auditLogEntry: GuildAuditLogsEntry, guild: Guild]
guildAvailable:[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]
guildMembersChunk:[ members: Collection<Snowflake, GuildMember>, guild: Guild, data: { index: number; count: number; notFound: unknown[]; nonce: string | undefined }, ]
guildMemberUpdate:[oldMember: GuildMember | PartialGuildMember, newMember: GuildMember]
guildScheduledEventCreate:[guildScheduledEvent: GuildScheduledEvent]
guildScheduledEventDelete:[guildScheduledEvent: GuildScheduledEvent | PartialGuildScheduledEvent]
guildScheduledEventUpdate:[ oldGuildScheduledEvent: GuildScheduledEvent | PartialGuildScheduledEvent | null, newGuildScheduledEvent: GuildScheduledEvent, ]
guildScheduledEventUserAdd:[guildScheduledEvent: GuildScheduledEvent | PartialGuildScheduledEvent, user: User]
guildScheduledEventUserRemove:[guildScheduledEvent: GuildScheduledEvent | PartialGuildScheduledEvent, user: User]
guildUnavailable:[guild: Guild]
guildUpdate:[oldGuild: Guild, newGuild: Guild]
interactionCreate:[interaction: Interaction]
invalidated:[]
inviteCreate:[invite: Invite]
inviteDelete:[invite: Invite]
messageCreate:[message: Message]
messageDelete:[message: Message | PartialMessage]
messageDeleteBulk:[messages: Collection<Snowflake, Message | PartialMessage>, channel: GuildTextBasedChannel]
messageReactionAdd:[reaction: MessageReaction | PartialMessageReaction, user: User | PartialUser]
messageReactionRemove:[reaction: MessageReaction | PartialMessageReaction, user: User | PartialUser]
messageReactionRemoveAll:[ message: Message | PartialMessage, reactions: Collection<string | Snowflake, MessageReaction>, ]
messageReactionRemoveEmoji:[reaction: MessageReaction | PartialMessageReaction]
messageUpdate:[oldMessage: Message | PartialMessage, newMessage: Message | PartialMessage]
presenceUpdate:[oldPresence: Presence | null, newPresence: Presence]
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<Snowflake> | undefined]
shardReconnecting:[shardId: number]
shardResume:[shardId: number, replayedEvents: number]
stageInstanceCreate:[stageInstance: StageInstance]
stageInstanceDelete:[stageInstance: StageInstance]
stageInstanceUpdate:[oldStageInstance: StageInstance | null, newStageInstance: StageInstance]
stickerCreate:[sticker: Sticker]
stickerDelete:[sticker: Sticker]
stickerUpdate:[oldSticker: Sticker, newSticker: Sticker]
threadCreate:[thread: AnyThreadChannel, newlyCreated: boolean]
threadDelete:[thread: AnyThreadChannel]
threadListSync:[threads: Collection<Snowflake, AnyThreadChannel>, guild: Guild]
threadMembersUpdate:[ addedMembers: Collection<Snowflake, ThreadMember>, removedMembers: Collection<Snowflake, ThreadMember | PartialThreadMember>, thread: AnyThreadChannel, ]
threadMemberUpdate:[oldMember: ThreadMember, newMember: ThreadMember]
threadUpdate:[oldThread: AnyThreadChannel, newThread: AnyThreadChannel]
typingStart:[typing: Typing]
userUpdate:[oldUser: User | PartialUser, newUser: User]
voiceStateUpdate:[oldState: VoiceState, newState: VoiceState]
warn:[message: string]
Deprecated
webhookUpdate:ClientEvents['webhooksUpdate']
Use instead.
Deprecated