C# Class qtbot.CommandPlugin.CommandBuilder

Show file Open project: stepperman/HB-Discord-Bot

Public Methods

Method Description
Alias ( ) : CommandBuilder
AnyArgs ( ) : CommandBuilder
ArgsAtLeast ( int minArgCount ) : CommandBuilder
ArgsAtMax ( int maxArgCount ) : CommandBuilder
ArgsBetween ( int minArg, int maxArg ) : CommandBuilder
ArgsEqual ( int argCount ) : CommandBuilder
CommandBuilder ( Command command ) : System
DayDelay ( int days ) : CommandBuilder
DelayIsUnignorable ( ) : CommandBuilder
Do ( Task>.Func func ) : CommandBuilder
HourDelay ( int hours ) : CommandBuilder
IsHidden ( ) : CommandBuilder
MinPermissions ( int level ) : CommandBuilder
MinuteDelay ( int minutes ) : CommandBuilder
NoArgs ( ) : CommandBuilder
OnFail ( Task>.Func func ) : CommandBuilder
SecondDelay ( int seconds ) : CommandBuilder
WithPurpose ( string purpose ) : CommandBuilder

Method Details

Alias() public method

public Alias ( ) : CommandBuilder
return CommandBuilder

AnyArgs() public method

public AnyArgs ( ) : CommandBuilder
return CommandBuilder

ArgsAtLeast() public method

public ArgsAtLeast ( int minArgCount ) : CommandBuilder
minArgCount int
return CommandBuilder

ArgsAtMax() public method

public ArgsAtMax ( int maxArgCount ) : CommandBuilder
maxArgCount int
return CommandBuilder

ArgsBetween() public method

public ArgsBetween ( int minArg, int maxArg ) : CommandBuilder
minArg int
maxArg int
return CommandBuilder

ArgsEqual() public method

public ArgsEqual ( int argCount ) : CommandBuilder
argCount int
return CommandBuilder

CommandBuilder() public method

public CommandBuilder ( Command command ) : System
command Command
return System

DayDelay() public method

public DayDelay ( int days ) : CommandBuilder
days int
return CommandBuilder

DelayIsUnignorable() public method

public DelayIsUnignorable ( ) : CommandBuilder
return CommandBuilder

Do() public method

public Do ( Task>.Func func ) : CommandBuilder
func Task>.Func
return CommandBuilder

HourDelay() public method

public HourDelay ( int hours ) : CommandBuilder
hours int
return CommandBuilder

IsHidden() public method

public IsHidden ( ) : CommandBuilder
return CommandBuilder

MinPermissions() public method

public MinPermissions ( int level ) : CommandBuilder
level int
return CommandBuilder

MinuteDelay() public method

public MinuteDelay ( int minutes ) : CommandBuilder
minutes int
return CommandBuilder

NoArgs() public method

public NoArgs ( ) : CommandBuilder
return CommandBuilder

OnFail() public method

public OnFail ( Task>.Func func ) : CommandBuilder
func Task>.Func
return CommandBuilder

SecondDelay() public method

public SecondDelay ( int seconds ) : CommandBuilder
seconds int
return CommandBuilder

WithPurpose() public method

public WithPurpose ( string purpose ) : CommandBuilder
purpose string
return CommandBuilder