This Lita handler will send unhadled messages directed to Lita to Cleverbot and reply with clever messages.
Add lita-cleverbot to your Lita instance's Gemfile:
gem "lita-cleverbot"
Get your Keys from Cleverbot and add them to your configuration:
Lita.configure do |config|
config.handlers.cleverbot.api_user = 'API_USER'
config.handlers.cleverbot.api_key = 'API_KEY'
end
- Fork it ( https://github.com/cristianbica/lita-cleverbot/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 a new Pull Request