How to handle sub commands?

attached are the code for my command handler and the error. It happens when it tries to pass a new command through the handler, which has 2 sub commands. I never used sub commands before so I got no idea how to handle them. What should I change?
No description
No description
7 Replies
d.js toolkit
d.js toolkit2mo ago
- 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
TÆMBØ
TÆMBØ2mo ago
You’re missing a description on one of your commands
Papalo007
Papalo007OP2mo ago
oh i am i am missing one on my base command but why do i even need one? it isnt shown anywhere also how did u know it was the description?
TÆMBØ
TÆMBØ2mo ago
It’s visible in the integrations tab in a guild’s settings iirc
Papalo007
Papalo007OP2mo ago
oh ok
TÆMBØ
TÆMBØ2mo ago
No description
Papalo007
Papalo007OP2mo ago
ohhh thanks for letting me know! I'll look out for that in the future
Want results from more Discord servers?
Add your server