Fixed already joined message not showing

This commit is contained in:
2022-06-27 16:25:57 +07:00
parent e3ff6db1c8
commit e121d05653
+1 -1
View File
@@ -161,7 +161,7 @@ export async function joinVoiceChannelProcedure(
// And, already have instance on the guild // And, already have instance on the guild
else { else {
// And, User VoiceChannel is same as the instance // And, User VoiceChannel is same as the instance
if (channel.id === instance.voiceChannel.id) { if (memberVoiceChannel.id === instance.voiceChannel.id) {
if (!isAcceptableInteraction) if (!isAcceptableInteraction)
return await sendHybridInteractionMessageResponse(data, { return await sendHybridInteractionMessageResponse(data, {
embeds: [EMBEDS.VOICECHANNEL_ALREADY_JOINED(data, locale)] embeds: [EMBEDS.VOICECHANNEL_ALREADY_JOINED(data, locale)]