Fix message fetcher not fetching enough messages
This commit is contained in:
parent
b64367710b
commit
de7063c3bf
1 changed files with 4 additions and 1 deletions
|
@ -274,7 +274,10 @@ class QuoteQuota(commands.Cog):
|
||||||
color=discord.Color.blurple(),
|
color=discord.Color.blurple(),
|
||||||
timestamp=discord.utils.utcnow()
|
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)
|
trump_stats = await self._process_trump_truths(messages)
|
||||||
tate_stats = await self._process_tate_truths(messages)
|
tate_stats = await self._process_tate_truths(messages)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue