Adding SubCommand to commands.
I'm using this snippet to load my slash commands.
Here is an example of a command in that ./command file
How would i add a SubCommand and other arguments to that command? I can't figure it out 💜
Also feel free to ping me! :D
4 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!
- ✅
Marked as resolved by OP
I know you can do something along the lines of that but not too sure how that? Converts into the way im doing it :0
Yewah it acts the same way, AH yeah got it i can just add it as option type then use SUB_COMMAND
Mint mint!! Thanks Qj! <3
SICK!!! :D
yeah i think i had the object wrong that was it