Change after timestamp
This commit is contained in:
parent
d9fbfb16fc
commit
ffd0b403d1
1 changed files with 2 additions and 2 deletions
|
@ -236,7 +236,7 @@ class QuoteQuota(commands.Cog):
|
|||
# self.log.debug("Found untagged rich trump truth embed: %r", msg.id)
|
||||
# return True
|
||||
for __t_e in msg.embeds:
|
||||
if __t_e.type == "rich" and __t_e.colour.value == 0x5448EE:
|
||||
if __t_e.type == "rich" and __t_e.colour is not None and __t_e.colour.value == 0x5448EE:
|
||||
self.log.debug("Found tagged rich trump truth embed: %r", msg.id)
|
||||
return True
|
||||
return False
|
||||
|
@ -275,7 +275,7 @@ class QuoteQuota(commands.Cog):
|
|||
)
|
||||
messages: list[discord.Message] = await channel.history(
|
||||
limit=None,
|
||||
after=discord.Object(1228516325681532928)
|
||||
after=discord.Object(1229487065117233203)
|
||||
).flatten()
|
||||
trump_stats = await self._process_trump_truths(messages)
|
||||
tate_stats = await self._process_tate_truths(messages)
|
||||
|
|
Loading…
Reference in a new issue