PHP Class Phergie_Plugin_Ai, phergie

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

Protected Properties

Свойство Type Description
$Ai Ai object

Méthodes publiques

Méthode Description
getAiMethod ( ) : Ai Return the AI method to use
onLoad ( ) : void Initialize
onPrivmsg ( ) : void Fetches the associated tweet and relays it to the channel.
setAiMethod ( ) : Phergie_Plugin_Ai Sets the class to use for AI (pandora,markov,multi)

Method Details

getAiMethod() public méthode

Return the AI method to use
public getAiMethod ( ) : Ai
Résultat Ai Class

onLoad() public méthode

Initialize
public onLoad ( ) : void
Résultat void

onPrivmsg() public méthode

Fetches the associated tweet and relays it to the channel.
public onPrivmsg ( ) : void
Résultat void

setAiMethod() public méthode

Sets the class to use for AI (pandora,markov,multi)
public setAiMethod ( ) : Phergie_Plugin_Ai
Résultat Phergie_Plugin_Ai Implements a fluent interface

Property Details

$Ai protected_oe property

Ai object
protected $Ai