mirror of
https://github.com/Art-Portal/April.git
synced 2024-12-26 03:14:17 +01:00
Change isSelectMenu to isStringSelectMenu
This commit is contained in:
parent
52ff0aeea0
commit
ddc2f5ba8b
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user