Skip to content

Discord Integration

Book-E lives on the Dashecorp Agents Discord server.

Configuration

Setting Value
Server Dashecorp Agents (1477259107684847708)
Channel #invoices (1485376090556862626)
Bot Book-E Agent (1485635464533770375)
DMs Enabled
Public bot Disabled
Allowed bots Codi-E (1477267530946187305)

Interaction Model

Channel Messages

Every message in #invoices from a human (or allowed bot) triggers Book-E:

  1. Book-E creates a thread on the message
  2. Processes the message via Claude Haiku
  3. Replies in the thread

DMs

Direct messages work the same but without threads (Discord doesn't support threads in DMs). Conversation history keyed by dm-{userId}.

Thread Per Document

Each receipt, invoice, or question gets its own thread. Multi-turn conversations happen within the thread.

#invoices channel:
  [Email forward: Adobe invoice PDF]
    └── Thread: "Stig-Johnny — 23.03.2026"
        Book-E: "Adobe 199 kr → konto 6540. Auto-godkjent."

  [Email forward: Unknown supplier]
    └── Thread: "Stig-Johnny — 23.03.2026"
        Book-E: "Ukjent leverandør: NewCorp AS. Sendt til gjennomgang."
        Book-E: "Godkjent av Review-E. Konto 6540, 25% MVA."

Bot Permissions

  • View Channels
  • Send Messages
  • Read Message History
  • Create Public Threads
  • Send Messages in Threads
  • Attach Files
  • Embed Links