interface ClientEvents

export interface ClientEvents

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]

entitlementCreate : [entitlement: Entitlement]

entitlementDelete : [entitlement: Entitlement]

entitlementUpdate : [oldEntitlement: Entitlement | null, newEntitlement: Entitlement]

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: ReadonlyCollection<Snowflake, GuildMember>, guild: Guild, data: GuildMembersChunk]

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: OmitPartialGroupDMChannel<Message>]

messageDelete : [message: OmitPartialGroupDMChannel<Message | PartialMessage>]

messagePollVoteAdd : [pollAnswer: PollAnswer, userId: Snowflake]

messagePollVoteRemove : [pollAnswer: PollAnswer, userId: Snowflake]

messageReactionAdd : [ reaction: MessageReaction | PartialMessageReaction, user: User | PartialUser, details: MessageReactionEventDetails, ]

messageReactionRemove : [ reaction: MessageReaction | PartialMessageReaction, user: User | PartialUser, details: MessageReactionEventDetails, ]

messageReactionRemoveAll : [ message: OmitPartialGroupDMChannel<Message | PartialMessage>, reactions: ReadonlyCollection<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: ReadonlyCollection<Snowflake, AnyThreadChannel>, guild: Guild]

threadMembersUpdate : [ addedMembers: ReadonlyCollection<Snowflake, ThreadMember>, removedMembers: ReadonlyCollection<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]

webhooksUpdate : [channel: TextChannel | NewsChannel | VoiceChannel | ForumChannel | MediaChannel]

deprecated
webhookUpdate : ClientEvents['webhooksUpdate']