Skip to content

v1.0.0

Latest

Choose a tag to compare

@roileaf roileaf released this 02 Dec 13:05

Update the Foundry module (a new install, see below) and the bot.

Discord Roller is now Squire (module id squire). It rolls from Discord and now helps the GM in Foundry too, so the old name no longer fit.

To move over (once):

  1. In Foundry, uninstall Discord Roller and install Squire from the new manifest URL: https://github.com/roileaf/squire/releases/latest/download/module.json.
  2. In each world, enable Squire in Manage Modules. On first load it copies Discord Roller's settings (bot URL and token, player mappings, channels, sync options, searchable compendiums), so there's nothing to set up again. Old roll cards in the chat keep working.
  3. Update the bot as usual. Nothing in its .env changes. Its log lines now start with [squire].

The GitHub repository is now roileaf/squire; old links redirect.

Live GM assistant (optional, off by default). A GM-only window in Foundry listens to your game's Discord voice channel and, when you ask, suggests what an NPC says or what happens next, using the transcript, the scene, journals, combat and an "Assistant Notes" journal.

  • Turn it on in two places: ASSISTANT=on in the bot's .env, then run npm run register (adds /assistant) and restart; and the Live assistant setting in Foundry, which adds a hat button to the Tokens controls.
  • Pick your providers: speech-to-text from the local Whisper server in bot/whisper or any OpenAI-compatible cloud endpoint; Claude from the Claude Code CLI (claude setup-token) or an Anthropic API key. The API gives first words in about 2-3 seconds; Claude Code takes 10-15 seconds per answer.
  • Answers about this moment: each answer reacts to the last thing said at the table, in the language the table speaks, written like your own journals (prose, not bullet lists). Text typed in the box goes along with a quick button as extra detail.
  • NPCs to read aloud: What would they say? writes a roleplay passage for the selected token (how they look and speak, what they say now) and up to 3 branches under headings like "If they press". It always uses the Deep model.
  • Knows your game: only story passages that match the question are sent (15000-token budget by default, set in Live assistant context size). You pick the story compendiums, and a line under each answer says what was sent. A readout shows the estimated tokens per question and per session.
  • Hebrew tables: the local Whisper server runs ivrit-ai's Hebrew model, and the campaign's names (characters, scenes, journals) are sent as hotwords so they're spelled right.
  • Consent: the bot announces in Discord that it is listening, and players can run /assistant optout to stop being transcribed and delete their lines at once.
  • Privacy: transcript text and Foundry context go to Anthropic; audio goes only to the transcriber you choose. No audio is stored, and the transcript stays in the bot's memory until listening stops.
  • It listens in one voice channel at a time. Full guide on the wiki: Live Assistant.