sagax / fgbot_coffeebot

[DEPRECATED] Write cross-network chat bots in CoffeeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

[DEPRECATED] Write cross-network chat bots in CoffeeScript

License:MIT License


Languages

Language:CoffeeScript 96.0%Language:JavaScript 4.0%