Skip to content

Commit

Permalink
fix: deprecated apis
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed May 7, 2023
1 parent 9925c7a commit 7e35831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/quiz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7e35831

Please sign in to comment.