https://github.com/petertrr/dice-calculator-bot
Discord bot that provides calculator-like UI to evaluate dice rolling notation
https://github.com/petertrr/dice-calculator-bot
bot discord dnd rpg
Last synced: 6 months ago
JSON representation
Discord bot that provides calculator-like UI to evaluate dice rolling notation
- Host: GitHub
- URL: https://github.com/petertrr/dice-calculator-bot
- Owner: petertrr
- License: mit
- Created: 2022-11-27T08:19:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T14:48:38.000Z (almost 2 years ago)
- Last Synced: 2025-02-03T01:53:39.286Z (over 1 year ago)
- Topics: bot, discord, dnd, rpg
- Language: Go
- Homepage:
- Size: 62.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
0. Available images can be found [here](https://github.com/petertrr/dice-calculator-bot/pkgs/container/dice-calculator-bot)
1. Create a Discord or Telegram bot token
2. Run Discord bot: `docker run [--entrypoint dice-calculator-bot-discord] -d ghcr.io/petertrr/dice-calculator-bot:latest -t `
2. Run Telegram bot: `docker run --entrypoint dice-calculator-bot-telegram -d ghcr.io/petertrr/dice-calculator-bot:latest -t `
# Building and running a binary
Run: `make build && ./bin/dice-calc-bot- -t `