Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimmycuadra/lita-how-many
Teaches Lita how to count.
https://github.com/jimmycuadra/lita-how-many
chatops fun lita lita-handler ruby
Last synced: 21 days ago
JSON representation
Teaches Lita how to count.
- Host: GitHub
- URL: https://github.com/jimmycuadra/lita-how-many
- Owner: jimmycuadra
- License: mit
- Created: 2015-06-20T01:41:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-20T02:06:53.000Z (over 9 years ago)
- Last Synced: 2024-11-13T02:19:37.845Z (about 1 month ago)
- Topics: chatops, fun, lita, lita-handler, ruby
- Language: Ruby
- Size: 121 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lita-how-many
[![Build Status](https://travis-ci.org/jimmycuadra/lita-how-many.png?branch=master)](https://travis-ci.org/jimmycuadra/lita-how-many)
[![Coverage Status](https://coveralls.io/repos/jimmycuadra/lita-how-many/badge.png)](https://coveralls.io/r/jimmycuadra/lita-how-many)**lita-how-many** is a handler plugin for [Lita](https://www.lita.io/) which lets Lita answer questions about quantity.
## Installation
Add lita-how-many to your Lita instance's Gemfile:
``` ruby
gem "lita-how-many"
```## Configuration
* `lower_bound` (Integer) - The lower bound for the exclusive range `(x...y)` from which a random number will be selected. Default: `0`.
* `lower_bound` (Integer) - The upper bound for the exclusive range `(x...y)` from which a random number will be selected. Must be greater than the lower bound. Default: `10`.## Usage
Ask Lita any question starting with "how many" and she will respond with a random amount.
```
You: How many bugs will we ship to production this week?
Lita: 8
You: Seems bad.
```## License
[MIT](http://opensource.org/licenses/MIT)