music: fix leaving
This commit is contained in:
parent
4898efc2b6
commit
f212046bfb
1 changed files with 1 additions and 1 deletions
|
@ -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.";
|
||||
|
|
Loading…
Reference in a new issue