-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathconfig.example.json
More file actions
75 lines (74 loc) · 2.59 KB
/
config.example.json
File metadata and controls
75 lines (74 loc) · 2.59 KB
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
{
"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"
},
"stoat.js": {
"heartbeatInterval": 30000
},
"prefix": "your desired prefix (such as %)",
"presenceInterval": null,
"presenceContents": [],
"spotify": {
"clientId": "your spotify client id",
"clientSecret": "your spotify client secret"
},
"comment-radio": {
"message": "If you have radio stations you'd like to connect, add them to the array below. Radio stations must be rendered like following:",
"station": {
"name": "zamrock",
"detailedName": "ᘔᗩᗰᘔᗩᗰᖴOᖴᒪIᖴE",
"thumbnail": "https://zamrock.net/wp-content/uploads/2024/06/Zamrock_rd_logo_0004-1.gif",
"url": "url to stream from; this will be kept private",
"description": "Genre: Zamrock, provided by [Zamrock.net](https://zamrock.net/)",
"author": {
"name": "Zamrock",
"url": "https://zamrock.net"
},
"keyWords": ["radio", "zamrock", "psychedelic", "blues", "rock"]
}
},
"radio": [
],
"cache": {
"guilds": {
"enabled": true,
"max": 5000
},
"members": {
"enabled": true,
"max": 10000
}
},
"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,
"dashboardUrl": "The url the dashboard is accessible with.",
"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"
}