From e121d05653d2591c49c356287617e4e8b8218c4e Mon Sep 17 00:00:00 2001 From: Yuzu Date: Mon, 27 Jun 2022 16:25:57 +0700 Subject: [PATCH] Fixed already joined message not showing --- src/discord/MusicPlayer/Join.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discord/MusicPlayer/Join.ts b/src/discord/MusicPlayer/Join.ts index 123ea15..a2048bd 100644 --- a/src/discord/MusicPlayer/Join.ts +++ b/src/discord/MusicPlayer/Join.ts @@ -161,7 +161,7 @@ export async function joinVoiceChannelProcedure( // And, already have instance on the guild else { // And, User VoiceChannel is same as the instance - if (channel.id === instance.voiceChannel.id) { + if (memberVoiceChannel.id === instance.voiceChannel.id) { if (!isAcceptableInteraction) return await sendHybridInteractionMessageResponse(data, { embeds: [EMBEDS.VOICECHANNEL_ALREADY_JOINED(data, locale)]