From 6c860b6b235ae78f45011fd1e5b77a87f8b185cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 21 Aug 2021 15:15:32 +0300 Subject: [PATCH] Fixed #26 in voiceStateUpdate.js --- src/client/events/voiceStateUpdate.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/events/voiceStateUpdate.js b/src/client/events/voiceStateUpdate.js index 553717e..c24973f 100644 --- a/src/client/events/voiceStateUpdate.js +++ b/src/client/events/voiceStateUpdate.js @@ -16,7 +16,6 @@ module.exports = { if (newState.channel === null) { client.funcs.statisticsUpdate(client, newState.guild, radio); - radio.connection?.destroy(); radio.audioPlayer?.stop(); return client.radio.delete(newState.guild.id); }