Fix weird options comments

This commit is contained in:
abalabahaha
2016-04-20 20:12:52 -07:00
parent 533d49d7d4
commit 283c99dee8
4 changed files with 10 additions and 10 deletions

View File

@@ -55,7 +55,7 @@ var Client = (function (_EventEmitter) {
* @example
* // creates a new Client that will try to reconnect whenever it is disconnected.
* var client = new Discord.Client({
* revive : true
* autoReconnect : true
* });
*/
@@ -72,7 +72,7 @@ var Client = (function (_EventEmitter) {
*/
this.options = options || {};
this.options.compress = options.compress || !process.browser;
this.options.revive = options.revive || false;
this.options.autoReconnect = options.autoReconnect || false;
this.options.rateLimitAsError = options.rateLimitAsError || false;
this.options.largeThreshold = options.largeThreshold || 250;
this.options.maxCachedMessages = options.maxCachedMessages || 1000;