embeds

defaultAvatarURL is used for the dafault icon right, how to get the current avatar?
12 Replies
d.js toolkit
d.js toolkit•15mo 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!
ItzDaSrijan
ItzDaSrijan•15mo ago
also what is data, fields, image, length, provider, url, video used for in embeds?
chewie
chewie•15mo ago
displayAvatarURL() is what you want
ItzDaSrijan
ItzDaSrijan•15mo ago
ah
d.js docs
d.js docs•15mo ago
discord Channel: Channels Resource - Embed Object read more
ItzDaSrijan
ItzDaSrijan•15mo ago
nothing about data, length is given there
chewie
chewie•15mo ago
data is that what I send above embed.data is an APIEmbed
ItzDaSrijan
ItzDaSrijan•15mo ago
alright and last thing, what is length used for I read docs but didn't completely understand
chewie
chewie•15mo ago
Its the combined character length of the embed
ItzDaSrijan
ItzDaSrijan•15mo ago
so I can get the character count
chewie
chewie•15mo ago
Yes
ItzDaSrijan
ItzDaSrijan•15mo ago
ahk gotcha thanks a lot!
Want results from more Discord servers?
Add your server