just-a-bot — one gateway, many features, one shared package

just-a-bot — one gateway, many features, one shared package An architecture diagram generated by Archify. Discord · slash commands · Architecture component Discord slash commands The bot process · tsx, no build step · the VPS — one pm2 process · pm2 The bot process tsx, no build step pm2 Command registry · register.ts · the VPS — one pm2 process · hidden ones live here Command registry register.ts hidden ones live here Feature directories · trivia · rpg · gambling · … · the VPS — one pm2 process · one per capability Feature directories trivia · rpg · gambling · … one per capability @bots/shared · no Discord dependency · the VPS — one pm2 process @bots/shared no Discord dependency bots/data · per-feature state · the VPS — one pm2 process bots/data per-feature state Ollama · chat + images, local · Architecture component Ollama chat + images, local gateway websocket registers on boot dispatch own their state env · logger · reminders ask · img the VPS — one pm2 process Legend Backend Database Cloud External

One feature, one directory

  • • A capability owns its commands, its handlers and its own state
  • • Adding one means adding a directory, not editing a central switch
  • • The registry is the only place that has to know they all exist

shared/ is defined by what it may NOT do

  • • It holds only code with no Discord dependency — env, logging, reminders
  • • That constraint is why two workspaces survived the multi-bot removal
  • • It is not a junk drawer; it is a boundary

Removed

  • • Music is gone; a new in-house design is planned, built from zero
  • • /dnd and /post were deleted on 2026-10-06; git history keeps them