Fixed select menu bug

This commit is contained in:
2023-06-04 16:43:55 +07:00
parent 9f7f5c7376
commit ac1fd46ae3
6 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -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;