/avatar (user)
want a /avatar (user) which shows the user inputed in (user) profile picture inside of an embed
10 Replies
- 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!:method: ClientUser#displayAvatarURL()
A link to the user's avatar if they have one. Otherwise a link to their default avatar will be returned.
Get the url and put it in the embed
i want a (user) option
That is a user option
how do I do that
Just read the docs, instead of using avatar property, use the method
im confused
It's
User
not user