fix ratelimit event

This commit is contained in:
DjDeveloperr 2021-04-08 14:39:44 +05:30
parent b479cdc743
commit f2a8c86dde

View file

@ -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]