forked from jtordgeman/Modular-Node.js-IRC-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
88 lines (84 loc) · 2.39 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
// Bot configuration file - Make sure this is in the main bot directory and named "config.js"
exports.settings = {
// Name of bot
globalNick: "ModularBot",
// Username of bot
globalUserName: "IRCBot",
// Realname of bot
globalRealName: "Node.js IRC Bot",
// prefix of most commands for bot
defaultCommandPrefix: "!",
// Message to send on connect, you don't need to include 'PRIVMSG,' most likely a NickServ command... Leave empty if you don't want it
connectcmd: "NickServ :IDENTIFY ModularBot MyModularBotPassword",
// Mashape API Key; This gives access to many modules that you could be using...
// mashapeKey: "Get Your Key at Mashape.com",
// These modules will be loaded in all servers.
globalServModules: {
ctcp: {}
},
// These modules will be loaded in all channels.
globalModules: {
yesno: {},
chance: {},
tell: {},
calc: {},
seen: {},
ddg: {},
fire: {},
flipcoin: {},
rolldice: {},
time: {},
fortune: {},
truefalse: {},
welcome: {}, // default message
/* custom message (% gets replaced with the joining user's nickname)
welcome: { message: "Welcome to the channel, %!" }, */
excuse: {},
say: {},
cookie: {},
eightball: {},
card: {},
help: {},
google: {},
// wolfram: { key: "Wolfram|Alpha API Key" }, // Wolfram|Alpha API Key: https://developer.wolframalpha.com/portal/apisignup.html
// translate: { key: "Yandex Translate API Key" }, // Yandex Tranlate API Key: https://tech.yandex.com/keys/get/?service=trnsl
whois: {},
ping: {},
hashes: {},
wikipedia: {},
leet: {},
cat: {},
tinyurl: {},
isgd: {},
vgd: {},
password: {},
// yoda: {}, //Requires Mashape API Key To Be Defined
// spellcheck: {}, //Requires Mashape API Key To Be Defined
//dronebl: {}
},
servers: {
djbouche: {
// irc server's address
address: 'irc.someserver.net',
// port of irc server
port: 6667,
// server password; leave it blank even if you don't need it
pass: "",
modules: {},
channels: {
// channel to join
"#testchannel": {
// extra modules to load to this channel
donotslap: {},
// for irc reporting, change the port to a four digit number and uncomment the line below
// report: {port: 5764, allowedip: "127.0.0.1"},
},
// extra channel with a password?
/* "#testchannel2 ChannelPassword": {
// extra modules to load to this channel
donotslap: {},
}, */
}
}
}
};