From e0d25d97a512eaa6f47969e989230fbce425e351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sun, 8 Mar 2020 21:20:47 +0200 Subject: [PATCH] Dispatcher end to destroy --- events/voiceStateUpdate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/events/voiceStateUpdate.js b/events/voiceStateUpdate.js index 01549bb..70b96ff 100644 --- a/events/voiceStateUpdate.js +++ b/events/voiceStateUpdate.js @@ -24,9 +24,9 @@ module.exports = { if (radio.voiceChannel.members.size === 1) { radio.songs = []; radio.looping = false; - radio.connection.dispatcher.end(); + radio.connection.dispatcher.destroy(); } }, 12000); } } -} +} \ No newline at end of file