Skip to content

Commit

Permalink
Quick Reminder Error Fix (#318)
Browse files Browse the repository at this point in the history
Changed `ctx.author.avatar.url` to `ctx.author.display_avatar.url`, which, according to @Infernum1, should solve the problem.

Co-authored-by: Infernum11 <[email protected]>
  • Loading branch information
ZethalMC and Infernum1 authored Jan 15, 2025
1 parent a76d989 commit 3544840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/cogs/commands/useful.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ async def reminders(self, ctx: Ctx):
embed = discord.Embed(color=self.bot.embed_color)
embed.set_author(
name=f"{ctx.author.display_name}'s reminders",
icon_url=ctx.author.avatar.url,
icon_url=ctx.author.display_avatar.url,
)
embed.set_footer(text=ctx.l.useful.remind.add.format(ctx.prefix))

Expand Down

0 comments on commit 3544840

Please sign in to comment.