have !markov learn echo the text it learned, in case someone wants to chain it with other commands for some reason
This commit is contained in:
parent
a0a5bdec1c
commit
2f3feb093d
@ -140,6 +140,9 @@ class Markov(Module):
|
||||
line = match.group(1)
|
||||
self._learn_line(line)
|
||||
|
||||
# return what was learned, for weird chaining purposes
|
||||
return line
|
||||
|
||||
def markov_reply(self, connection, event, nick, userhost, what, admin_unlocked):
|
||||
"""Generate a reply to one line, without learning it."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user