mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
Clarified options and added autoRevive option
Useful when investigating potential option parameters
This commit is contained in:
@@ -18,6 +18,8 @@ export default class Client extends EventEmitter {
|
|||||||
constructor(options) {
|
constructor(options) {
|
||||||
super();
|
super();
|
||||||
this.options = options || {};
|
this.options = options || {};
|
||||||
|
this.options.compress = options.compress || true;
|
||||||
|
this.options.autoRevive = options.autoRevive || false;
|
||||||
this.internal = new InternalClient(this);
|
this.internal = new InternalClient(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user