feat(discord): thread-only groups with auto-thread mentions + reaction gating (#540)

Co-authored-by: Letta Code <noreply@letta.com>
This commit is contained in:
Cameron
2026-03-09 16:32:38 -07:00
committed by GitHub
parent d038c1361a
commit 30c74a716c
6 changed files with 271 additions and 15 deletions

View File

@@ -440,6 +440,27 @@ Resolution follows the same priority as `mode`: specific channel/group ID > guil
This works across all channels (Discord, Telegram, Slack, Signal, WhatsApp).
### Discord Thread Controls
Discord supports extra per-group controls for thread-first workflows:
- `groups.<id>.threadMode: thread-only` -- bot responds only to messages in threads
- `groups.<id>.autoCreateThreadOnMention: true` -- for top-level @mentions, create a thread and reply there
Example (`#ezra` style):
```yaml
channels:
discord:
groups:
"EZRA_CHANNEL_ID":
mode: open
threadMode: thread-only
autoCreateThreadOnMention: true
```
Thread messages inherit parent channel config, so child threads under `EZRA_CHANNEL_ID` use the same group rules.
### Finding Group IDs
Each channel uses different identifiers for groups: