mirror of
https://github.com/danbulant/discord.js
synced 2026-06-03 23:02:20 +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(() => {
|
setTimeout(() => {
|
||||||
this.waiting = false;
|
this.waiting = false;
|
||||||
resolve(data);
|
resolve(data);
|
||||||
}, (this.requestResetTime - Date.now()) + this.timeDifference - 1000);
|
}, (this.requestResetTime - Date.now()) + this.timeDifference + 1000);
|
||||||
} else {
|
} else {
|
||||||
this.waiting = false;
|
this.waiting = false;
|
||||||
resolve(data);
|
resolve(data);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue