mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Enable autoReconnect by default
This commit is contained in:
@@ -46,7 +46,7 @@ export default class Client extends EventEmitter {
|
||||
*/
|
||||
this.options = options || {};
|
||||
this.options.compress = options.compress || (!process.browser);
|
||||
this.options.autoReconnect = options.autoReconnect || false;
|
||||
this.options.autoReconnect = options.autoReconnect || true;
|
||||
this.options.rateLimitAsError = options.rateLimitAsError || false;
|
||||
this.options.largeThreshold = options.largeThreshold || 250;
|
||||
this.options.maxCachedMessages = options.maxCachedMessages || 1000;
|
||||
|
||||
Reference in New Issue
Block a user