Answers for "How to get a user's avatar with their id in discord.py?"

0

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)
Posted by: Guest on April-18-2021

Code answers related to "How to get a user's avatar with their id in discord.py?"

Python Answers by Framework

Browse Popular Code Answers by Language