interface
ClientEvents
export
interface
ClientEvents
Table of contents
Properties
applicationCommandPermissionsUpdate
autoModerationActionExecution
autoModerationRuleCreate
autoModerationRuleDelete
autoModerationRuleUpdate
cacheSweep
channelCreate
channelDelete
channelPinsUpdate
channelUpdate
debug
emojiCreate
emojiDelete
emojiUpdate
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
messageReactionAdd
messageReactionRemove
messageReactionRemoveAll
messageReactionRemoveEmoji
messageUpdate
presenceUpdate
ready
roleCreate
roleDelete
roleUpdate
shardDisconnect
shardError
shardReady
shardReconnecting
shardResume
stageInstanceCreate
stageInstanceDelete
stageInstanceUpdate
stickerCreate
stickerDelete
stickerUpdate
threadCreate
threadDelete
threadListSync
threadMembersUpdate
threadMemberUpdate
threadUpdate
typingStart
userUpdate
voiceStateUpdate
warn
webhooksUpdate
webhookUpdate
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
, ]
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
]
webhooksUpdate :
[channel:
TextChannel
|
NewsChannel
|
VoiceChannel
|
ForumChannel
|
MediaChannel
]
deprecated
webhookUpdate :
ClientEvents
['webhooksUpdate']
Use
instead.
Deprecated