Summary
When a new message comes in and the bot is already processing, react with 👀 to acknowledge receipt.
How Andy's System Does It
In discord-agent-bridge, the acknowledgment is server-side driven:
- Discord bot receives message, sends it to session manager via webhook
- Session manager returns
{ busy: true } if already processing
- Bot reacts with 👀 when it receives
busy: true
The system also uses:
- ⏸️ for paused threads
- ▶️ for resumed threads
- 👀 for busy (message received, will process when ready)
Decision: Option B (Server-side)
Chosen approach: Check BullMQ queue depth, only show 👀 if jobs are already queued for this thread.
Implementation
- Message received → Queue job
- Before queueing, check if thread already has waiting/active jobs in BullMQ
- If queue has pending jobs → React with 👀
- If queue is empty → No reaction (response will come quickly)
Why This Over Option A
- More accurate - doesn't show 👀 for instant responses
- Matches Andy's existing behavior
- Better UX - 👀 means "I see you, working on something else first"
Reference
See system/repos/discord-agent-bridge/src/bot.ts lines 360-363
Summary
When a new message comes in and the bot is already processing, react with 👀 to acknowledge receipt.
How Andy's System Does It
In discord-agent-bridge, the acknowledgment is server-side driven:
{ busy: true }if already processingbusy: trueThe system also uses:
Decision: Option B (Server-side)
Chosen approach: Check BullMQ queue depth, only show 👀 if jobs are already queued for this thread.
Implementation
Why This Over Option A
Reference
See
system/repos/discord-agent-bridge/src/bot.tslines 360-363