Skip to main content

Overview

Rendered from corpus/wiki/overview.md · updated 2026-11-05

This page is generated from the project corpus and rewritten on every docs build. Edit the source in corpus/, not here.

just-a-bot is a personal Discord bot (@bots/discord) with games, gambling, AI chat, image generation, reminders and an RPG world. It also plays music in voice: the Jukebox, a speaker that atrium steers (see jukebox.md). A D&D layer and an Instagram /post command were hidden for months and deleted on 2026-10-06 — see decisions.md.

It was a multi-bot monorepo — Slack, WhatsApp and a dice-table voice Activity lived here until 2026-08-27, when they were removed to make this a Discord-only repo (decisions.md). shared/ stays a separate workspace because it holds code with no Discord dependency, and the boundary enforces that.

  • Language/runtime: TypeScript on Node ≥ 22.12, run directly via tsx (no build step for the bots). ESM ("type": "module"), .ts import suffixes.
  • Structure: npm workspaces — shared/ (the @bots/shared package), bots/discord, and docs-site/ (the build-time documentation site, not a runtime). See architecture.md.
  • Process management: a container in production (since 2026-09-06), pm2 via ecosystem.config.cjs locally.

The Discord bot is organized as one feature directory per capability under bots/discord/src/ (e.g. rpg/, mafia/, trivia/, ask/), with a thin slash-command handler per feature in commands/.

Only the Jukebox has its own page (jukebox.md); the 2026-10-02 fixes across features are in audit-fixes.md. Most features are not catalogued here; pages get added as work touches them. In the meantime their operating manuals live in docs/ — one directory per feature. docs/ is the how, this wiki is the why, and docs/ ranks last when they disagree.