agent-orchestrator/packages/plugins/notifier-discord
Dhruv Sharma b619461470 fix: assign 429 error to lastError so exhausted rate-limit throws immediately
Without this, the catch block's `err === lastError` identity check fails and
the error is absorbed into the retry loop instead of propagating.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 01:42:59 +05:30
..
src fix: assign 429 error to lastError so exhausted rate-limit throws immediately 2026-03-27 01:42:59 +05:30
README.md feat: OpenClaw plugin, AO skill, Discord notifier, and setup wizard 2026-03-23 21:52:28 +05:30
package.json fix: address CodeRabbit review comments 2026-03-26 21:58:19 +05:30
tsconfig.json feat: OpenClaw plugin, AO skill, Discord notifier, and setup wizard 2026-03-23 21:52:28 +05:30

README.md

notifier-discord

Discord webhook notifier plugin for AO. Sends rich embed notifications for session events, PR creation, CI status, and escalations.

Setup

  1. In your Discord server: Server Settings > Integrations > Webhooks > New Webhook
  2. Copy the webhook URL
  3. Add to agent-orchestrator.yaml:
defaults:
  notifiers:
    - desktop
    - discord

notifiers:
  discord:
    plugin: discord
    webhookUrl: https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN

Config options

Option Default Description
webhookUrl (required) Discord webhook URL
username "Agent Orchestrator" Bot display name
avatarUrl (none) Bot avatar image URL
threadId (none) Post to a specific thread
retries 2 Retry attempts on 5xx
retryDelayMs 1000 Base retry delay (exponential backoff)

Features

  • Rich embeds with color-coded priority (red=urgent, blue=action, yellow=warning, green=info)
  • PR links, CI status, and action buttons in embed fields
  • Thread support for organizing notifications by project
  • Retry with exponential backoff on 5xx responses