From b5b1387ec658bc75283c5a1e7c2630f9a20bbb93 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Sun, 8 Mar 2020 16:19:24 +0200 Subject: [PATCH] Update voiceStateUpdate.js --- events/voiceStateUpdate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/voiceStateUpdate.js b/events/voiceStateUpdate.js index 32b5d47..01549bb 100644 --- a/events/voiceStateUpdate.js +++ b/events/voiceStateUpdate.js @@ -9,7 +9,7 @@ module.exports = { radio.songs = []; radio.looping = false; radio.endReason = "manual disconnect"; - return client.queue.delete(newState.guild.id); + return client.radio.delete(newState.guild.id); } if (newState.member.voice.channel !== radio.voiceChannel) { change = true;