You can post incidents from Better Stack to a channel on Discord using webhooks.
- Add a new Webhook from your Discord server. Server Settings > Integrations > Webhooks.
- Name your bot and set what channel it posts to.
- Copy the Webhook URL.
- In the Better Stack Admin, go to Integrations > Exporting Data > Outgoing webhooks > Configure > Incident webhook > Add.
- Paste your Discord webhook URL.
- Expand Advanced Settings.
- Copy and paste the contents of
request_body.json
, above, into the Request body template field. - Test your webhook—it should have sent a message to Discord.
- Modify the fields and structure to suit your needs. https://birdie0.github.io/discord-webhooks-guide/structure/embed/fields.html
Here's an avatar to use for your bot:
Happy status reporting!