PHP Class Phergie_Plugin_Puppet, phergie

Inheritance: extends Phergie_Plugin_Abstract
Show file Open project: phergie/phergie

Public Methods

Method Description
onCommandAct ( string $channel, string $action ) : void Handles a request for the bot to repeat a given action in a specified channel.
onCommandRaw ( string $message ) : void Handles a request for the bot to send the server a raw message
onCommandSay ( string $channel, string $message ) : void Handles a request for the bot to repeat a given message in a specified channel.
onLoad ( ) : void Checks for dependencies.

Method Details

onCommandAct() public method

act #chan action
public onCommandAct ( string $channel, string $action ) : void
$channel string Name of the channel
$action string Action to perform
return void

onCommandRaw() public method

raw message
public onCommandRaw ( string $message ) : void
$message string Message to send
return void

onCommandSay() public method

say #chan message
public onCommandSay ( string $channel, string $message ) : void
$channel string Name of the channel
$message string Message to repeat
return void

onLoad() public method

Checks for dependencies.
public onLoad ( ) : void
return void