Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

An example bot

  • Loading branch information...
commit a78bb2ffa423533d0dc0ec7d7290e016b427ceb8 1 parent 77359b3
@isaacs authored
Showing with 8 additions and 0 deletions.
  1. +5 −0 bot.js
  2. +3 −0  package.json
View
5 bot.js
@@ -0,0 +1,5 @@
+var ElizaIRC = require('./irc.js')
+
+new ElizaIRC('irc.freenode.net', 'elizsbot', {
+ channels: ['#isaacs', '#Node.js', '#stackvm']
+})
View
3  package.json
@@ -11,5 +11,8 @@
"bin": "repl.js",
"dependencies": {
"irc": "0.3"
+ },
+ "scripts": {
+ "start": "node bot.js"
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.