diff --git a/bot.py b/bot.py index 8b90879..6920d26 100644 --- a/bot.py +++ b/bot.py @@ -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 diff --git a/markov.py b/markov.py index e75491c..a0f5fa1 100644 --- a/markov.py +++ b/markov.py @@ -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)