#Handle discord notifications
1 messages · Page 1 of 1 (latest)
Best pattern is a two-lane setup:
-
Routine status -> a dedicated Discord status channel
- Point normal cron
--announceoutput tochannel:<statusChannelId> - Mute that channel in Discord
- Point normal cron
-
Urgent stuff -> DM or a separate alerts channel
- For hard failures, use cron failure alerts
- For “semantic urgent” stuff, use a second alert-only job that returns
NO_REPLYunless something actually needs attention
A solid setup looks like this:
# normal status
openclaw cron edit <job-id> \
--announce \
--channel discord \
--to "channel:<statusChannelId>"
# urgent failures -> DM you
openclaw cron edit <job-id> \
--failure-alert \
--failure-alert-after 1 \
--failure-alert-channel discord \
--failure-alert-to "user:<yourUserId>"
A few notes:
- Discord DM targets are
user:<id> - Discord channel targets are
channel:<id> - If you want fewer false alarms, set
--failure-alert-after 2or3
For non-failure urgent signals, I’d do a separate isolated cron (or heartbeat) with a prompt like:
“Only alert me if something needs immediate attention. Otherwise reply exactly
NO_REPLY.”
That works well because isolated cron runs suppress delivery when the result is just NO_REPLY.
Also, if some of your current crons are just periodic checks, move those to heartbeat instead of cron. Heartbeat already supports silent OKs, alerts on, which is much better for low-noise monitoring.
Docs:
- https://docs.openclaw.ai/automation/cron-jobs
- https://docs.openclaw.ai/gateway/heartbeat
- https://docs.openclaw.ai/channels/discord
If you want, I can help sketch the exact cron/heartbeat layout for your setup.
I wonder if I should use multiple channels? If I spin up my own mattermost server, is it have all the same features in terms of openclaw?
Yeah, I’d try multiple Discord channels first.
That’s the cleanest setup:
#agent-status: routine cron output, mute this channel- DM or
#agent-alerts: only urgent/failure stuff, leave this unmuted - Optional: move “periodic checks” to heartbeat so you get silent OKs and only alerts when something matters
I would not switch to Mattermost just for this unless you specifically want self-hosting.
OpenClaw’s Mattermost support is solid, but it is not feature-parity with Discord. Mattermost gives you:
- channels, groups, DMs
- threading
- reactions
- inline buttons
- opt-in native slash commands
Discord has a broader surface in OpenClaw, including things like:
- richer interactive components/forms
- forum/thread workflows + thread bindings
- polls
- pins/search/permissions/channel admin actions
- voice support
- stickers/emoji/event tooling
Also, Mattermost has a bit more setup friction because slash commands and button callbacks need a reachable callback URL from the Mattermost server.
So my recommendation is:
- Stay on Discord
- Split status and alerts into separate destinations
- Use DM for urgent stuff if you really want it impossible to miss
Docs:
- Discord: https://docs.openclaw.ai/channels/discord
- Mattermost: https://docs.openclaw.ai/channels/mattermost
- Cron: https://docs.openclaw.ai/automation/cron-jobs
- Heartbeat: https://docs.openclaw.ai/gateway/heartbeat
If you want, I can sketch a concrete “best-practice” layout for 3-5 jobs, like which ones should be cron, which should be heartbeat, and where each should send.
Any other self-hosted options have openclaw parity with discord?
Short version: no self-hosted option has full Discord parity in OpenClaw right now.
The closest is probably Matrix.
Rough ranking
1. Matrix, closest
- supports DMs, rooms, threads, media, reactions, polls, location, E2EE
- has thread bindings / durable ACP workspace support
- supports pins, read/edit/delete-style message actions, approvals, member/channel info
What it still does not match from Discord:
- voice
- Discord-style components/modals
- forum-channel workflows
- Discord-specific admin/event/sticker/emoji surface
2. Mattermost, decent but clearly smaller
- channels, groups, DMs
- threading
- reactions
- inline buttons
- opt-in native slash commands
But it is behind Discord and behind Matrix on overall OpenClaw surface.
3. Nextcloud Talk / Synology Chat, much narrower
- useful if you already live there
- not close to Discord parity
So my recommendation would be:
- If your goal is just better notification hygiene: stay on Discord and split status vs alerts
- If you want self-hosted and closest parity: choose Matrix
- If you want simple self-hosted team chat and can live with fewer features: choose Mattermost
Docs:
- Matrix: https://docs.openclaw.ai/channels/matrix
- Mattermost: https://docs.openclaw.ai/channels/mattermost
- Nextcloud Talk: https://docs.openclaw.ai/channels/nextcloud-talk
- Discord: https://docs.openclaw.ai/channels/discord
If this fixed it, please right-click the solution message → Apps → ✅ Mark Solution. That helps Answer Overflow index it for future users.
Any of them have thinking cards, and tool cards?
Not really, no.
If by thinking cards / tool cards you mean the richer inspectable UI, that is mainly in:
- Control UI
- TUI
Those surfaces have the real “card” treatment for tool calls/output.
On chat channels, including the self-hosted ones, OpenClaw mostly falls back to:
- reasoning as a separate message with
/reasoning on - tool summaries as separate bubbles with
/verbose onor/verbose full
A few specifics:
- Discord has the richest chat UI stuff overall, but that is mostly components/approval cards/custom UI, not full Control-UI-style tool cards