Skip to content

Commit

Permalink
Update qotd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsbirb committed Nov 29, 2024
1 parent 095e831 commit 174a3ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cogs/Events/qotd.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ async def sendqotd(self) -> None:
color=discord.Color.yellow(),
timestamp=datetime.datetime.utcnow(),
)
if not result.get("day"):
if not results.get("day"):
day = len(messages)
else:
day += result.get("day")
day += results.get("day")
embed.set_footer(
text=f"Day #{day}",
icon_url="https://cdn.discordapp.com/emojis/1231270156647403630.webp?size=96&quality=lossless",
Expand Down

0 comments on commit 174a3ec

Please sign in to comment.