DEV Community

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

Collapse
 
oskarcodes profile image
Oskar Codes

So I took a look at your code and it seems fine, so I think the issue is in the Webhook endpoint URL. Check if you’ve got it correct, because browsing to that URL returns a 'Unknown Webhook' response.

Collapse
 
notzastix profile image
ZastixYT • Edited

Yeah i have the webhook url correct because when i run the code it sends the all of the other data, but it doesnt send the field. picture below of what the code i sent shows:

cdn.discordapp.com/attachments/945...

Collapse
 
notzastix profile image
ZastixYT

Also if you dont mind can you send me an example of code that successfully sends the field, Thanks.