Has any one tried webhooks with Discord?

Looks like Discord need something like this:

curl -X POST --data '{ "embeds": [{"title": "Topic Title", "url": "https://example.com", "description": "This is a test for webhooks", "type": "link", "thumbnail": {"url": "https://d11a6trkgmumsb.cloudfront.net/original/3X/c/b/cb4bec8901221d4a646e45e1fa03db3a65e17f59.png"}}] }' -H "Content-Type: application/json"  https://canary.discordapp.com/api/webhooks/url

that results:

You will need a plugin to format Discourse Webhook properly, or convince Discord to parse our webhook format (they already do exceptions for Github and Slack).

7 Likes