music: fix leave message
This commit is contained in:
parent
4c7b35b13c
commit
f45c24dcfc
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ async function createVoiceConnection(guild_id, voice_id, text_id) {
|
|||
);
|
||||
} else {
|
||||
await connection.disconnect();
|
||||
if (connection._music_leave === false) {
|
||||
if (!connection._music_leave) {
|
||||
await hf.bot.guilds
|
||||
.get(guild_id)
|
||||
.channels.get(text_id)
|
||||
|
|
Loading…
Reference in a new issue