PHP 클래스 Phergie_Plugin_Ai, phergie

Usage: Bot: hello
저자: Phergie Development Team ([email protected])
상속: extends Phergie_Plugin_Abstract
파일 보기 프로젝트 열기: phergie/phergie

보호된 프로퍼티들

프로퍼티 타입 설명
$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