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!
Add lita-poetry to your Lita instance's Gemfile:
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
Three commands are available:
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