Skip to content
Ruboty plug-in to find haiku from our daily conversations.
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
lib/ruboty
.gitignore
CHANGELOG.md
Gemfile
LICENSE.txt
README.md
Rakefile
ruboty-kokodeikku.gemspec

README.md

Ruboty::Kokodeikku

Ruboty plug-in to find haiku from our daily conversations.

Usage

Requires mecab. For heroku, you can use heroku-buildpack-mecab.

heroku config:set \
  BUILDPACK_URL=https://github.com/diasks2/heroku-buildpack-mecab.git\
  LD_LIBRARY_PATH=/app/vendor/mecab/lib\
  MECAB_PATH=/app/vendor/mecab/lib/libmecab.so

ENV

KOKODEIKKU_CHANNEL - Pass comma-separated names to specify channels (optional)
KOKODEIKKU_PREFIX  - Pass optional prefix message (default: `"ここで一句"`)
KOKODEIKKU_RULE    - Pass optional song rule (default: `"5,7,5"`)
You can’t perform that action at this time.