Getting Banner URL
GIST: https://gist.github.com/KiraKenjiro/de1460359c1b33dc5f2d55763eae95a2
That code returns this value,
Is there something i'm doing wrong to get the banner?
Gist
This is a Discord bot designed to easily retrieve your account deta...
This is a Discord bot designed to easily retrieve your account details using your ID. - index.js
8 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!
- ✅
Marked as resolved by OPYou need to force fetch the user
Ohh, okay lemme give that a shot! ^^
UserManager#fetch()
Obtains a user from Discord, or the user cache if it's already User#fetch()
Fetches this user.
I'm using this and it still doesn’t get the url
I feel like im doing something wrong here xD
.fetch(userID, { force: true })
oh you have to include the tag okay, got it <3 thanks dan
Of course