Skip to content

RANDSUM Discord Dice Bot — D&D, Blades, PbtA & More

See the Discord Bot landing page for screenshots and quick setup.

The RANDSUM Discord Bot is a Discord application for rolling dice in chat. Built with discord.js and Bun, it provides detailed roll breakdowns and full support for all RANDSUM game packages.

Add the bot to any Discord server with one click:

Add RANDSUM to Discord

No configuration is required after adding.

The core dice rolling command. Supports the full RANDSUM dice notation with detailed breakdowns showing individual die results, modifiers, and final totals.

Terminal window
/roll notation:4d6L+2
/roll notation:2d20H
/roll notation:3d8+5

Roll Blades in the Dark action rolls. Takes the number of dice in your pool and returns the outcome (critical, success, partial, or failure) with color-coded embeds.

Terminal window
/blades dice:3
/blades dice:2
/blades dice:0 # Desperate position (rolls 2d6, takes lowest)

Roll D&D 5th Edition dice (1d20 + modifier). Supports advantage and disadvantage. Natural 20 results display in gold, natural 1 in crimson — visible at a glance.

Terminal window
/fifth modifier:5
/fifth modifier:3 rolling_with:Advantage
/fifth rolling_with:Disadvantage
/fifth # Straight 1d20

Roll Daggerheart mechanics with hope and fear dice. Supports modifiers, advantage/disadvantage, and amplification of hope or fear dice.

Terminal window
/dh modifier:5 rolling_with:Advantage
/dh modifier:3 rolling_with:Disadvantage
/dh amplify_hope:true amplify_fear:false
/dh modifier:2

Roll Root RPG mechanics. Rolls 2d6 with an optional modifier and returns the outcome (Strong Hit, Weak Hit, or Miss).

Terminal window
/root modifier:2
/root modifier:-1
/root # No modifier

Roll on Salvage Union tables. Supports all Salvage Union tables including Core Mechanic, Morale, and others.

Terminal window
/su table:Core Mechanic
/su table:Morale
/su # Uses default table

Roll Powered by the Apocalypse moves (2d6 + stat). Supports forward, ongoing bonuses, and advantage/disadvantage.

Terminal window
/pbta stat:2
/pbta stat:1 forward:1
/pbta stat:3 rolling_with:Advantage
/pbta stat:0 ongoing:1

Display a reference guide for RANDSUM dice notation. Shows all available modifiers, syntax, and examples.

Terminal window
/notation

Lists all available RANDSUM slash commands with descriptions.

The following game packages have dedicated slash commands:

  • @randsum/games/fifth/fifth for D&D 5th Edition rolls
  • @randsum/games/blades/blades for Blades in the Dark action rolls
  • @randsum/games/daggerheart/dh for Daggerheart hope and fear dice
  • @randsum/games/pbta/pbta for Powered by the Apocalypse moves
  • @randsum/games/root-rpg/root for Root RPG mechanics
  • @randsum/games/salvageunion/su for Salvage Union table rolls
  • Detailed breakdowns — Shows individual die results, modifiers, and step-by-step calculations
  • Full notation support — All RANDSUM dice notation features (drop, reroll, explode, etc.)
  • Game-specific commands — Dedicated commands for each supported RPG system
  • Color-coded embeds — Results are visually distinct by outcome type

See what RANDSUM bot results look like in practice.

/roll notation:10d20 — rolled a 100

/dh modifier:3 — Daggerheart Critical Hope

/roll notation:2d12+1 result

/su table Mechanic — Salvage Union Failure

If you prefer to run the bot yourself:

Terminal window
# From the monorepo root
cd apps/discord-bot
# Install dependencies
bun install
# Set up environment variables
cp .env.example .env
# Deploy commands
bun run deploy-commands
# Run the bot
bun run dev

For detailed setup instructions, see the Discord Bot source on GitHub.