diff --git a/src/modules/music.js b/src/modules/music.js index f43ca29..b6a836a 100644 --- a/src/modules/music.js +++ b/src/modules/music.js @@ -515,7 +515,7 @@ command.callback = async function (msg, line) { connection._music_queue = []; connection._music_leave = true; await connection.stopPlaying(); - await hf.bot.leaveVoiceChannel(); + await hf.bot.leaveVoiceChannel(msg.member.voiceState.channelID); return {reaction: "\uD83D\uDC4B"}; } else { return "You are not in a voice channel.";