embeds

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