From f5d15e25f761b2dc74a681eb75ab1a5fb02621a3 Mon Sep 17 00:00:00 2001 From: Taken Date: Tue, 21 Nov 2023 15:14:00 +0100 Subject: [PATCH] Fixed sending move message on stream start and etc --- events/server/voiceStateUpdate/vcJoinLeave.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/events/server/voiceStateUpdate/vcJoinLeave.js b/events/server/voiceStateUpdate/vcJoinLeave.js index 4d121bc..3599888 100644 --- a/events/server/voiceStateUpdate/vcJoinLeave.js +++ b/events/server/voiceStateUpdate/vcJoinLeave.js @@ -54,6 +54,8 @@ module.exports = { } else if (oldChannel !== null && newChannel !== null) { + if (oldChannel.id === newChannel.id) return + channel.send({ embeds: [{ title: "Voice Channel Switch",