o.p.i.k.megahalResponder(responder) : class documentation

Part of otfbot.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, generated by pydoctor at 2011-05-03 16:14:29.