Skip to main content

just-a-bot docs

Rendered from docs/README.md

Generated on every docs build. Edit the source in docs/, not here.

Start with the main README. This folder is the bot's operating manual: what each feature does, how to set it up, which env vars it needs, and how to triage it when it breaks. Each page is written once per feature and revisited when that feature changes.

This is the how, not the why​

The why lives in corpus/: locked decisions with their reasons, dated status, open questions, and the todos, briefs and log that record the work. The corpus is updated as work lands, so when the two disagree the corpus wins, and the code wins over both. Treat a claim here about current behavior as a lead, not a fact.

If you are an agent orienting in this repo, start at corpus/index.md, not here.

Pages​

FileWhat it covers
common/setup.mdInstall, typecheck, tests, the repo layout, how env vars are loaded
common/architecture.mdThe workspaces, the no-build runtime, the source layout, JSON persistence
discord/README.mdThe bot's feature index
discord/setup.mdToken and env vars, the Jukebox's variables, registering commands, running, the data files
discord/architecture.mdInteraction routing, button prefixes, data paths
images/The images used in the main README, and how each was made

One guide per feature, under discord/:

GuideCommands
gambling/coins /give /slots /blackjack /blackjack2 /dice /dice2
rpg/rpg
leaderboards/top
quotes/quote and the Save Quote message menu
reminders/remindme /birthday
hangman/hangman
trivia/trivia
img/img
mafia/mafia
confessions/confess
clock/clock
connect-four/c4 /c42
wordle/wordle
tictactoe/tictactoe
ask/ask
jukebox/jukebox

The split mirrors the source tree. Anything Discord-specific lives under discord/, anything repo-wide under common/.

Going deeper​

  • Docs site: /just-a-bot/docs/ renders these pages under "Manual" and the corpus wiki beside them. It is built from docs-site/ with npm run docs -w @bots/docs-site.
  • Project wiki: corpus/index.md, with decisions, status, the glossary and the work log.