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

@@ -1,6 +1,5 @@
const BaseClient = require('./BaseClient');
const Permissions = require('../util/Permissions');
const RESTManager = require('../rest/RESTManager');
const ClientManager = require('./ClientManager');
const ClientVoiceManager = require('./voice/ClientVoiceManager');
const WebSocketManager = require('./websocket/WebSocketManager');
@@ -42,13 +41,6 @@ class Client extends BaseClient {
this._validateOptions();
/**
* The REST manager of the client
* @type {RESTManager}
* @private
*/
this.rest = new RESTManager(this);
/**
* The manager of the client
* @type {ClientManager}