cjb/codex-blackboard — pull request #14 by cjb (2013-01-04 04:37:11+00:00)
Title: Initial changes to support hubot

Here's a pull request for changes that allow a basic codexbot implementation. The changes to the meteor app involve turning several Meteor.methods into functions that take a single "args" parameter, because the node-ddp-client only allows one to be passed. The hubot scripts are included for reference, but you can't run them inside the codex-blackboard checkout. The bot is running on http://hydro.laptop.org:3000/ at the moment.

FIXMEs:
* There's no Google Drive integration yet.
* codexbot should give full error messages, and do so by sending chat messages back instead of using console.log().
* Maybe the "who" for a codexbot action should be the user that asked for the action, rather than codexbot?
* It would be nice to refactor away the repeated "if err or not round .. else" idiom.
* Is getByName() case-sensitive? If so, maybe it shouldn't be.

Please review, thanks.