fix ratelimit event
This commit is contained in:
parent
b479cdc743
commit
f2a8c86dde
1 changed files with 9 additions and 1 deletions
|
@ -393,7 +393,15 @@ export type ClientEvents = {
|
|||
}
|
||||
]
|
||||
guildMembersChunked: [guild: Guild, chunks: number]
|
||||
rateLimit: [data: { method: RequestMethods; url: string; body: any }]
|
||||
rateLimit: [
|
||||
data: {
|
||||
method: RequestMethods
|
||||
path: string
|
||||
global: boolean
|
||||
timeout: number
|
||||
limit: number
|
||||
}
|
||||
]
|
||||
inviteDeleteUncached: [invite: PartialInvitePayload]
|
||||
voiceStateRemoveUncached: [data: { guild: Guild; member: Member }]
|
||||
userUpdateUncached: [user: User]
|
||||
|
|
Loading…
Reference in a new issue