Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 = '<redacted>'
config.handlers.ai.api_key = '<redacted>'

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