Method WithSubcommands
- Namespace
- DisCatSharp.CommandsNext.Converters
- Assembly
- DisCatSharp.CommandsNext.dll
WithSubcommands(IEnumerable<Command>)
Sets the subcommands for this command, if applicable. This method will be called with filtered data.
public abstract BaseHelpFormatter WithSubcommands(IEnumerable<Command> subcommands)
Parameters
subcommands
IEnumerable<Command>Subcommands for this command group.
Returns
- BaseHelpFormatter
This help formatter.