From 20eb08ca7dec3f0828b5991ed81fe41b574b147d Mon Sep 17 00:00:00 2001 From: Starman <30315137+Starman3787@users.noreply.github.com> Date: Sat, 16 Nov 2024 07:24:03 +0000 Subject: [PATCH] Update eventHandler.js --- src/gateway/eventHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gateway/eventHandler.js b/src/gateway/eventHandler.js index 5b930788..27f01289 100644 --- a/src/gateway/eventHandler.js +++ b/src/gateway/eventHandler.js @@ -423,7 +423,7 @@ class EventHandler { ); const oldVoiceState = - this.#_client.guilds.get(data.guild_id)?.voice_states.get(data.user_id) || + this.#_client.guilds.get(data.guild_id)?.voiceStates.get(data.user_id) || null; let newVoiceState; if (data.channel_id)