🎲 An RPG dice rolling bot for Telegram.
A polyhedral dice rolling bot for Telegram. To use this bot in Telegram, click here. This bot was built to enable playing tabletop roleplaying games (RPGs) over Telegram.
/roll [equation] [label]
or /r [equation] [label]
/roll 4d8+16-2d4
/r 6d6!
/r 2d20H Advantage
/rf [modifier] [label]
/rf 3 Athletics
SEE THE WIKI for usage instructions and examples.
To run the code, download and extract to a folder. You will need to use the Bot Father bot to generate a token for your app. Once you have that token, use the command below to run the bot. Replace /PATH/TO/
with the path to bot.py on your computer and [YOUR_TOKEN_HERE]
with the token you just generated through the Bot Father.
/PATH/TO/bot.py [YOUR_TOKEN_HERE]
If you are receiving an error that says Server response could not be decoded using UTF-8
, make the following changes to the python-telegram-bot requests.py file: Bug Fix Diff