Method | Description | |
---|---|---|
HandleLine ( List |
This method gets called every time the bot receives a line.
|
|
Load ( ) : void |
Called when the class is initialized. Load data, etc. here.
|
|
Unload ( ) : void |
Called when the bot shuts down. Save data, etc. here.
|
Method | Description | |
---|---|---|
SendData ( MessageTypes messageType, string argument = "" ) : void |
This function is used by the derived class to send the event. Can be overridden.
|
public HandleLine ( List |
||
ex | List |
The line from the server, split at spaces. |
recipient | string | The channel or user the message came from. Empty when from console. |
command | string | The normalized command. Empty if there's no command. |
userAuthorized | bool | Whether the user sending the command is authorized. False if there's no command. |
console | bool | Whether the line came from the console. |
return | void |
protected SendData ( MessageTypes messageType, string argument = "" ) : void | ||
messageType | MessageTypes | |
argument | string | |
return | void |