We have a plugin thats supposed to webhook a message into discord when we run a specific command on our servers.. Im pretty sure its something to do with the way im formatting the content-type? It wont pass this through the webhook. Ive tried creating a new webhook just to be sure.
{
"headers: {"Content-Type": "application/json"},
},
{
"embeds": [
{
"image": {
"url": "https://image"
}
},
{
"title": "**THE SERVER HAS JUST WIPED**",
"description": "WE HAVE WIPED",
"color": 14614272,
"footer": {
"icon_url": "https://image",
"text": "CLIENT.CONNET IP"
},
"url": "#"
}
]
}