From 774c2283e90e7ae187225095906a7c0e5295b4b9 Mon Sep 17 00:00:00 2001 From: brandons209 Date: Wed, 19 Aug 2020 01:16:55 -0400 Subject: [PATCH] left some print statements --- markov/markov.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markov/markov.py b/markov/markov.py index eb49eaf..d3ecb01 100644 --- a/markov/markov.py +++ b/markov/markov.py @@ -110,7 +110,7 @@ class Markov(commands.Cog): except KeyError: await ctx.send(error("This channel has no data, try talking in it for a bit first!")) return - print(model) + starting_text = starting_text.split(" ") if starting_text else None last_word = starting_text[-1] if starting_text else None @@ -177,7 +177,7 @@ class Markov(commands.Cog): content = content.split(" ") model = self.cache[guild.id]["model"] - print(self.cache[guild.id]) + try: model[str(message.channel.id)] except KeyError: