12 Replies
d.js toolkit
d.js toolkitβ€’14mo 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! - βœ… Marked as resolved by OP
πŸ©Έπ“†©α΄ α΄€α΄α΄˜π“†ͺ
discord.js: 14.7.1
kin.ts
kin.tsβ€’14mo ago
you are not calling the function, and show the error instead of just say "shows error"
πŸ©Έπ“†©α΄ α΄€α΄α΄˜π“†ͺ
The error says " one or more error was found "
kin.ts
kin.tsβ€’14mo ago
screenshot the full error
πŸ©Έπ“†©α΄ α΄€α΄α΄˜π“†ͺ
It shows that everytime I use that `iconURL:' part
kin.ts
kin.tsβ€’14mo ago
how u define targetUser?
πŸ©Έπ“†©α΄ α΄€α΄α΄˜π“†ͺ
I'm on mobile now so can't but that's the error i remember I don't remember exactly but " targetUser " works fine everywhere else except inside iconURL part It shows username when I use user.tag and Id when i use .id But .user.displaAvatarURL doesn't work
kin.ts
kin.tsβ€’14mo ago
because u didn't call the function .user.displayAvatarURL()
πŸ©Έπ“†©α΄ α΄€α΄α΄˜π“†ͺ
I tried dropping random image url instead of ${targetUser.user.displayAvatarURL} and it works but idk why not with ${targetUser.user.displayAvatarURL} Oh Alright so rest all part is correct?
kin.ts
kin.tsβ€’14mo ago
from what i see in ur screenshot, yes
πŸ©Έπ“†©α΄ α΄€α΄α΄˜π“†ͺ
Ye thanks man.. I'm still new in all this

Did you find this page helpful?