Skip to main content

General

Discord Notifications

Send alerts to Discord channels via Webhooks.

Send automated alerts to Discord channels using Webhooks. Includes built-in rate limit handling.

Configuration Parameters

ParameterRequiredTypeDescription
WebhookUrlYesstringDiscord Webhook URL
BodyYesstringMessage content

Example Configuration

WebhookUrl =
https://discord.com/api/webhooks/000000000000000000/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Body = 🚨 **Alert**: Machine stopped unexpectedly at {timestamp}

Setup Instructions

  1. Open your Discord server settings
  2. Navigate to Integrations > Webhooks
  3. Click New Webhook
  4. Configure name and target channel
  5. Copy the Webhook URL

Formatting

Discord supports Markdown formatting:

  • **bold** for bold
  • *italic* for italic
  • `code` for code
  • > quote for block quotes

Internal Behavior

  • Token Bucket: Rate limiter (5 requests per 2 seconds)
  • 429 Handling: Automatic retry with Retry-After header
  • Retry Logic: Up to 3 retries on rate limit or server errors