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
.tsimport suffixes - Workspaces
shared/(@bots/shared) andbots/discord- Process
- pm2, via
ecosystem.config.cjs - Was
- A multi-bot monorepo — Slack, WhatsApp and a voice Activity, all removed 2026-08-27
Two kinds of documentation, kept apart
This site renders two source trees, and the split is worth knowing before you go looking for something:
| Section | Source | Answers |
|---|---|---|
| Manual | docs/ | What a command does, and how to set it up. |
| Maintainer | corpus/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 to | Read |
|---|---|
| Run it yourself | Setup |
| Know what a command does | The Manual section |
| Add a feature | Architecture, then a sibling feature's directory |
| Navigate unfamiliar code | The code graph |
| Know what was decided | Decisions |