From de7063c3bfba6a1e00adc36cd02ebbadc7df91f3 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Mon, 15 Apr 2024 19:55:21 +0100 Subject: [PATCH] Fix message fetcher not fetching enough messages --- src/cogs/quote_quota.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cogs/quote_quota.py b/src/cogs/quote_quota.py index b0e252b..d7d9208 100644 --- a/src/cogs/quote_quota.py +++ b/src/cogs/quote_quota.py @@ -274,7 +274,10 @@ class QuoteQuota(commands.Cog): color=discord.Color.blurple(), timestamp=discord.utils.utcnow() ) - messages: list[discord.Message] = await channel.history(after=discord.Object(1228516325681532928)).flatten() + messages: list[discord.Message] = await channel.history( + limit=None, + after=discord.Object(1228516325681532928) + ).flatten() trump_stats = await self._process_trump_truths(messages) tate_stats = await self._process_tate_truths(messages)