From 9b2f1b82cf284b997e6463c1dc0032bdc9fe68e8 Mon Sep 17 00:00:00 2001 From: Mael G Date: Sun, 28 Jul 2019 15:25:03 -0400 Subject: [PATCH] Avatar cmd fix --- cogs/funs.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cogs/funs.py b/cogs/funs.py index f89f92a..0ebd204 100755 --- a/cogs/funs.py +++ b/cogs/funs.py @@ -22,11 +22,10 @@ class Funs(commands.Cog): if user is None: user = ctx.message.author - embed = discord.Embed(title="Avatar de : " + user.name, - url=user.avatar_url_as(format="png"), - description=f"[Voir en plus grand]" + embed = discord.Embed(title="Avatar de " + user.name, + description=f"[Ouvrir dans mon navigateur]" f"({user.avatar_url_as(format='png')})") - embed.set_thumbnail(url=user.user.avatar_url_as(format="png")) + embed.set_image(url=user.avatar_url_as(format='png')) await ctx.send(embed=embed) """---------------------------------------------------------------------"""