C# Class wmib.GenericCommand

Show file Open project: benapetr/wikimedia-bot Class Usage Examples

Public Properties

Property Type Description
Module string
SilentErrors bool

Public Methods

Method Description
GenericCommand ( string name_, Action function ) : System
GenericCommand ( string name_, Action function, bool ignorable, string permissions = null, bool channel = true, bool silent = false ) : System
Launch ( CommandParams parameter ) : void

Method Details

GenericCommand() public method

public GenericCommand ( string name_, Action function ) : System
name_ string
function Action
return System

GenericCommand() public method

public GenericCommand ( string name_, Action function, bool ignorable, string permissions = null, bool channel = true, bool silent = false ) : System
name_ string
function Action
ignorable bool
permissions string
channel bool
silent bool
return System

Launch() public method

public Launch ( CommandParams parameter ) : void
parameter CommandParams
return void

Property Details

Module public property

public string Module
return string

SilentErrors public property

public bool SilentErrors
return bool