From 7e358316dbc5f0167fb78d73601e78bddd8941dd Mon Sep 17 00:00:00 2001 From: Nutthapat Pongtanyavichai <59821765+Leomotors@users.noreply.github.com> Date: Sun, 7 May 2023 17:12:25 +0700 Subject: [PATCH] fix: deprecated apis --- src/commands/quiz.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/quiz.ts b/src/commands/quiz.ts index 626c2c5..b607ce0 100644 --- a/src/commands/quiz.ts +++ b/src/commands/quiz.ts @@ -197,7 +197,7 @@ export default class QuizCog extends CogSlashClass { this.client = client; this.client.on("interactionCreate", (interaction) => { - if (!interaction.isSelectMenu()) return; + if (!interaction.isStringSelectMenu()) return; this.quizManager[interaction.guildId!] ?.handleInteraction(interaction)