mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
docs: fix client#rateLimit parameters
This commit is contained in:
parent
7126cade45
commit
0e370d7a4c
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class SequentialRequestHandler extends RequestHandler {
|
|||
* @param {Object} rateLimitInfo Object containing the rate limit info
|
||||
* @prop {number} rateLimitInfo.requestLimit Number of requests that can be made to this endpoint
|
||||
* @prop {number} rateLimitInfo.timeDifference Delta-T in ms between your system and Discord servers
|
||||
* @param {string} rateLimitInfo.method HTTP method used for request that triggered this event
|
||||
* @prop {string} rateLimitInfo.method HTTP method used for request that triggered this event
|
||||
* @prop {string} rateLimitInfo.path Path used for request that triggered this event
|
||||
*/
|
||||
this.client.emit(RATE_LIMIT, {
|
||||
|
|
|
|||
Loading…
Reference in a new issue