mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +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}
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue