PHP Class Phergie_Plugin_Puppet, phergie

Inheritance: extends Phergie_Plugin_Abstract
Afficher le fichier Open project: phergie/phergie

Méthodes publiques

Méthode 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 méthode

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

onCommandRaw() public méthode

raw message
public onCommandRaw ( string $message ) : void
$message string Message to send
Résultat void

onCommandSay() public méthode

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

onLoad() public méthode

Checks for dependencies.
public onLoad ( ) : void
Résultat void