String Select Menu data collection
I have built out a String Select Menu that offers two menus, one to pick and item from the database and one to pick a player from the database.
I am having issues collecting this information to pass along so that I can create logic in my index.js file to send that item to the players inventory based on the database info selected.
Here is my command file for the /senditem command - https://sourceb.in/oHwyy5bicC
and this is my index.js -
https://sourceb.in/9CYq6ssnQ0
When I run the command I can select the options but I get interaction failed. Nothing shows in the console log when selecting them, only shows that it succesfully got the info from the database -
1 Reply
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OP