diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-11-14 11:49:32 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-11-14 11:49:32 -0500 |
| commit | 4d6690ccc48266e7755829d32bf0440177d8c391 (patch) | |
| tree | c7f895f65316c8853bf7a916320b32be5bb45e2a /lib/client.js | |
initial stuff
Diffstat (limited to 'lib/client.js')
| -rw-r--r-- | lib/client.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/client.js b/lib/client.js new file mode 100644 index 0000000..913731d --- /dev/null +++ b/lib/client.js @@ -0,0 +1,28 @@ + +var irc = require('node-irc') + +var client = irc.Client( irc.jollo.org, process.env.IRC_NICK, { + userName: process.env.IRC_NAME + realName: process.env.IRC_REALNAME, + port: 5000, + localAddress: null, + debug: false, + showErrors: false, + autoRejoin: false, + autoConnect: true, + channels: ["#sally","#afxchat"], + secure: true, + selfSigned: false, + certExpired: false, + floodProtection: false, + floodProtectionDelay: 1000, + sasl: false, + retryCount: 10, + retryDelay: 2000, + stripColors: false, + channelPrefixes: "&#", + messageSplit: 512, + encoding: '' +}) + +module.exports = client |
