Working with interaction SelectMenuBuilder

When i send a component SelectMenu , and i have a interaction handler for that , but when i selected , nothing happen , how i can handle event after i select menu
Solution:
omg , i realize i named wrong folder , when i fixed , it works , thanks for ur help
Jump to solution
8 Replies
Favna
Favna2y ago
you shouldnt have both a constructor and use @ApplyOptions other than that
Spinel
Spinel2y ago
- Did you use a folder of the examples repository or did you use the CLI to generate your bot? - What's your file/folder structure? - What's your "main" property in package.json - Are you using TypeScript? And if so, how are you compiling and running your code? - Are you using the version 2 or version 3 of @sapphire/framework? - In case you are using version 3 of @sapphire/framework, and your problem related to message commands, did you add loadMessageCommandListeners to your SapphireClient options Remember that if you are new to @sapphire/framework it is important that you read the user guide.
ken
ken2y ago
yeah , i have @ApplyOptions both
ken
ken2y ago
ken
ken2y ago
i mean how i can receive value when user interact with menu select
ken
ken2y ago
but if i use cli so what selection i should use
ken
ken2y ago
it no Interaction component
Solution
ken
ken2y ago
omg , i realize i named wrong folder , when i fixed , it works , thanks for ur help