mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Fix time differences (add 1 second)
This commit is contained in:
@@ -64,7 +64,7 @@ module.exports = class SequentialRequestHandler extends RequestHandler {
|
||||
setTimeout(() => {
|
||||
this.waiting = false;
|
||||
resolve(data);
|
||||
}, (this.requestResetTime - Date.now()) + this.timeDifference - 1000);
|
||||
}, (this.requestResetTime - Date.now()) + this.timeDifference + 1000);
|
||||
} else {
|
||||
this.waiting = false;
|
||||
resolve(data);
|
||||
|
||||
Reference in New Issue
Block a user