PHP Класс Phergie_Plugin_Ai, phergie

Usage: Bot: hello
Автор: Phergie Development Team ([email protected])
Наследование: extends Phergie_Plugin_Abstract
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$Ai Ai object

Открытые методы

Метод Описание
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)

Описание методов

getAiMethod() публичный Метод

Return the AI method to use
public getAiMethod ( ) : Ai
Результат Ai Class

onLoad() публичный Метод

Initialize
public onLoad ( ) : void
Результат void

onPrivmsg() публичный Метод

Fetches the associated tweet and relays it to the channel.
public onPrivmsg ( ) : void
Результат void

setAiMethod() публичный Метод

Sets the class to use for AI (pandora,markov,multi)
public setAiMethod ( ) : Phergie_Plugin_Ai
Результат Phergie_Plugin_Ai Implements a fluent interface

Описание свойств

$Ai защищенное свойство

Ai object
protected $Ai