Skip to content

petertrr/dice-calculator-bot

Repository files navigation

dice-calculator-bot

A Discord bot for TTRPGs that provides a calculator-like interface to input and evaluate dice notation (expressions like 2d6+d4+2).

Running with Docker

  1. Available images can be found here
  2. Create a Discord or Telegram bot token
  3. Run Discord bot: docker run [--entrypoint dice-calculator-bot-discord] -d ghcr.io/petertrr/dice-calculator-bot:latest -t <token>
  4. Run Telegram bot: docker run --entrypoint dice-calculator-bot-telegram -d ghcr.io/petertrr/dice-calculator-bot:latest -t <token>

Building and running a binary

Run: make build && ./bin/dice-calc-bot-<discord|telegram> -t <token>

About

Discord bot that provides calculator-like UI to evaluate dice rolling notation

Topics

Resources

License

Stars

Watchers

Forks