/avatar (user)

want a /avatar (user) which shows the user inputed in (user) profile picture inside of an embed
10 Replies
d.js toolkit
d.js toolkit11mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
d.js docs
d.js docs11mo ago
:method: ClientUser#displayAvatarURL() A link to the user's avatar if they have one. Otherwise a link to their default avatar will be returned.
NyR
NyR11mo ago
Get the url and put it in the embed
OfficialHobberz
OfficialHobberzOP11mo ago
i want a (user) option
NyR
NyR11mo ago
That is a user option
OfficialHobberz
OfficialHobberzOP11mo ago
how do I do that
NyR
NyR11mo ago
Just read the docs, instead of using avatar property, use the method
OfficialHobberz
OfficialHobberzOP11mo ago
No description
OfficialHobberz
OfficialHobberzOP11mo ago
im confused
NyR
NyR11mo ago
It's User not user

Did you find this page helpful?