diff --git a/cogs/fun.py b/cogs/fun.py index f0ab3357..70794efc 100644 --- a/cogs/fun.py +++ b/cogs/fun.py @@ -278,7 +278,7 @@ class Fun(Cog): colour=self.bot.random_colour(), timestamp=datetime.datetime.utcnow()) doggo_embed.set_image(url=image_link) - doggo_embed.set_footer(text=f"Requested by {member}", icon_url='{}'.format(userAvatar)) + doggo_embed.set_footer(text=f"Requested by {member}", icon_url=userAvatar) # Send the doggo image await ctx.send(embed=doggo_embed) @@ -305,7 +305,7 @@ class Fun(Cog): colour=self.bot.random_colour(), timestamp=datetime.datetime.utcnow()) doggo_embed.set_image(url=image_link) - doggo_embed.set_footer(text=f"Requested by {member}", icon_url='{}'.format(userAvatar)) + doggo_embed.set_footer(text=f"Requested by {member}", icon_url=userAvatar) # Send random doggo image to the channel await ctx.send(embed=doggo_embed) diff --git a/cogs/info.py b/cogs/info.py index b04f15fc..f4e0b5a2 100644 --- a/cogs/info.py +++ b/cogs/info.py @@ -196,7 +196,7 @@ class Info(Cog): timestamp=datetime.datetime.utcnow() ) embed.set_thumbnail(url=userAvatar) - embed.set_footer(text=f"ID: {member.id}", icon_url='{}'.format(userAvatar)) + embed.set_footer(text=f"ID: {member.id}", icon_url=userAvatar) # Define fields to be added into the embed embed_fields = [("Name", member.mention, True), @@ -284,7 +284,7 @@ class Info(Cog): colour=self.bot.random_colour(), timestamp=datetime.datetime.utcnow()) embed.set_thumbnail(url=guild_icon) - embed.set_footer(text=f"ID: {guild_id}", icon_url='{}'.format(guild_icon)) + embed.set_footer(text=f"ID: {guild_id}", icon_url=guild_icon) # Get the list of banned users from the server bans = len(await ctx.guild.bans()) if perms.ban_members else "N/A"