refactor: remove redundant Client#rest and obsolete RESTManager#destroy (#2022)

This commit is contained in:
SpaceEEC
2017-10-11 02:29:50 +02:00
committed by Crawl
parent d8f6198a12
commit 68a30584db
3 changed files with 0 additions and 15 deletions

View File

@@ -57,7 +57,6 @@ class ClientManager {
destroy() {
this.client.ws.destroy();
this.client.rest.destroy();
if (!this.client.user) return Promise.resolve();
if (this.client.user.bot) {
this.client.token = null;