I need help with used-commands-logs in console.
https://mystb.in/BusesDevonMarijuana - code
I want to make used-commands-logs.
When I type
/music play song: song
, in the console displays this: Command: music Content: play: None
instead of Command: music Content: play: song: song
So what should I do?![No description](https://cdn.answeroverflow.com/1171506576763404418/image.png)
![No description](https://cdn.answeroverflow.com/1171506577036025966/image.png)
2 Replies
- 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!interaction.options.data
doesn't have a value
property. What you're looking for is interaction.options.data[0].options[0].value