Closed hfreeb closed 9 years ago
There should already be a way to do this, when I finish making breakfast I can post how.
I don't see a way when looking in the source.
Yup, looks like the way was refactored out.
I'll be adding it, but not as a constructor parameter (Look out for CommandNode#removeChild
and CommandNode#removeHelpCommand
)
Out of curiousity, what purpose do you want to remove the HelpCommand for?
For my server we're having a custom help command and the help subcommand isn't needed. Even if I just don't use it would appear in tab completes.
Okay, I'll add that functionality in a little bit (working out a diff bug atm)
Added an extra two constructors to allow the ability to not have the HelpCommand automatically attaching to the command.