From 511e6712f01ed9c3980d79908d5d665994ff976b Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 16 Aug 2020 19:09:50 +0100 Subject: [PATCH] Removing .format() --- cogs/interactive.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cogs/interactive.py b/cogs/interactive.py index 8d51ad8b..877d46d8 100644 --- a/cogs/interactive.py +++ b/cogs/interactive.py @@ -173,7 +173,7 @@ class Interactive(Cog): colour=self.bot.random_colour(), timestamp=datetime.datetime.utcnow()) embed.set_image(url=random.choice(cuddling_array)) - embed.set_footer(text=f"Requested by {member}", icon_url='{}'.format(userAvatar)) + embed.set_footer(text=f"Requested by {member}", icon_url=userAvatar) # Send the embedded message to the user await ctx.send(embed=embed) @@ -209,7 +209,7 @@ class Interactive(Cog): colour=self.bot.random_colour(), timestamp=datetime.datetime.utcnow()) embed.set_image(url=random.choice(killing_array)) - embed.set_footer(text=f"Requested by {member}", icon_url='{}'.format(userAvatar)) + embed.set_footer(text=f"Requested by {member}", icon_url=userAvatar) # Send the embedded message to the user await ctx.send(embed=embed) @@ -245,7 +245,7 @@ class Interactive(Cog): colour=self.bot.random_colour(), timestamp=datetime.datetime.utcnow()) embed.set_image(url=random.choice(slapping_array)) - embed.set_footer(text=f"Requested by {member}", icon_url='{}'.format(userAvatar)) + embed.set_footer(text=f"Requested by {member}", icon_url=userAvatar) # Send the embedded message to the user await ctx.send(embed=embed) @@ -281,7 +281,7 @@ class Interactive(Cog): colour=self.bot.random_colour(), timestamp=datetime.datetime.utcnow()) embed.set_image(url=random.choice(patting_array)) - embed.set_footer(text=f"Requested by {member}", icon_url='{}'.format(userAvatar)) + embed.set_footer(text=f"Requested by {member}", icon_url=userAvatar) # Send the embedded message to the user await ctx.send(embed=embed) @@ -316,7 +316,7 @@ class Interactive(Cog): colour=self.bot.random_colour(), timestamp=datetime.datetime.utcnow()) embed.set_image(url=random.choice(lemon_array)) - embed.set_footer(text=f"Requested by {member}", icon_url='{}'.format(userAvatar)) + embed.set_footer(text=f"Requested by {member}", icon_url=userAvatar) # Send the embedded message to the user await ctx.send(embed=embed) @@ -351,7 +351,7 @@ class Interactive(Cog): colour=self.bot.random_colour(), timestamp=datetime.datetime.utcnow()) embed.set_image(url=random.choice(choking_array)) - embed.set_footer(text=f"Requested by {member}", icon_url='{}'.format(userAvatar)) + embed.set_footer(text=f"Requested by {member}", icon_url=userAvatar) # Send the embedded message to the user await ctx.send(embed=embed) @@ -387,7 +387,7 @@ class Interactive(Cog): colour=self.bot.random_colour(), timestamp=datetime.datetime.utcnow()) embed.set_image(url=random.choice(hugging_array)) - embed.set_footer(text=f"Requested by {member}", icon_url='{}'.format(userAvatar)) + embed.set_footer(text=f"Requested by {member}", icon_url=userAvatar) # Send the embedded message to the user await ctx.send(embed=embed)