From 4d7cc347c570bf17d7af5cd308021b55e26c5006 Mon Sep 17 00:00:00 2001 From: snipe <72265661+notsniped@users.noreply.github.com> Date: Sun, 19 Nov 2023 18:48:01 +0530 Subject: [PATCH] Fix `/status` command failure caused by `avatar_url` --- cogs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/utils.py b/cogs/utils.py index 4a84d319..7dd41baa 100644 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -163,7 +163,7 @@ async def status(self, ctx: ApplicationContext): localembed.add_field(name="Registered Users", value=f"{bot_users} users", inline=True) localembed.add_field(name="Uptime History", value="[here](https://stats.uptimerobot.com/PlKOmI0Aw8)") localembed.add_field(name="Release Notes", value="[latest](https://github.com/PyBotDevs/isobot/releases/latest)") - localembed.set_footer(text=f"Requested by {ctx.author.name}", icon_url=ctx.author.avatar_url) + localembed.set_footer(text=f"Requested by {ctx.author.name}", icon_url=ctx.author.avatar) await ctx.respond(embed=localembed) @commands.slash_command(