Property | Type | Description | |
---|---|---|---|
$methods | array | Cache for command lookups used to confirm that methods exist and parameter counts match |
Method | Description | |
---|---|---|
getMethods ( ) : array | Returns a list of detected methods for processing commands. | |
onLoad ( ) : void | Load the Message plugin | |
onPrivmsg ( ) : void | Parses a given message and, if its format corresponds to that of a defined command, calls the handler method for that command with any provided parameters. | |
populateMethodCache ( ) : void | Populates the methods cache. |
public getMethods ( ) : array | ||
return | array | List of method names |
public populateMethodCache ( ) : void | ||
return | void |
protected array $methods | ||
return | array |