embeds

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