Flag like (--help) approach with /slash-command

I'm migrating a bot so it can use slash commands, and wonder how to deal with --help flags ? Let's say we have a command like /play you can describe each parameters with setDescription to give an idea of how the command works. But what if you want to explain it in a bit more verbose way, with a man like approach ? Thought about using a Boolean option to show the wanted explanations or using a dedicated command play-help Do you maybe have a more elegant approach ?
4 Replies
d.js toolkit
d.js toolkit2y ago
- What's your exact discord.js npm list discord.js and node node -v version? - Post the full error stack trace, not just the top part! - Show your code! - Explain what exactly your issue is. - Not a discord.js issue? Check out #useful-servers. - Issue solved? Press the button!
Syjalo
Syjalo2y ago
Make a /help command:choice command
Deleted_user_0f173_d2714
you could also just show all the commands and their descriptions in one message, using embed pagination otherwise yeah this would probably be the best choice
Acktimel
AcktimelOP2y ago
That's indeed at lot more elegant, thx !

Did you find this page helpful?