From b9eb78e71cd1734e9f4430052e10d17f5ad47b0f Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Mon, 15 Apr 2024 18:39:29 +0100 Subject: [PATCH] Fix NameError --- src/cogs/quote_quota.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cogs/quote_quota.py b/src/cogs/quote_quota.py index 8c5a854..0f765d7 100644 --- a/src/cogs/quote_quota.py +++ b/src/cogs/quote_quota.py @@ -244,9 +244,7 @@ class QuoteQuota(commands.Cog): await ctx.edit(embed=embed) async for message in channel.history(limit=None, after=discord.Object(1228516325681532928)): # bot's first msg - if message.author.id == BOT_ID: - if not any([x.type == "rich" for x in message.embeds]): - continue + if is_truth(message): count_all_time += 1 embed.add_field(name="All time", value=f"{count_all_time:,}", inline=False)