oops. continue to learn messages in MegaHAL that we don't reply to
This commit is contained in:
parent
359ca24856
commit
d4062cbe99
@ -66,6 +66,8 @@ class MegaHAL(Module):
|
|||||||
reply = mh_python.doreply(line)
|
reply = mh_python.doreply(line)
|
||||||
elif re.search('^!megahal$', line, re.IGNORECASE) is not None:
|
elif re.search('^!megahal$', line, re.IGNORECASE) is not None:
|
||||||
reply = mh_python.doreply('')
|
reply = mh_python.doreply('')
|
||||||
|
else:
|
||||||
|
mh_python.learn(line)
|
||||||
|
|
||||||
if reply is not "":
|
if reply is not "":
|
||||||
if append_nick:
|
if append_nick:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user