music: fix leaving

This commit is contained in:
Cynthia Foxwell 2022-04-18 23:10:13 -06:00
parent 4898efc2b6
commit f212046bfb
1 changed files with 1 additions and 1 deletions

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