lita-pebbles
A Lita handler for fun :)
Installation
Add this line to your lita's Gemfile:
gem 'lita-pebbles'
And then execute:
$ bundle
Usage
# lita_config.rb (example)
Lita.configure do |config|
config.handlers.schedules.room = ENV["BOT_ROOM_ID"]
config.handlers.schedules.should_sleep_at = '* 23 * * * Asia/Tokyo'
config.handlers.schedules.should_wake_up_at = '* 8 * * * Asia/Tokyo'
end
Lita: sudden 突然の死
Lita: flip foobar
Lita: omikuji
Lita: misawa
...
Contributing
- Fork it ( http://github.com/fukayatsu/lita-pebbles/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request