It's the way a person chooses to limit themself that determines their character
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
LICENSE
README.md
Rakefile
lita-diceman.gemspec

README.md

lita-diceman

It's the way a person chooses to limit themself that determines their character.

— Luke Rhinehart, The Dice Man

diceman is a handler which you can give options and it decides for you what to do.

Installation

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

gem "lita-diceman"

Usage

!dice

returns one of the answers that you specify, randomly. You can add as many answers as you want.

You: !dice answer one;answer two
Lita: the dice commands: answer two

?dice

returns an answer to your question.

You: ?dice Who is the smartest? Answer one;Answer two
Lita: Answer one is the smartest