@client.command(aliases=['av'])
async def avatar(ctx, user: discord.Member = None):
if not user:
user = ctx.message.author
embed = discord.Embed()
embed.set_image(url=user.avatar_url)
embed.set_footer(text=f'Avatar from {user}')
await ctx.channel.send(embed=embed)
clientProfilePicture = client.user.avatar_url