/lita-ai

Makes lita respond to unhandled messages using Cleverbot

Primary LanguageRuby

lita-ai

Gem Version Build Status Coverage Status

A Lita handler like no other; this makes Lita respond to any unhandled messages using Cleverbot.

What does that mean?

Example of a conversation with Lita

Installation

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

gem 'lita-ai'

Configuration

Sign up at cleverbot.io and enter your api user and key into lita_config.rb.

config.handlers.ai.api_user = '' config.handlers.ai.api_key = ''

Usage

Just send a message mentioning your robot by it's name or alias, either directly as a command or anywhere else in the message.

> lita what's up?
#=> Not much, I baked brownies today.

> could I have some lita?
#=> Sure, when and where?

Your robots name will be stripped from the message we send to Cleverbot.. we don't want to confuse it anymore than it already is.

License

MIT