Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Write cross-network chat bots in CoffeeScript

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 demobot.coffee
Octocat-spinner-32 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.