music: fix leaving

This commit is contained in:
Cynthia Foxwell 2022-04-18 23:10:13 -06:00
parent 4898efc2b6
commit f212046bfb

View file

@ -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.";