mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 10:49:20 +00:00
Add missing message check
This commit is contained in:
@@ -128,7 +128,8 @@ export async function joinVoiceChannelProcedure (data: Interaction | Message, in
|
||||
instance = DiscordMusicPlayer.getGuildInstance(data.guildId);
|
||||
|
||||
instance!.joinVoiceChannel(voiceChannel, data.channel);
|
||||
await sendMessageOrInteractionResponse(data, { embeds: [EMBEDS.VOICECHANNEL_JOINED(data)] });
|
||||
if(!isAcceptableInteraction)
|
||||
await sendMessageOrInteractionResponse(data, { embeds: [EMBEDS.VOICECHANNEL_JOINED(data)] });
|
||||
}
|
||||
|
||||
if (!instance) return;
|
||||
|
||||
Reference in New Issue
Block a user