From 72ff24227d3afd2af18d8f85b296d103af1af254 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 20 Sep 2019 18:52:52 +0100 Subject: [PATCH] we only need 1 level of "end" markov chains --- modules/markov.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/markov.py b/modules/markov.py index 3383da6b..d1fd91dc 100644 --- a/modules/markov.py +++ b/modules/markov.py @@ -24,7 +24,6 @@ class Module(ModuleManager.BaseModule): inserts.append(words[i:i+3]) inserts.append([words[-2], words[-1], None]) - inserts.append([words[-1], None, None]) for insert in inserts: frequency = self.bot.database.execute_fetchone("""SELECT