2026-08-22 15:24:48 -04:00
2026-08-22 15:24:48 -04:00
2026-08-22 19:50:35 -04:00
2026-08-22 20:00:57 -04:00
2026-08-22 20:00:57 -04:00
2026-08-22 20:09:47 -04:00
2026-08-22 20:08:00 -04:00
2026-08-22 15:36:23 -04:00

kaczynski-bot-2.0

A Discord bot built with Bun.

Setup

Install dependencies:

bun install

Create a .env.development file with:

DISCORD_TOKEN=your-bot-token

Development

bun run dev

Commands

Commands live in src/cmd/registry/ and are loaded automatically at startup — drop a file default-exporting a Command in that folder to register it, no manual wiring required.

Data persistence

Bot state (e.g. limbo mode) is persisted to data/data.json via DataService. That path is gitignored.

Production build

bun run build

Bundles src/index.ts and every file in src/cmd/registry/ into dist/. Run the result with:

bun dist/index.js

Docker

Build the image:

docker build -t kaczynski-bot .

Run it, mounting a volume so data/data.json survives container restarts:

docker run -d \
  -e DISCORD_TOKEN=your-bot-token \
  -v kaczynski-bot-data:/app/data \
  kaczynski-bot
S
Description
The official Discord bot for Comfy Works
https://comfychan.net
Readme
106 KiB
1.0.1
Latest
2026-08-28 10:44:10 -04:00
Languages
TypeScript 97.4%
Dockerfile 2.1%
Shell 0.5%