Studio Egregori

GUDBUS

A Discord bot for running GURPS at the table, from character-sheet import through a full combat session.

Take the 90-second tourView sourceSee a worked session

Built for my own table

GURPS asks a lot of the person running the game. Damage changes with armor, hit location, and character traits; the tracker needs to keep up while people are playing. GUDBUS puts those calculations and the session state in Discord.

My role: I build and operate the bot with AI assistance, translate the rules into testable behavior, and maintain the deployment and player documentation.

Python · discord.py · SQLAlchemy · Docker

From sheet to session

  1. Import a character. /char import reads a GCS sheet so skills, weapons, and attributes are available to commands.
  2. Start combat. /combat start creates the tracker; players use /combat join to bring in their character’s speed, HP, and FP.
  3. Resolve the turn. Attack and damage commands apply the rules, while the tracker keeps initiative, resources, and status effects together.
Combat — Round 1
▶ James | Spd 5.75 | [########] 13/13 HP | [########] 11/11 FP
  Ogre | Spd 4.5 | [#####---] 16/25 HP | [########] 12/12 FP

Ogre HP -9 → 16/25
Shock -4 to DX, IQ, and DX/IQ-based skills next turn
(does not affect active defenses, B419).
The tracker after one hit, as text rather than a screenshot. The bot’s own formatting code builds these lines and its tests pin them. The names come from the worked example; Discord shows them in bold, and the shock line is wrapped here to fit.

Read a worked session with example output →

Keeping it usable

The bot runs live for my games. Its tests cover character imports and rules calculations, including golden-file checks for GCS parsing and magic mechanics. CI gates Docker publication on the test matrix; the systemd deployment script also tests before restarting the service.

The player wiki covers commands, a worked session, and reference data. Those pages are kept with the code and checked by tests.

Self-hosted and unofficial. You need a Discord bot token and a machine to run it. The code is MIT-licensed; GURPS material and trademarks remain subject to Steve Jackson Games' policies.

Host the bot → · More tabletop software →