Markov chain works with /markov command

This commit is contained in:
AB
2020-02-07 15:31:43 +00:00
parent 9a6bb39440
commit cded7272d2
2 changed files with 3 additions and 3 deletions

View File

@ -195,7 +195,7 @@ class MessageWorker:
if count > max_sen:
count = max_sen
except:
count = 30
count = 5
for i in range(0, count):
rand_messages.append(self.db.get_random_message())
rand_text = " ".join(rand_messages)