From 16568aa906786d7a3b718cd3e31653df71d3d755 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Fri, 24 Feb 2023 22:26:30 +1100 Subject: Fix multiple users in vc disconnecting eachother --- src/gateway/opcodes/VoiceStateUpdate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gateway/opcodes/VoiceStateUpdate.ts b/src/gateway/opcodes/VoiceStateUpdate.ts index d300d7b7..5335752e 100644 --- a/src/gateway/opcodes/VoiceStateUpdate.ts +++ b/src/gateway/opcodes/VoiceStateUpdate.ts @@ -135,7 +135,7 @@ export async function onVoiceStateUpdate(this: WebSocket, data: Payload) { guild_id: voiceState.guild_id, endpoint: guildRegion.endpoint, }, - guild_id: voiceState.guild_id, + user_id: this.user_id, } as VoiceServerUpdateEvent); } } -- cgit 1.4.1