Created
July 6, 2015 20:23
-
-
Save Gargauth/08601654c8c2a1814cf6 to your computer and use it in GitHub Desktop.
Heroku IRC Idler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var irc = require('irc'); | |
| var client = new irc.Client('irc.server.com', 'YourNickName', { | |
| userName: "YourUserName", | |
| realName: "YourUserName" | |
| }); | |
| client.addListener('registered', function (message) { | |
| client.say("TargetName", "ENTER YOUR INVITE COMMAND HERE"); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Idler", | |
| "version": "preview", | |
| "description": "Idle in your favorite IRC channel", | |
| "main": "irc.js", | |
| "scripts": { | |
| "start": "node irc.js" | |
| }, | |
| "author": "", | |
| "license": "ISC", | |
| "dependencies": { | |
| "irc": "^0.3.7" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| worker: node irc.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment