C# Class wmib.GenericCommand

Datei anzeigen 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_oe property

public string Module
return string

SilentErrors public_oe property

public bool SilentErrors
return bool