forked from cappig/MC-status-bot
-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.js
31 lines (28 loc) · 828 Bytes
/
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
/*
*
* config file
* in enabled set value to true when you want it enabled and false when you want it disabled
*
*/
module.exports = {
webserver: {
enabled: true,
port: parseFloat(process.argv[2]) || 5000
},
pinger: {
//the length of time between pings in minutes
interval: '3',
enabled: true,
//only set to ture for testing
runAtStart: true
},
//debug should ALWAYS be false for production it logs a lot of information to the console which can slow down the application and pose as a security risk
debug: true,
//disable this if you dont want me (the maintainer) to receive errors your bot gets
//i recive
//the error your bot gets
//the date it happende
//your bots id (to track were it cam from)
//your id (to contact you if your in the server)
errorSend: true
}