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
KenOP2y ago
yeah , i have @ApplyOptions both
Ken
KenOP2y ago
Ken
KenOP2y ago
i mean how i can receive value when user interact with menu select
Ken
KenOP2y ago
but if i use cli so what selection i should use
Ken
KenOP2y 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
Want results from more Discord servers?
Add your server