1
0
mirror of https://github.com/MrDetonia/Maki.git synced 2024-11-29 05:55:28 -05:00

Fixed missing word at end of markov chains, v0.10.10

This commit is contained in:
Zac Herd 2016-04-06 23:57:07 +01:00
parent 3d49ca9775
commit bb5c4b1131
2 changed files with 2 additions and 1 deletions

2
bot.py
View File

@ -25,7 +25,7 @@ from secret import email,pwd
name = "Maki"
# bot version
version = "v0.10.9"
version = "v0.10.10"
# text shown by .help command
helptext = """I am a bot written in Python by MrDetonia

View File

@ -41,5 +41,6 @@ class Markov(object):
w1, w2 = w2, random.choice(self.cache[w2])
except KeyError:
break
gen_words.append(w1)
gen_words.append(w2)
return ' '.join(gen_words)