---
name: "Discord chat transport"
agent: coder-opus
---

# Story 472: Discord chat transport

## User Story

As a user who uses Discord, I want to control huskies from a Discord server so I can create stories, check status, start agents, and chat with the bot from Discord like I can from Matrix.

## Acceptance Criteria

- [ ] Discord transport implements the ChatTransport trait (send_message, send_typing, etc.)
- [ ] Bot connects via Discord gateway websocket using serenity crate
- [ ] All shared bot commands (status, help, start, unblock, etc.) work from Discord
- [ ] Stage transition and block notifications are posted to configured Discord channel(s)
- [ ] LLM fallthrough works — non-command messages are forwarded to Claude Code
- [ ] Config in bot.toml: discord_token, discord_channel_ids, allowed_users
- [ ] Bot only responds when mentioned or in configured channels

## Out of Scope

- TBD
