Skip to content

Commit

Permalink
Merge pull request #317 from PyBotDevs/status-command-patch
Browse files Browse the repository at this point in the history
Fix `/status` command failure caused by `avatar_url`
  • Loading branch information
notsniped authored Nov 19, 2023
2 parents f6ae6b9 + 4d7cc34 commit bd2006b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit bd2006b

Please sign in to comment.