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 menuSolution:Jump to solution
omg , i realize i named wrong folder , when i fixed , it works , thanks for ur help
8 Replies
you shouldnt have both a constructor and use @ApplyOptions
other than that
- 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.yeah , i have @ApplyOptions both
i mean how i can receive value when user interact with menu select
but if i use cli so what selection i should use
it no Interaction component
Solution
omg , i realize i named wrong folder , when i fixed , it works , thanks for ur help