Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to handle sub commands? - discord.js - Imagine ❄
d-I❄
discord.js - Imagine ❄
•
2y ago
•
10 replies
Gyroscopic nugget
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
?
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,915
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to handle multiple slash commands simultaenously?
d-I❄
discord.js - Imagine ❄ / djs-questions
15mo ago