Skip to main content

just-a-bot

just-a-bot is a personal Discord bot with games, gambling, AI chat, image generation, reminders and an RPG world. One feature directory per capability, one process under pm2.

Runtime
TypeScript on Node ≥ 22.12, run directly via tsx — no build step
Modules
ESM, with .ts import suffixes
Workspaces
shared/ (@bots/shared) and bots/discord
Process
pm2, via ecosystem.config.cjs
Was
A multi-bot monorepo — Slack, WhatsApp and a voice Activity, all removed 2026-08-27
The shape to notice is how flat it is: a feature owns its own commands and its own data, and shared/ holds only what has no Discord dependency — open full screen, where search, tracing and the guided views are usable.

Two kinds of documentation, kept apart​

This site renders two source trees, and the split is worth knowing before you go looking for something:

SectionSourceAnswers
Manualdocs/What a command does, and how to set it up.
Maintainercorpus/wiki/Why the repo is shaped this way, and what was tried.

Neither restates the other, and both are generated on every build. Edit the source, not the rendered page.

Things a new reader gets wrong​

It is Discord-only now. Slack, WhatsApp and a dice-table voice Activity all lived here until 2026-08-27. Two workspaces remain, but only because shared/ still holds code with no Discord dependency — not because a second bot is coming back.

There is no music. The old third-party approach is gone. A new in-house design is planned and will be built from zero.

Some features are built but hidden. A D&D layer and an Instagram /post command exist and are commented out of the command registry. They are not unfinished in the sense of broken — they are unfinished in the sense of undecided. See status.

There is no build step. tsx runs the TypeScript directly. If you are looking for dist/, it does not exist, and the deploy does not make one.

Where to go next​

If you want toRead
Run it yourselfSetup
Know what a command doesThe Manual section
Add a featureArchitecture, then a sibling feature's directory
Navigate unfamiliar codeThe code graph
Know what was decidedDecisions