can't get avatar per server with user.ID
Hi guys, so there is my problem, I have an avatar command that displays avatar per server & default avatar, this actually works very good but only without any mentions.
When I try to mention someone by ID or @ instead of showing me their avatar per server it shows MY avatar, but the default button works fine.
I get avatar per user via
I know what's the problem but I don't really know how to fix it, the principal problem is that
When I try to mention someone by ID or @ instead of showing me their avatar per server it shows MY avatar, but the default button works fine.
I get avatar per user via
message.member.displayAvatarURL and default avatar via user.displayAvatarURLI know what's the problem but I don't really know how to fix it, the principal problem is that
message.member.displayAvatarURL doesn't get the ID that I mention in a message, while message.member.displayAvatarURL does, for example:
