Skip to content

Instantly share code, notes, and snippets.

@abackstrom
Created October 8, 2014 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abackstrom/c38253a4fcf0b54b96dc to your computer and use it in GitHub Desktop.
Save abackstrom/c38253a4fcf0b54b96dc to your computer and use it in GitHub Desktop.
var irc = require('irc');
var client = new irc.Client('irc.freenode.net', 'somebot', {
channels: ['##remotes'],
});
client.addListener('message##remotes', function (from, to, message) {
client.say("##remotes", from + ": i agree");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment