-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.example.json
43 lines (43 loc) · 1.58 KB
/
config.example.json
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
{
"token": "your bot token",
"login": {
"email": "An email - only use this if you want to run a self-botted instance; For bots use the above token",
"password": "The password to the account"
},
"prefix": "your desired prefix (such as %)",
"presenceInterval": null,
"presenceContents": [],
"spotify": {
"clientId": "your spotify client id",
"clientSecret": "your spotify client secret"
},
"helpCatalog": true,
"helpPagination": true,
"mapMembers": true,
"mysql": {
"host": "your-mysql-host.com",
"port": 3306,
"user": "youruser",
"password": "password of your user",
"database": "name of the target database"
},
"rbl": "Your token for revoltbots.org; optional",
"webPort": 80,
"ssl": {
"private": "path-to-private-key.pem",
"cert": "path-to-certificate.pem",
"useSSL": false,
"httpPort": 80
},
"revolt.js": {
"Comment": "Configuration data for revolt.js clients; See possible options here: https://revolt.js.org/classes/Client.html#constructor"
},
"revolt-api": {
"Comment": "Configuration options for a revolt-api client; See the last example here: https://github.com/insertish/oapi#example"
},
"sessionSecret": "secret for the expressjs session middleware; https://www.npmjs.com/package/express-session#user-content-secret",
"geniusToken": "Genius access token (Used for lyrics); optional",
"owners": ["not necessary unless you want to use testing commands", "another user id"],
"playerAFKTimeout": 60000,
"Comment": "The above specifies the time in ms after which a player goes inactive; Optional"
}