mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 10:49:20 +00:00
Fix "You are not in the same voice channel" bug
This commit is contained in:
@@ -178,6 +178,8 @@ export async function joinVoiceChannelProcedure (data: Interaction | Message, in
|
|||||||
if (event.instance.textChannel) {
|
if (event.instance.textChannel) {
|
||||||
await sendMessage(event.instance.textChannel, undefined, { embeds: [EMBEDS.VOICECHANNEL_DISCONNECTED(data)] });
|
await sendMessage(event.instance.textChannel, undefined, { embeds: [EMBEDS.VOICECHANNEL_DISCONNECTED(data)] });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DiscordMusicPlayer.destoryGuildInstance(event.instance.voiceChannel.guildId);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user