Skip to content
[DEPRECATED] Write cross-network chat bots in CoffeeScript
CoffeeScript JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
demobot.coffee
package.json

README.md

Coffeebot

a CoffeeScript framework for writing cross-network chat bots. Inspired by evilbot.

Installation

npm install coffeebot

Supported networks

  • local readline for debugging
  • IRC

Coming soon

  • Convore
  • XMPP/Jabber conferences
  • DSL-ish thing

Show me the code!

{Bot, IRC} = require 'coffeebot'
b = new Bot 'MyAwesomeBot/1.2.0'
b.hear /go to hell/, (msg) ->
  msg.reply "No you go to hell #{msg.author}!!! >_<"
b.help /help/, "I know this stuff:"
b.connect new IRC 'localhost', 'awesomebot', ['#test']
Something went wrong with that request. Please try again.