Discord Bot Platform  ·  View 11 of 19  ·  Runtime

Critical Flow — Slash Command to Reply

Message 7 is the contract: acknowledge inside 3 seconds or the user is told it failed.

Editable source SVG draw.io All views
Member Chat Client Interaction Service Interaction Egress Bot Endpoint API Edge 1. /poll question 2. create interaction 3. validate, permissions 4. enqueue delivery 5. POST + Ed25519 sig 6. verify signature 7. type 5 deferred ack 8. ack within 3 s 9. show thinking… 10. PATCH original response 11. update message 12. no ack: mark failed 13. ephemeral failure Discord Bot Platform — Critical Flow: Slash Command to Reply Messages 12–13 are the timeout branch; they fire at 3.0 s, not later. v 1.0 · owner Integration Platform Architecture · date 2026-10

Where the boundary falls

  • Messages 5–8 are the only moment the platform waits on a stranger, and the wait is bounded (ADR-03).
  • Signature verification at message 6 is proved by the platform periodically sending a bad one.

Failure branch

  • Messages 12–13: no ack at 3.0 s means an ephemeral failure to the user, and a counted miss for the application.