export interface ClientEvents
[data: ApplicationCommandPermissionsUpdateData] applicationCommandPermissionsUpdate :
[autoModerationActionExecution: AutoModerationActionExecution] autoModerationActionExecution :
[autoModerationRule: AutoModerationRule] autoModerationRuleCreate :
[autoModerationRule: AutoModerationRule] autoModerationRuleDelete :
[ oldAutoModerationRule: AutoModerationRule | null, newAutoModerationRule: AutoModerationRule, ] autoModerationRuleUpdate :
[message: string] cacheSweep :
[channel: NonThreadGuildBasedChannel] channelCreate :
[channel: DMChannel | NonThreadGuildBasedChannel] channelDelete :
[channel: TextBasedChannel, date: Date] channelPinsUpdate :
[ oldChannel: DMChannel | NonThreadGuildBasedChannel, newChannel: DMChannel | NonThreadGuildBasedChannel, ] channelUpdate :
[message: string] debug :
[emoji: GuildEmoji] emojiCreate :
[emoji: GuildEmoji] emojiDelete :
[oldEmoji: GuildEmoji, newEmoji: GuildEmoji] emojiUpdate :
[error: Error] error :
[auditLogEntry: GuildAuditLogsEntry, guild: Guild] guildAuditLogEntryCreate :
[guild: Guild] guildAvailable :
[ban: GuildBan] guildBanAdd :
[ban: GuildBan] guildBanRemove :
[guild: Guild] guildCreate :
[guild: Guild] guildDelete :
[guild: Guild] guildIntegrationsUpdate :
[member: GuildMember] guildMemberAdd :
[member: GuildMember | PartialGuildMember] guildMemberAvailable :
[member: GuildMember | PartialGuildMember] guildMemberRemove :
[ members: Collection<Snowflake, GuildMember>, guild: Guild, data: { index: number; count: number; notFound: unknown[]; nonce: string | undefined }, ] guildMembersChunk :
[oldMember: GuildMember | PartialGuildMember, newMember: GuildMember] guildMemberUpdate :
[guildScheduledEvent: GuildScheduledEvent] guildScheduledEventCreate :
[guildScheduledEvent: GuildScheduledEvent | PartialGuildScheduledEvent] guildScheduledEventDelete :
[ oldGuildScheduledEvent: GuildScheduledEvent | PartialGuildScheduledEvent | null, newGuildScheduledEvent: GuildScheduledEvent, ] guildScheduledEventUpdate :
[guildScheduledEvent: GuildScheduledEvent | PartialGuildScheduledEvent, user: User] guildScheduledEventUserAdd :
[guildScheduledEvent: GuildScheduledEvent | PartialGuildScheduledEvent, user: User] guildScheduledEventUserRemove :
[guild: Guild] guildUnavailable :
[interaction: Interaction] interactionCreate :
[invite: Invite] inviteCreate :
[invite: Invite] inviteDelete :
[message: Message] messageCreate :
[message: Message | PartialMessage] messageDelete :
[messages: Collection<Snowflake, Message | PartialMessage>, channel: GuildTextBasedChannel] messageDeleteBulk :
[reaction: MessageReaction | PartialMessageReaction, user: User | PartialUser] messageReactionAdd :
[reaction: MessageReaction | PartialMessageReaction, user: User | PartialUser] messageReactionRemove :
[ message: Message | PartialMessage, reactions: Collection<string | Snowflake, MessageReaction>, ] messageReactionRemoveAll :
[reaction: MessageReaction | PartialMessageReaction] messageReactionRemoveEmoji :
[oldMessage: Message | PartialMessage, newMessage: Message | PartialMessage] messageUpdate :
[client: Client<true>] ready :
[role: Role] roleCreate :
[role: Role] roleDelete :
[closeEvent: CloseEvent, shardId: number] shardDisconnect :
[shardId: number] shardReconnecting :
[stageInstance: StageInstance] stageInstanceCreate :
[stageInstance: StageInstance] stageInstanceDelete :
[oldStageInstance: StageInstance | null, newStageInstance: StageInstance] stageInstanceUpdate :
[sticker: Sticker] stickerCreate :
[sticker: Sticker] stickerDelete :
[thread: AnyThreadChannel, newlyCreated: boolean] threadCreate :
[thread: AnyThreadChannel] threadDelete :
[threads: Collection<Snowflake, AnyThreadChannel>, guild: Guild] threadListSync :
[ addedMembers: Collection<Snowflake, ThreadMember>, removedMembers: Collection<Snowflake, ThreadMember | PartialThreadMember>, thread: AnyThreadChannel, ] threadMembersUpdate :
[oldMember: ThreadMember, newMember: ThreadMember] threadMemberUpdate :
[oldThread: AnyThreadChannel, newThread: AnyThreadChannel] threadUpdate :
[typing: Typing] typingStart :
[oldUser: User | PartialUser, newUser: User] userUpdate :
[oldState: VoiceState, newState: VoiceState] voiceStateUpdate :
[message: string] warn :
[channel: TextChannel | NewsChannel | VoiceChannel | ForumChannel | MediaChannel] webhooksUpdate :
deprecatedClientEvents['webhooksUpdate'] webhookUpdate :
Use instead.
Deprecated