-
Notifications
You must be signed in to change notification settings - Fork 82
/
config.example.json
69 lines (69 loc) · 1.66 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
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
{
"prefix": "bot",
"client": {
"token": "<DISCORD_BOT_TOKEN>",
"intents": [
"GUILDS",
"GUILD_MESSAGES",
"GUILD_MESSAGE_REACTIONS",
"DIRECT_MESSAGES",
"DIRECT_MESSAGE_REACTIONS"
],
"partials": ["MESSAGE", "CHANNEL", "REACTION"],
"caches": {
"BaseGuildEmojiManager": 0,
"GuildBanManager": 0,
"GuildInviteManager": 0,
"GuildStickerManager": 0,
"MessageManager": 0,
"PresenceManager": 0,
"StageInstanceManager": 0,
"ThreadManager": 0,
"ThreadMemberManager": 0,
"VoiceStateManager": 0
}
},
"api": {
"port": 8080,
"secret": "00000000-0000-0000-0000-000000000000"
},
"sharding": {
"spawnDelay": 5,
"spawnTimeout": 300,
"serversPerShard": 1000
},
"clustering": {
"enabled": false,
"shardCount": 16,
"callbackUrl": "http://localhost:8080/",
"masterApi": {
"url": "http://localhost:5000/",
"token": "00000000-0000-0000-0000-000000000000"
}
},
"jobs": {
"updateServerCount": {
"schedule": "0 */5 * * * *",
"log": false
}
},
"rateLimiting": {
"commands": {
"amount": 10,
"interval": 30
},
"triggers": {
"amount": 10,
"interval": 30
},
"reactions": {
"amount": 10,
"interval": 30
}
},
"logging": {
"rateLimit": {
"minTimeout": 30
}
}
}