mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-14 03:09:59 +00:00
Fixed select menu bug
This commit is contained in:
@@ -119,7 +119,7 @@ export async function joinVoiceChannelProcedure(
|
||||
voiceChannel: VoiceChannel | StageChannel
|
||||
) {
|
||||
const isSlashCommand = data.isApplicationCommand();
|
||||
const isAcceptableInteraction = data.isSelectMenu() || data.isButton();
|
||||
const isAcceptableInteraction = data.isStringSelectMenu() || data.isButton();
|
||||
const isMessage = data.isMessage();
|
||||
if (!isSlashCommand && !isAcceptableInteraction && !isMessage) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user