We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8ea760 commit d0c9aa9Copy full SHA for d0c9aa9
src/events/interactionCreate.js
@@ -57,6 +57,18 @@ export default {
57
console.log(error);
58
}
59
60
+ //TODO
61
+
62
+ if (interaction.isStringSelectMenu()) {
63
+ const stringSelectMenu = client.stringSelectMenus.get(interaction.customId);
64
+ if (!stringSelectMenu) return;
65
+ try {
66
+ tringS.execute(client, interaction);
67
+ } catch (error) {
68
+ interaction.reply({ content: 'There was an error while executing this select menu!', ephemeral: true });
69
+ console.log(error);
70
+ }
71
72
73
} catch (error) {
74
return console.log(error);
0 commit comments