Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Gem Version Coverage Status Build Status

lita-poetry

Lita-poetry passively listens for haikus (accidental or not) and alerts the channel when a haiku has formed.

Jimmy > Flash of steel stills me
Jimmy > calmness mirrors the ocean
Jimmy > I await the waves
Lita > Garth, that was a haiku!

Installation

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

gem "lita-poetry"

Configuration

strict_mode (defaults to false) will only allow haikus by a single user, whereas disabling strict_mode will allow multi-user haikus.

Lita.configure do |config|
  config.handlers.poetry.strict_mode = true || false
end

##Usage Three commands are available: haiku last, haiku total, and haiku get [integer]

You > Litabot: haiku last
Litabot > haiku are easy; But some times they dont make sense; Refrigerator
You > Litabot: haiku total
Litabot > 5
You > Litabot: haiku get 3
Litabot > In the ponds cool depths; the happy frog plays in spring; his life a slow game

License

MIT

About

A Haiku detector for Lita

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.