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