Skip to content
Makes lita respond to unhandled messages using Cleverbot
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.
lib
locales
spec
templates
.gitignore
.ruby-version
.travis.yml
Gemfile
README.md
Rakefile
example.png
lita-ai.gemspec

README.md

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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.