A Discord bot for the College Station Computer Science discord. The domain model lives in CONTEXT.md.
| Command | Description |
|---|---|
/book register <name> [url] |
Set or replace the server's Current Book; starts at Chapter 0. |
/book update-chapter <chapter> |
Move the Current Book to any non-negative Chapter. |
/test |
Connectivity check. |
Requires Go 1.27+ and just.
just test # go test ./...
just vet # go vet ./...
just build # build the bot into bin/botInstall the application commands, then run the bot (gateway client):
go run ./cmd/commands -token <bot-token> -appid <application-id>
just start-bot <bot-token>Storage is in-memory, so books and chapters reset when the bot restarts.
Conventional Commits merged to main are analyzed by semantic-release, which cuts vX.Y.Z tags and GitHub Releases. feat → minor, fix/perf → patch, breaking changes → major; all other types produce no release.