dont put https in the mdoel

This commit is contained in:
Luke Robles 2022-09-18 20:15:42 -07:00
parent 3ee12627c3
commit e2ad2ac5d9

View File

@ -14,7 +14,7 @@ class Markov(commands.Cog):
# Get messages from passed in user # Get messages from passed in user
authors_mesages = [] authors_mesages = []
for message in await ctx.history(limit=10000).flatten(): 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) authors_mesages.append(message.content)
# Make the model # Make the model