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 toolkit3mo 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Ø3mo ago
You’re missing a description on one of your commands
Papalo007
Papalo007OP3mo 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Ø3mo ago
It’s visible in the integrations tab in a guild’s settings iirc
Papalo007
Papalo007OP3mo ago
oh ok
TÆMBØ
TÆMBØ3mo ago
No description
Papalo007
Papalo007OP3mo 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