Comply to the new Rate Limit Headers hammerandchisel/discord-api-docs#108

This commit is contained in:
Amish Shah
2016-08-19 19:03:06 +01:00
parent c2e3d2b8ca
commit 75ff9fb096
3 changed files with 21 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ class RESTManager {
this.userAgentManager = new UserAgentManager(this);
this.methods = new RESTMethods(this);
this.rateLimitedEndpoints = {};
this.globallyRateLimited = false;
}
push(handler, apiRequest) {