forked from pesos/optimus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
53 lines (52 loc) · 1.27 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* Configuration for various components of the project */
module.exports = {
botOpts : {
userName: 'OptimusPrimeBot',
realName: 'Optimus Prime',
nick: 'primebot',
password: '***',
port: 6667,
debug: false,
showErrors: false,
autoRejoin: true,
autoConnect: true,
ircserver : 'irc.freenode.net',
channels: ['#pes-os', '#optimus-test'],
secure: false,
selfSigned: false,
certExpired: false,
floodProtection: false,
floodProtectionDelay: 1000,
sasl: true,
stripColors: true,
channelPrefixes: "&#",
messageSplit: 512
},
irclogformat : {
channelName : false,
datetime : true,
from : true,
separator : ':\t'
},
irclogarchive : {
interval : 'monthly', // or 'annually' or 'weekly' or 'daily' or 'hourly'
prefix : 'irclog',
channelname : true,
datetime : true,
separator : '-', // Separator to the filename
extension : '.log',
location : './model/irclogs/'
},
debuglogarchive : {
interval : 'monthly', // or 'annually' or 'weekly' or 'daily' or 'hourly'
prefix : 'debuglog',
datetime : true,
separator : '-', // Separator to the filename
extension : '.log',
location : './debuglogger/debuglogs/'
},
ircreplyformat : {
mentionuser : true,
separator : ': '
}
};