From e2ad2ac5d97f24a4c0318bb9c45f4f1a5cc98b38 Mon Sep 17 00:00:00 2001 From: Luke Robles <98352913+lrobles-iterable@users.noreply.github.com> Date: Sun, 18 Sep 2022 20:15:42 -0700 Subject: [PATCH] dont put https in the mdoel --- app/cogs/markov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cogs/markov.py b/app/cogs/markov.py index ea9e2cd1..0b8da979 100644 --- a/app/cogs/markov.py +++ b/app/cogs/markov.py @@ -14,7 +14,7 @@ class Markov(commands.Cog): # Get messages from passed in user authors_mesages = [] for message in await ctx.history(limit=10000).flatten(): - if message.author.id == user.id: + if message.author.id == user.id and "https" not in message.content: authors_mesages.append(message.content) # Make the model