Class p.i.k.megahalResponder(responder):

Part of plugins.ircClient.ki View Source View In Hierarchy

implements a responder based on the megahal ai-bot
Method __init__ starts the megahal program
Method learn learns msg without responding
Method reply replies to msg, and learns it
Method cleanup clean megahal shutdown
def __init__(self, bot): (source)
starts the megahal program
def learn(self, msg): (source)
learns msg without responding
Parametersmsgthe string to learn (type: string )
def reply(self, msg): (source)
replies to msg, and learns it
Parametersmsgthe string to reply to (type: string )
Returns (type: string @returns the answer of the megahal bot )
def cleanup(self): (source)
clean megahal shutdown
API Documentation for OtfBot - the friendly Bot, generated by pydoctor at 2010-01-04 01:40:56.