Skip to content
This repository has been archived by the owner on Jan 21, 2019. It is now read-only.
/ hubot-dice Public archive

A Hubot script that rolls dice

License

Notifications You must be signed in to change notification settings

bouzuya/hubot-dice

Repository files navigation

hubot-dice

A Hubot script that rolls dice

Installation

$ npm install git://github.com/bouzuya/hubot-dice.git

or

$ # TAG is the package version you need.
$ npm install 'git://github.com/bouzuya/hubot-dice.git#TAG'

Example

bouzuya> hubot help dice
  hubot> hubot <M>d<N> - roll M N-sided dice

bouzuya> hubot 1d1
  hubot> 1
bouzuya> hubot 2d6
  hubot> 7
bouzuya> hubot 1d100
  hubot> 53

Configuration

See src/scripts/dice.coffee.

Development

npm run

License

MIT

Author

bouzuya <m@bouzuya.net> (http://bouzuya.net)

Badges

Build Status Dependencies status Coverage Status