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:
Gus Caplan
2017-10-24 15:07:21 -05:00
committed by Amish Shah
parent 80595d9bec
commit ee1d4c53f2
5 changed files with 34 additions and 5 deletions

View File

@@ -11,6 +11,6 @@ module.exports = function sequential() {
this.reset();
this.busy = false;
this.handle();
}, timeout || (this.resetTime - Date.now() + this.timeDifference + this.client.options.restTimeOffset));
}, timeout);
});
};