PHP Class Phergie_Plugin_Ai, phergie

Usage: Bot: hello
Author: Phergie Development Team ([email protected])
Inheritance: extends Phergie_Plugin_Abstract
ファイルを表示 Open project: phergie/phergie

Protected Properties

Property Type Description
$Ai Ai object

Public Methods

Method 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 method

Return the AI method to use
public getAiMethod ( ) : Ai
return Ai Class

onLoad() public method

Initialize
public onLoad ( ) : void
return void

onPrivmsg() public method

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

setAiMethod() public method

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

Property Details

$Ai protected_oe property

Ai object
protected $Ai