PHP Class Phergie_Plugin_Dice, phergie

Author: Phergie Development Team ([email protected])
Inheritance: extends Phergie_Plugin_Abstract
Show file Open project: phergie/phergie

Public Methods

Method Description
onCommandRoll ( string $message ) : void Handles a request for the bot to perform a dice roll.
onLoad ( ) : void Checks for dependencies.

Method Details

onCommandRoll() public method

roll 3d6 + 2
public onCommandRoll ( string $message ) : void
$message string Dice roll to perform
return void

onLoad() public method

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