oops. continue to learn messages in MegaHAL that we don't reply to
Cette révision appartient à :
Parent
359ca24856
révision
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:
|
||||||
|
|||||||
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur