DEV Community

Discussion on: Send automated Discord messages through Webhooks using JavaScript (Part 2 - Embeds)

Collapse
 
oskarcodes profile image
Oskar Codes

Every property of the embed object is optional, so you can just remove the fields array if you don’t want it.

Collapse
 
dreamkickz1 profile image
DREAMKICKZ

I have tried to remove the value, but when I save and send the webhook, the message does not appear in my server. I am not too sure what you mean by fields array.