#How can I create a select menu within my command file?

5 messages · Page 1 of 1 (latest)

wintry lanceBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

rich swift
#

I'm assuming you already know how to create the select menu

#

you could use a collector to handle the component interaction in your command's context

golden willowBOT
#

guide Popular Topics: Interaction collectors
read more

rich swift
#

yeah, as you can see on the guide, there's a componentType option that restricts the collector to collecting interactions for that type of component