mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
Fix time differences (add 1 second)
This commit is contained in:
parent
f012655e53
commit
c2e3d2b8ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue