Dyno like help command
If i have the help data in every commands detailedDescription value, how can i make it so that when a user runs
!<commandName> help
it displays the help embed instead of having to run !help <commandName>
Solution:Jump to solution
If you're only using message commands, you could use the subcommands plugin to create a class that extends subcommand and adds a
help
subcommand which displays the detailed descrition. You would then have all your other commands extend that class to inherit the help
subcommand.4 Replies
Solution
If you're only using message commands, you could use the subcommands plugin to create a class that extends subcommand and adds a
help
subcommand which displays the detailed descrition. You would then have all your other commands extend that class to inherit the help
subcommand.thats smart, but i can also use chatinput commands right?
even if it doesnt have the functionality of the
help
thing
someone of my commands are slash commandsI'm not sure if having a chat input command that extends the
subcommand
class but has no subcommands will play nicely with the subcommands plugin but you can give it a shotalright thanks, ill find a way to make it work