- Roll up to 32 dice with up to 1 billion sides
- Bot can be used in group chats
- Bot calculates sum of similar dice
/d2
- flip a coin/d6
- roll a D6 dice/d20
- roll a D20 dice/dice <dice configuration>
- roll any dice configuration<dice configuration>
- roll any dice configuration, without special command
<dice configuration>
- list of dice to roll. Supported formats: 20
, d20
, 2d20
.
Multiple dice types in one message are allowed - 2d6 2d20
BOT_TOKEN
- (required) bot token from @BotFatherWEBHOOK_URL
- (required) webhook urlWEBHOOK_TOKEN
- (required) secret token to authenticate webhook requests. Seesecret_token
in Telegram API documentationPORT
- port for server to listen to (optional, default 8888)