mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
Add rateLimit event (#2019)
* add ratelimited event * add some useful props * death * more death * Update tester1000.js * Update RequestHandler.js
This commit is contained in:
@@ -6,7 +6,7 @@ module.exports = function burst() {
|
||||
this.client.setTimeout(() => {
|
||||
this.reset();
|
||||
this.handle();
|
||||
}, timeout || (this.resetTime - Date.now() + this.timeDifference + this.client.options.restTimeOffset));
|
||||
}, timeout);
|
||||
});
|
||||
this.remaining--;
|
||||
this.handle();
|
||||
|
||||
Reference in New Issue
Block a user