This repository was archived by the owner on Jun 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.js
66 lines (66 loc) · 2.17 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
module.exports = {
keys: ['development'],
ping_interval: 3,
port: 8000,
keys: ['secret'],
statuspage: {
url: 'https://left4craft.statuspage.io/',
public_api: 'https://left4craft.statuspage.io/api/v2/', // MUST include trailing /
pretty_url: 'status.left4craft.org',
page_id: 'jp6z181cyytx',
api_key: 'api key from manage.statuspage.io',
indicators: {
none: 'operational',
minor: 'degraded',
major: 'partial',
critical: 'major'
}
},
minecraft: {
degraded: 15, // if TPS drops below this, mark server as degraded
partial: 10, // if TP drops below, mark server as partial outage
},
discord: {
webhook: {
id: '701035294740447302',
token: 'secret token from discord app'
},
role: '701904205144653886',
status_cat_id: '697518406013812837',
status_chan_id: '701035082240229477',
status_chan_desc: `:green_square: \n:white_small_square: https://status.left4craft.org \n:white_small_square: Type **!status** in #bots \n:white_small_square: Use **!subscribe status** to get notifications`
},
assets: 'https://status.left4craft.org/img/', // MUST include trailing /
statuses: {
operational: {
title: 'Operational',
info: 'is now operational',
code: 'operational',
colour: '#4CAF50'
},
degraded: {
title: 'Degraded performance',
info: 'is suffering from degraded performance',
code: 'degraded_performance',
colour: '#F1C40F'
},
partial: {
title: 'Partial outage',
info: 'may be offline or unreachable',
code: 'partial_outage',
colour: '#E67E22'
},
major: {
title: 'Major outage',
info: 'is offline',
code: 'major_outage',
colour: '#E74C3C'
},
maintenance: {
title: 'Maintenance',
info: 'is under maintenance',
code: 'under_maintenance',
colour: '#3498DB'
}
}
}