Skip to content
Advertisement

discord.py avatar command bringing up error

I am running an avatar command which worked before, but every time I try to run it now it gives me the error :

JavaScript

I feel I am doing something dumb, but what is going wrong?

Here is the code:

JavaScript

Thanks in advance for the help.

Advertisement

Answer

If you’ve updated your discord.py then avatar_url got replaced with avatar.url.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement