diff --git a/events/interactionCreate.js b/events/interactionCreate.js index 64b0112..5771385 100644 --- a/events/interactionCreate.js +++ b/events/interactionCreate.js @@ -29,7 +29,7 @@ module.exports = { } } else if (interaction.isButton()) { buttonList[interaction.customId.split("_")[0]] ? buttonList[interaction.customId.split("_")[0]].execute(interaction, client) : interaction.reply({ content: "Si vous rencontrez cette erreur, merci de contacter CoolMan#4094 !", ephemeral: true }); - } else if (interaction.isSelectMenu()) { + } else if (interaction.isStringSelectMenu()) { selectMenuList[interaction.customId.split("_")[0]].execute(interaction, client); } else if (interaction.isModalSubmit()) { modalList[interaction.customId.split("_")[0]] ? modalList[interaction.customId.split("_")[0]].execute(interaction, client) : interaction.reply({ content: "Si vous rencontrez cette erreur, merci de contacter CoolMan#4094 !", ephemeral: true });