forked from Supinic/supibot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-default.json
153 lines (153 loc) · 4.18 KB
/
config-default.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"usageGuide": [
"This file is designed to have a bare-metal working fork of Supibot.",
"If you want to configure your fork further, copy this file as \"config.json\" and edit as desired.",
"Do not add the new file to Git.",
"If no such \"custom configuration\" file exists, this default will be used instead.",
"The \"disableAll\" flag overrides the black/whitelists completely.",
"If that flag is \"false\" and both the arrays are empty, it is assumed all modules should be loaded.",
"",
"For commands, the \"bannedCombinations\" array contains a list of commands that cannot be executed together in one meta-command execution.",
"E.g. ['fish', 'translate'] would prevent those two commands from being executed in one pipe or alias combination",
"",
"The \"logging\" setup contains separate configurations for each bot-wide logging type.",
"Each type is an object that contains the \"cron\" property which defines the cron expression on how often each type will be saved to database.",
"If you would like the type to not be logged, change the \"enabled\" property to `false`."
],
"basePath": "ENTER_YOUR_BASE_PATH_HERE",
"modules": {
"chat-modules": {
"disableAll": true,
"blacklist": [],
"whitelist": []
},
"commands": {
"disableAll": false,
"blacklist": [],
"whitelist": [
"debug",
"help",
"ping",
"pipe",
"reload"
],
"bannedCombinations": []
},
"crons": {
"disableAll": true,
"blacklist": [],
"whitelist": []
},
"gots": {
"disableAll": false,
"blacklist": [
"RaspberryPi4",
"Supinic",
"TwitchGQL"
],
"whitelist": []
}
},
"platforms": [
{
"ID": 1,
"active": true,
"type": "twitch",
"host": null,
"selfName": "(BOT_ACCOUNT_NAME_HERE)",
"selfId": "(BOT_ACCOUNT_ID_HERE)",
"messageLimit": 500,
"mirrorIdentifier": "(T)",
"platform": {
"modes": {
"Moderator": {
"queueSize": 1e6,
"cooldown": 50
},
"VIP": {
"queueSize": 50,
"cooldown": 150
},
"Write": {
"queueSize": 5,
"cooldown": 1250
}
},
"subscriptionPlans": {
"1000": "$5",
"2000": "$10",
"3000": "$25",
"Prime": "Prime"
},
"partChannelsOnPermaban": true,
"clearRecentBansTimer": 60000,
"recentBanThreshold": null,
"updateAvailableBotEmotes": false,
"ignoredUserNotices": [],
"sameMessageEvasionCharacter": "",
"rateLimits": "default",
"reconnectAnnouncement": {},
"emitLiveEventsOnlyForFlaggedChannels": false,
"suspended": false,
"joinChannelsOverride": [],
"spamPreventionThreshold": 100,
"sendVerificationChallenge": false,
"whisperMessageLimit": 500
},
"logging": {
"bits": false,
"channelJoins": false,
"clearchat": false,
"giftSubs": false,
"rituals": true,
"messages": true,
"subs": false,
"whispers": true
}
},
{
"ID": 2,
"active": false,
"type": "discord",
"host": null,
"selfName": "(BOT_ACCOUNT_NAME_HERE)",
"selfId": "(BOT_ACCOUNT_ID_HERE)",
"messageLimit": 2000,
"mirrorIdentifier": "(D)",
"platform": {
"sendVerificationChallenge": false,
"createReminderWhenSendingPrivateMessageFails": true
},
"logging": {
"messages": true,
"whispers": true
}
}
],
"rustlog": {
"readme": "This config lets you manage your custom list of Rustlog instances for the $randomline command.",
"instances": {
"ivr": {
"url": "logs.ivr.fi",
"default": true
}
}
},
"logging": {
"messages": {
"enabled": true,
"cron": "0 * * * * *"
},
"commands": {
"enabled": true,
"cron": "30 * * * * *"
},
"lastSeen": {
"enabled": true,
"cron": "0 */5 * * * *"
},
"errors": {
"enabled": true
}
}
}