interface
ClientEvents
export
interface
ClientEvents
Table of contents
Properties
applicationCommandPermissionsUpdate
autoModerationActionExecution
autoModerationRuleCreate
autoModerationRuleDelete
autoModerationRuleUpdate
cacheSweep
channelCreate
channelDelete
channelPinsUpdate
channelUpdate
clientReady
debug
emojiCreate
emojiDelete
emojiUpdate
entitlementCreate
entitlementDelete
entitlementUpdate
error
guildAuditLogEntryCreate
guildAvailable
guildBanAdd
guildBanRemove
guildCreate
guildDelete
guildIntegrationsUpdate
guildMemberAdd
guildMemberAvailable
guildMemberRemove
guildMembersChunk
guildMemberUpdate
guildScheduledEventCreate
guildScheduledEventDelete
guildScheduledEventUpdate
guildScheduledEventUserAdd
guildScheduledEventUserRemove
guildUnavailable
guildUpdate
interactionCreate
invalidated
inviteCreate
inviteDelete
messageCreate
messageDelete
messageDeleteBulk
messagePollVoteAdd
messagePollVoteRemove
messageReactionAdd
messageReactionRemove
messageReactionRemoveAll
messageReactionRemoveEmoji
messageUpdate
presenceUpdate
roleCreate
roleDelete
roleUpdate
stageInstanceCreate
stageInstanceDelete
stageInstanceUpdate
stickerCreate
stickerDelete
stickerUpdate
subscriptionCreate
subscriptionDelete
subscriptionUpdate
threadCreate
threadDelete
threadListSync
threadMembersUpdate
threadMemberUpdate
threadUpdate
typingStart
userUpdate
voiceChannelEffectSend
voiceStateUpdate
warn
webhooksUpdate
Properties
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
, ]
clientReady :
[client:
Client
<true>]
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
>]
messageDeleteBulk :
[ messages:
ReadonlyCollection
<
Snowflake
,
OmitPartialGroupDMChannel
<
Message
|
PartialMessage
>>, channel:
GuildTextBasedChannel
, ]
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:
OmitPartialGroupDMChannel
<
Message
|
PartialMessage
>, newMessage:
OmitPartialGroupDMChannel
<
Message
>, ]
presenceUpdate :
[oldPresence:
Presence
|
null
, newPresence:
Presence
]
roleCreate :
[role:
Role
]
roleDelete :
[role:
Role
]
roleUpdate :
[oldRole:
Role
, newRole:
Role
]
stageInstanceCreate :
[stageInstance:
StageInstance
]
stageInstanceDelete :
[stageInstance:
StageInstance
]
stageInstanceUpdate :
[oldStageInstance:
StageInstance
|
null
, newStageInstance:
StageInstance
]
stickerCreate :
[sticker:
Sticker
]
stickerDelete :
[sticker:
Sticker
]
stickerUpdate :
[oldSticker:
Sticker
, newSticker:
Sticker
]
subscriptionCreate :
[subscription:
Subscription
]
subscriptionDelete :
[subscription:
Subscription
]
subscriptionUpdate :
[oldSubscription:
Subscription
|
null
, newSubscription:
Subscription
]
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
]
voiceChannelEffectSend :
[voiceChannelEffect:
VoiceChannelEffect
]
voiceStateUpdate :
[oldState:
VoiceState
, newState:
VoiceState
]
warn :
[message:
string
]
webhooksUpdate :
[channel:
TextChannel
|
AnnouncementChannel
|
VoiceChannel
|
ForumChannel
|
MediaChannel
]