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