Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSCS Discord Bot

Latest release Go version Lint Release

A Discord bot for the College Station Computer Science discord. The domain model lives in CONTEXT.md.

Commands

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.

Development

Requires Go 1.27+ and just.

just test   # go test ./...
just vet    # go vet ./...
just build  # build the bot into bin/bot

Install 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.

Releases

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages