public CommandGroupBuilder CreateGroup(string cmd, Action <CommandGroupBuilder> config) { config(new CommandGroupBuilder(_service, CommandBuilder.AppendPrefix(_prefix, cmd), _category, _checks)); return(this); }
public CommandBuilder CreateCommand(string cmd) { var command = new Command(CommandBuilder.AppendPrefix(_prefix, cmd)); return(new CommandBuilder(_service, command, _prefix, _category, _checks)); }