mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 17:52:55 +00:00
fix disabledEvents
This commit is contained in:
parent
dc6c1140bc
commit
9323882a8d
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ class WebSocketManager extends EventEmitter {
|
||||||
* @type {Object}
|
* @type {Object}
|
||||||
*/
|
*/
|
||||||
this.disabledEvents = {};
|
this.disabledEvents = {};
|
||||||
for (const event in client.options.disabledEvents) this.disabledEvents[event] = true;
|
for (const event of client.options.disabledEvents) this.disabledEvents[event] = true;
|
||||||
|
|
||||||
this.first = true;
|
this.first = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue