Acktimel
DIAdiscord.js - Imagine an app
•Created by Acktimel on 7/23/2023 in #djs-questions
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 ?6 replies