how to get a user avatar in discordpy code example
Example 1: discord.py get client avatar
clientProfilePicture = client.user.avatar_url
Example 2: How to get a user's avatar with their id in discord.py?
@commands.command()
async def avatar(self, ctx, *, avamember : discord.Member=None):
userAvatarUrl = avamember.avatar_url
await ctx.send(userAvatarUrl)