Send automated alerts to Discord channels using Webhooks. Includes built-in rate limit handling.
Configuration Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| WebhookUrl | Yes | string | Discord Webhook URL |
| Body | Yes | string | Message content |
Example Configuration
WebhookUrl =
https://discord.com/api/webhooks/000000000000000000/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Body = 🚨 **Alert**: Machine stopped unexpectedly at {timestamp}Setup Instructions
- Open your Discord server settings
- Navigate to Integrations > Webhooks
- Click New Webhook
- Configure name and target channel
- Copy the Webhook URL
Formatting
Discord supports Markdown formatting:
**bold**for bold*italic*for italic`code`forcode> quotefor block quotes
Internal Behavior
- Token Bucket: Rate limiter (5 requests per 2 seconds)
- 429 Handling: Automatic retry with
Retry-Afterheader - Retry Logic: Up to 3 retries on rate limit or server errors