implements a responder based on the megahal ai-bot

Method __init__ starts the megahal program
Method learn learns msg without responding @type msg: string @param msg: the string to learn
Method reply No summary
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 2020-03-04 02:00:06.