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 {
|
} else {
|
||||||
await connection.disconnect();
|
await connection.disconnect();
|
||||||
if (connection._music_leave === false) {
|
if (!connection._music_leave) {
|
||||||
await hf.bot.guilds
|
await hf.bot.guilds
|
||||||
.get(guild_id)
|
.get(guild_id)
|
||||||
.channels.get(text_id)
|
.channels.get(text_id)
|
||||||
|
|
Loading…
Reference in a new issue