#Editing embeds

22 messages · Page 1 of 1 (latest)

light depot
#

How would I edit the embed to include the ping?

quiet robinBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

night latch
#

call setDescription() on the specific embed instead of on an array

night latch
#

Do you know what [] means in JavaScript?

light depot
#

array

#

ah

#

better?

night latch
#

That "works" but you're only setting the description on the embed object within your code

You need to actually edit the message with the newly-updated embed

light depot
#

ah

night latch
light depot
#

yes

night latch
#

and what happened

light depot
#

nvm

#

it worked

#

lol

#

0 ping

light depot
night latch
#

if that's what the git docs say