openclaw/docs/channels
David Marsh 4be297d650 feat(discord): add reactionTrigger config for invoking agent on reactions
Add new reactionTrigger option to Discord guild config that allows reactions
to invoke an agent turn immediately, instead of just queueing a system event.

Modes:
- off (default): existing behavior, reactions queue system events
- own: trigger when reacting to bot's own messages
- all: trigger on any reaction
- allowlist: trigger for reactions from users in guilds.<id>.users

Key implementation details:
- Unique MessageSid format for reactions to avoid inbound deduplication
- Pass token through reaction listeners for reply delivery
- Body format prompts agent to acknowledge the reaction

New files:
- src/discord/monitor/reaction-trigger.ts: dispatch module for reaction triggers

Modified:
- Schema, types, and allow-list helpers for the new config option
- listeners.ts to check trigger mode and dispatch accordingly
- provider.ts to pass token to reaction listeners
- docs/channels/discord.md with documentation
2026-01-29 07:52:43 -08:00
..
bluebubbles.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
discord.md feat(discord): add reactionTrigger config for invoking agent on reactions 2026-01-29 07:52:43 -08:00
googlechat.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
grammy.md fix(telegram): honor linkPreview on fallback (#1730) 2026-01-25 07:55:39 +00:00
imessage.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
index.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
line.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
location.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
matrix.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
mattermost.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
msteams.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
nextcloud-talk.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
nostr.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
signal.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
slack.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
telegram.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
tlon.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
troubleshooting.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
twitch.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
whatsapp.md Update self message trust policy in WhatsApp docs 2026-01-28 20:31:33 -05:00
zalo.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
zalouser.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00