Fix message fetcher not fetching enough messages

This commit is contained in:
Nexus 2024-04-15 19:55:21 +01:00
parent b64367710b
commit de7063c3bf
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -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)