Skip to content

Makes lita respond to unhandled messages using Cleverbot

Notifications You must be signed in to change notification settings

tombeynon/lita-ai

Repository files navigation

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

About

Makes lita respond to unhandled messages using Cleverbot

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages