Revert "rewrite ratelimiting and api route builder (#1667)"

This reverts commit a2eeafc75d.
This commit is contained in:
Crawl
2017-07-26 23:00:46 +02:00
parent 317bf4f7cb
commit 07178a0a2a
20 changed files with 316 additions and 187 deletions

View File

@@ -62,7 +62,7 @@ class Channel {
* .catch(console.error); // Log error
*/
delete() {
return this.client.api.channels(this.id).delete().then(() => this);
return this.client.api.channels[this.id].delete().then(() => this);
}
}