From 80cf8bcb9ca46b102fb9547adcf7e4720ef58a52 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 16 Aug 2020 19:19:30 +0100 Subject: [PATCH] Removing .format() in favour of fstrings --- cogs/help.py | 2 +- cogs/info.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/help.py b/cogs/help.py index c289843e..53e90d28 100644 --- a/cogs/help.py +++ b/cogs/help.py @@ -679,7 +679,7 @@ class Help(Cog): colour=self.bot.admin_colour, timestamp=datetime.datetime.utcnow()) embed.set_thumbnail(url=ctx.bot.user.avatar_url) - embed.set_footer(text=f"Requested by {ctx.author}", icon_url='{}'.format(ctx.author.avatar_url)) + embed.set_footer(text=f"Requested by {ctx.author}", icon_url=ctx.author.avatar_url) fields = [("Developer", f"{self.bot.hammyMention} | Hamothy#5619", False), ("Data Collection", "\nData Stored:" + diff --git a/cogs/info.py b/cogs/info.py index f44b23c8..02225db8 100644 --- a/cogs/info.py +++ b/cogs/info.py @@ -434,7 +434,7 @@ class Info(Cog): colour=self.bot.admin_colour, timestamp=datetime.datetime.utcnow()) embed.set_image(url=userAvatar) - embed.set_footer(text=f"Requested by {ctx.author}", icon_url='{}'.format(ctx.author.avatar_url)) + embed.set_footer(text=f"Requested by {ctx.author}", icon_url=ctx.author.avatar_url) await ctx.send(embed=embed)