Project

lita-ai

0.01
No commit activity in last 3 years
No release in over 3 years
Makes lita respond to unhandled messages using Cleverbot
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 1.2.2
>= 4.6
 Project Readme

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