subcommands
What is the difference between subcommands and subcommandsgroup, how can i make a subcommands option for conditional?
3 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!https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups
Have a quick read here!
Discord Developer Portal
Discord Developer Portal — API Docs for Bots and Developers
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
slash commands are not dynamic, they can have options with dynamic choices with autocomplete, but the command itself cannot be conditionally filled or made