This repository was archived by the owner on Jan 23, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconstants.js
51 lines (50 loc) · 1.41 KB
/
constants.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
// WOW THESE THINGS HAVE THEIR OWN FILE NOW
// THIS SHOULD'VE HAPPENED WHEN I STARTED THIS PROJECT
// WOW
module.exports = {
UVRegex: /https?:\/\/[\w.]+\/forums\/(\d{6,})(?:-[\w-]+)?\/suggestions\/(\d{7,})(?:-[\w-]*)?/,
AutoRole: {
enabled: true,
thresholds: {
// RoleID: EXP
},
addons: {
// RoleID: [{Datapoint: Threshold}]
},
decay: {
enabled: true, // should EXP decay at all?
threshold: 7, // how many days should somebody be inactive for their EXP to start decaying?
speed: 1.25, // how fast should EXP decay once they've hit the inactivity mark?
exponential: true // should decay be exponential?
}
},
UVChannels: {
default: false, // false = ignore !sumbit commands in uncategorized channels. supply a category ID to default to that category. leave blank to submit uncategorized, if possible
channels: {
// ChannelID: UVcategoryID
}
},
DefaultPerms: {
users: {
'107904023901777920': 10,
'110813477156720640': 10
},
roles: {
'268815351360389121': 10,
'268815286067527690': 10
}
},
Timeouts: { // everything is in ms
messagedelete: 2500
},
Leaderboards: {
enabled: true,
cutoff: 10 // top-howmany?
},
Debugging: {
enable: false,
mocking: {
email: 'notdougley@example.com', // email addres returned by getMail, getMail is designed to only work on production
}
}
}