mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
fix disabledEvents
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user