0.1.0 • Published 13 years ago

coffeebot v0.1.0

Weekly downloads
2
License
-
Repository
github
Last release
13 years ago

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']