mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
docs/typings: RateLimitInfo#limit instead of requestLimit (#3132)
* fix doc for ratelimit data, fixes #3131 * adapt typings * typings: unindent #region comments
This commit is contained in:
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -2037,7 +2037,7 @@ declare module 'discord.js' {
|
||||
|
||||
type ClientPresenceStatus = 'online' | 'idle' | 'dnd';
|
||||
|
||||
type PresenceStatus = ClientPresenceStatus | 'invisible' ;
|
||||
type PresenceStatus = ClientPresenceStatus | 'invisible';
|
||||
type PresenceStatusData = ClientPresenceStatus | 'offline';
|
||||
|
||||
type ClientPresenceStatusData = {
|
||||
@@ -2047,7 +2047,7 @@ declare module 'discord.js' {
|
||||
};
|
||||
|
||||
type RateLimitInfo = {
|
||||
requestLimit: number;
|
||||
limit: number;
|
||||
timeDifference: number;
|
||||
method: string;
|
||||
path: string;
|
||||
|
||||
Reference in New Issue
Block a user