diff --git a/app/cogs/markov.py b/app/cogs/markov.py index ceb0edcb..c3bf131d 100644 --- a/app/cogs/markov.py +++ b/app/cogs/markov.py @@ -14,7 +14,11 @@ class Markov(commands.Cog): # Get messages from passed in user authors_mesages = [] for message in await ctx.history(limit=50000).flatten(): - if message.author.id == user.id and "https" not in message.content: + if ( + message.author.id == user.id + and "https" not in message.content + and message.content[0] != "!" + ): authors_mesages.append(message.content) # Make the model