Fix NameError
This commit is contained in:
parent
5829faba46
commit
b9eb78e71c
1 changed files with 1 additions and 3 deletions
|
@ -244,9 +244,7 @@ class QuoteQuota(commands.Cog):
|
||||||
await ctx.edit(embed=embed)
|
await ctx.edit(embed=embed)
|
||||||
|
|
||||||
async for message in channel.history(limit=None, after=discord.Object(1228516325681532928)): # bot's first msg
|
async for message in channel.history(limit=None, after=discord.Object(1228516325681532928)): # bot's first msg
|
||||||
if message.author.id == BOT_ID:
|
if is_truth(message):
|
||||||
if not any([x.type == "rich" for x in message.embeds]):
|
|
||||||
continue
|
|
||||||
count_all_time += 1
|
count_all_time += 1
|
||||||
|
|
||||||
embed.add_field(name="All time", value=f"{count_all_time:,}", inline=False)
|
embed.add_field(name="All time", value=f"{count_all_time:,}", inline=False)
|
||||||
|
|
Loading…
Reference in a new issue