Removing .format() in favour of fstrings

pull/8/head
sgoudham 4 years ago
parent dfa7c99c0b
commit 80cf8bcb9c

@ -679,7 +679,7 @@ class Help(Cog):
colour=self.bot.admin_colour, colour=self.bot.admin_colour,
timestamp=datetime.datetime.utcnow()) timestamp=datetime.datetime.utcnow())
embed.set_thumbnail(url=ctx.bot.user.avatar_url) 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), fields = [("Developer", f"{self.bot.hammyMention} | Hamothy#5619", False),
("Data Collection", ("Data Collection",
"\nData Stored:" + "\nData Stored:" +

@ -434,7 +434,7 @@ class Info(Cog):
colour=self.bot.admin_colour, colour=self.bot.admin_colour,
timestamp=datetime.datetime.utcnow()) timestamp=datetime.datetime.utcnow())
embed.set_image(url=userAvatar) 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) await ctx.send(embed=embed)

Loading…
Cancel
Save