Nekobot.Commands.CommandGroupBuilder.CreateCommand C# (CSharp) Method

CreateCommand() public method

public CreateCommand ( ) : CommandBuilder
return CommandBuilder
        public CommandBuilder CreateCommand()
            => CreateCommand("");
        public CommandBuilder CreateCommand(string cmd)

Same methods

CommandGroupBuilder::CreateCommand ( string cmd ) : CommandBuilder

Usage Example

Exemplo n.º 1
0
 static void CreateLewdCommand(Commands.CommandGroupBuilder group, string chan)
 {
     group.CreateCommand(chan)
     .FlagNsfw(true)
     .Description($"I'll give you a random image from https://lewdchan.com/{chan}/")
     .Do(async e => await LewdSX(chan, e.Channel));
 }
All Usage Examples Of Nekobot.Commands.CommandGroupBuilder::CreateCommand