diff options
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); |