mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 11:10:38 +00:00
Webpack build for branch 11.3-dev: 8adfc97409
This commit is contained in:
parent
470199f1df
commit
025e47be7a
1 changed files with 4 additions and 4 deletions
|
|
@ -19543,10 +19543,10 @@ class SequentialRequestHandler extends RequestHandler {
|
||||||
* Emitted when the client hits a rate limit while making a request
|
* Emitted when the client hits a rate limit while making a request
|
||||||
* @event Client#rateLimit
|
* @event Client#rateLimit
|
||||||
* @param {Object} rateLimitInfo Object containing the rate limit info
|
* @param {Object} rateLimitInfo Object containing the rate limit info
|
||||||
* @prop {number} rateLimitInfo.requestLimit Number of requests that can be made to this endpoint
|
* @param {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 {number} rateLimitInfo.timeDifference Delta-T in ms between your system and Discord servers
|
||||||
* @prop {string} rateLimitInfo.method HTTP method used for request that triggered this event
|
* @param {string} rateLimitInfo.method HTTP method used for request that triggered this event
|
||||||
* @prop {string} rateLimitInfo.path Path used for request that triggered this event
|
* @param {string} rateLimitInfo.path Path used for request that triggered this event
|
||||||
*/
|
*/
|
||||||
this.client.emit(RATE_LIMIT, {
|
this.client.emit(RATE_LIMIT, {
|
||||||
limit: this.requestLimit,
|
limit: this.requestLimit,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue