lita-dice

lita-dice is a handler for Lita that allows you to roll virtual dice.

Installation

Add lita-dice to your Lita instance's Gemfile:

gem "lita-dice"

Usage

To roll the dice:

 [You] Lita: roll
[Lita] User rolled 5
 [You] Lita: roll 2
[Lita] User rolled 3 4 (7)
 [You] Lita: roll d100
[Lita] User rolled 42
 [You] Lita: roll 3d20
[Lita] User rolled 13 1 15 (29)

License

MIT