Skip to content

Commit

Permalink
Update eventHandler.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Nov 16, 2024
1 parent a2388a4 commit 20eb08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gateway/eventHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 20eb08c

Please sign in to comment.