Discord messages appear as embeds rather than plaintext
See screenshots.
I managed to get the plaintext working by doing a raw curl to the webhook address with a simple JSON format message. I tried digging through the go source code but it is not my language. Wherever the JSON is constructed before doing the post, the tweak should be done there.
It'd be nice to have an option of either embeds -or- plaintext, but the reason I need plaintext is that I'm trying to chain notify-discord to matterbridge-irc. I can do it with the raw curl now, but it would be nice if I could use notify for this...matterbridge won't read the embed, but it WILL read the plaintext.
@mikedesu You can get plaintext Discord message by using custom webhook:
custom:
- id: webhook
custom_webhook_url: "https://discord.com/api/webhooks/..."
custom_method: POST
custom_format: '{"content":"{{data}}"}'
custom_headers:
Content-Type: application/json