/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 toolkit10mo 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 docs10mo 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
NyR10mo ago
Get the url and put it in the embed
RIZE Hobberz
RIZE HobberzOP10mo ago
i want a (user) option
NyR
NyR10mo ago
That is a user option
RIZE Hobberz
RIZE HobberzOP10mo ago
how do I do that
NyR
NyR10mo ago
Just read the docs, instead of using avatar property, use the method
RIZE Hobberz
RIZE HobberzOP10mo ago
No description
RIZE Hobberz
RIZE HobberzOP10mo ago
im confused
NyR
NyR10mo ago
It's User not user
Want results from more Discord servers?
Add your server