agent-orchestrator/packages/plugins/notifier-discord
Dhruv Sharma 570f3b588f fix: address CodeRabbit review comments
- Use consistent regex for OPENCLAW_HOOKS_TOKEN detection and replacement
  in shell profile (prevents silent no-ops for non-exported lines)
- Broaden token detection regex to match lines with/without export prefix
  and leading whitespace
- Fix misleading --non-interactive help text (token is auto-generated)
- Fix doctor.ts catch block to say "Notifier checks failed" not "load config"
- Fix 204 mock in Discord notifier test (ok: true, not ok: false)
- Fix weak no-duplicate assertion in setup.test.ts (actually count list items)
- Add discord to notifier options comment in config-instruction.ts
- URL-encode threadId in Discord webhook URL construction
- Add aoCwd to required[] in openclaw.plugin.json configSchema
- Add HTTPS recommendation comment to agent-orchestrator.yaml.example
- Add rimraf for cross-platform clean script in notifier-discord
- Rename "Recommended Settings" to "Required: Disable Conflicting Built-in Skills"
  with explicit warning in docs
- Add /ao setup post-setup reminder to manually disable coding-agent skill
- Fix misleading README non-interactive example wording

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 21:58:19 +05:30
..
src fix: address CodeRabbit review comments 2026-03-26 21:58:19 +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