Package Exports
- dorfbot-rpgdice
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dorfbot-rpgdice) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Dorfbot RPGDice
Rolls dice!
Compatible with Dorfbot and Hubot, see src/rpgdice.coffee for full documentation.
Installation
In hubot project repo, run:
npm install dorfbot-rpgdice --save
Then add dorfbot-rpgdice to your external-scripts.json:
[
"dorfbot-rpgdice"
]Usage sample
User1> hubot roll 5d20
Hubot> 14,11,13,10,13
User1> hubot roll 1d6
Hubot> 5
User1> hubot roll 2d6
Hubot> 2,3