Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 1 day ago
JSON representation

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

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 `