C# Class OakBot.UserCommand

Inheritance: INotifyPropertyChanged
ファイルを表示 Open project: ocgineer/OakBot Class Usage Examples

Public Methods

Method Description
ExecuteCommand ( IrcMessage message ) : void
ExecuteCommandDiscord ( Discord.Message message ) : void
UserCommand ( string command, string response, int gCooldownSec, int uCooldownSec, bool enabled, bool sendAsStreamer = false ) : Discord

Private Methods

Method Description
CanExecute ( Viewer viewer ) : bool
NotifyPropertyChanged ( string info ) : void

Method Details

ExecuteCommand() public method

public ExecuteCommand ( IrcMessage message ) : void
message IrcMessage
return void

ExecuteCommandDiscord() public method

public ExecuteCommandDiscord ( Discord.Message message ) : void
message Discord.Message
return void

UserCommand() public method

public UserCommand ( string command, string response, int gCooldownSec, int uCooldownSec, bool enabled, bool sendAsStreamer = false ) : Discord
command string
response string
gCooldownSec int
uCooldownSec int
enabled bool
sendAsStreamer bool
return Discord