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