PHP Class Phergie_Plugin_Dice, phergie

Author: Phergie Development Team ([email protected])
Inheritance: extends Phergie_Plugin_Abstract
Afficher le fichier Open project: phergie/phergie

Méthodes publiques

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

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

onLoad() public méthode

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