forked from b4ckspace/node-ircbot-deprecated
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
19 lines (16 loc) · 940 Bytes
/
config.js
File metadata and controls
19 lines (16 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* copy this file to config.local.js and set it to correct values */
var env=process.env;
exports.nick = env['nick'] || 'b4ckspace_bot';
exports.realname = env['realname'] || 'b4ckspace_bot';
exports.username = env['username'] || 'b4ckspace_bot';
exports.irc_server = env['irc_server'] || 'irc.freenode.net';
exports.irc_port = env['irc_port'] || 6667;
exports.ircpass = env['irc_pass'] || undefined;
exports.secure = env['irc_ssl'] == "true";
exports.ignoreSsl = env['ssl_ignore'] == "true";
exports.channels = (env['channels'] && env['channels'].split(','))||['#backspace'];
exports.disable_mpd = env['nompd'] == "true";
exports.github_user = env['github_user'] ||'backspace-ircbot';
exports.github_token = env['github_token'] ||'your token here';
exports.github_repouser = env['github_repouser']||'ydnax';
exports.github_repo = env['github_repo'] ||'test-repo';