diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-04 00:08:25 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-04 00:08:25 +0200 |
commit | 18c5b3ceac115200f994c440b78ceccda9a9862d (patch) | |
tree | a406719d5b1d59993df805d6668baa7dca9ba240 /echo-bot.js | |
parent | 1886a4eae42d0c76a2405b75170daa1ed8251227 (diff) | |
download | dynobot-irc-18c5b3ceac115200f994c440b78ceccda9a9862d.tar.gz dynobot-irc-18c5b3ceac115200f994c440b78ceccda9a9862d.tar.bz2 dynobot-irc-18c5b3ceac115200f994c440b78ceccda9a9862d.tar.xz dynobot-irc-18c5b3ceac115200f994c440b78ceccda9a9862d.zip |
wip
Diffstat (limited to 'echo-bot.js')
-rw-r--r-- | echo-bot.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/echo-bot.js b/echo-bot.js deleted file mode 100644 index 2d721e4..0000000 --- a/echo-bot.js +++ /dev/null @@ -1,17 +0,0 @@ -var irc = function() { - var Proxy = require('dynobot/proxy'); - var Channel = require('dynobot/channel'); - var IRC = require('./node_modules/node-irc/irc').IRC; - - var channel = new Channel(); - return new Proxy(IRC.prototype, 'irc', channel); -}(); - -irc.on('privmsg', function(nick, channel, message) { - console.log('privmsg: ', arguments); - irc.notice(channel, nick + ': ' + message); -}); - -console.log("echo bot started"); - -// process.exit(0); |