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:
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.
Jump to solution
4 Replies
Solution
Ben
Ben7mo ago
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.
Oreo ™
Oreo ™7mo ago
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 commands
Ben
Ben7mo ago
I'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 shot
Oreo ™
Oreo ™7mo ago
alright thanks, ill find a way to make it work