C# Class qtbot.CommandPlugin.CommandGroupBuilder

显示文件 Open project: stepperman/HB-Discord-Bot Class Usage Examples

Public Methods

Method Description
CreateCommand ( string cmd ) : CommandBuilder
CreateCommandGroup ( string cmd, Action config = null ) : CommandGroupBuilder
DefaultMinPermissions ( int min ) : void

Private Methods

Method Description
CommandGroupBuilder ( CommandsPlugin plugin, string prefix, int minPerm ) : System

Method Details

CreateCommand() public method

public CreateCommand ( string cmd ) : CommandBuilder
cmd string
return CommandBuilder

CreateCommandGroup() public method

public CreateCommandGroup ( string cmd, Action config = null ) : CommandGroupBuilder
cmd string
config Action
return CommandGroupBuilder

DefaultMinPermissions() public method

public DefaultMinPermissions ( int min ) : void
min int
return void