1 |
rakinar2 |
577 |
{ |
2 |
|
|
"type": "object", |
3 |
|
|
"additionalProperties": { |
4 |
|
|
"anyOf": [ |
5 |
|
|
{ |
6 |
|
|
"type": "object", |
7 |
|
|
"properties": { |
8 |
|
|
"prefix": { |
9 |
|
|
"type": "string", |
10 |
|
|
"default": "-" |
11 |
|
|
}, |
12 |
|
|
"debug_mode": { |
13 |
|
|
"type": "boolean", |
14 |
|
|
"default": false |
15 |
|
|
}, |
16 |
|
|
"commands": { |
17 |
|
|
"type": "object", |
18 |
|
|
"properties": { |
19 |
|
|
"mention_prefix": { |
20 |
|
|
"type": "boolean", |
21 |
|
|
"default": true |
22 |
|
|
}, |
23 |
|
|
"bean_safe": { |
24 |
|
|
"type": "array", |
25 |
|
|
"items": {}, |
26 |
|
|
"default": [] |
27 |
|
|
}, |
28 |
|
|
"shot_safe": { |
29 |
|
|
"type": "array", |
30 |
|
|
"items": { |
31 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
32 |
|
|
}, |
33 |
|
|
"default": [] |
34 |
|
|
}, |
35 |
|
|
"fakeban_safe": { |
36 |
|
|
"type": "array", |
37 |
|
|
"items": { |
38 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
39 |
|
|
}, |
40 |
|
|
"default": [] |
41 |
|
|
}, |
42 |
|
|
"echo_mentions": { |
43 |
|
|
"type": "boolean", |
44 |
|
|
"default": false |
45 |
|
|
}, |
46 |
|
|
"moderation_command_behaviour": { |
47 |
|
|
"type": "string", |
48 |
|
|
"enum": [ |
49 |
|
|
"delete", |
50 |
|
|
"default" |
51 |
|
|
], |
52 |
|
|
"default": "default" |
53 |
|
|
}, |
54 |
|
|
"rerun_on_edit": { |
55 |
|
|
"type": "boolean", |
56 |
|
|
"default": false |
57 |
|
|
}, |
58 |
|
|
"default_joke_type": { |
59 |
|
|
"type": "string", |
60 |
|
|
"enum": [ |
61 |
|
|
"random", |
62 |
|
|
"joke", |
63 |
|
|
"dadjoke" |
64 |
|
|
], |
65 |
|
|
"default": "random" |
66 |
|
|
} |
67 |
|
|
}, |
68 |
|
|
"additionalProperties": false, |
69 |
|
|
"default": {} |
70 |
|
|
}, |
71 |
|
|
"permissions": { |
72 |
|
|
"type": "object", |
73 |
|
|
"properties": { |
74 |
|
|
"mod_role": { |
75 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items", |
76 |
|
|
"description": "[DEPRECATED] Use one of the available permission systems instead" |
77 |
|
|
}, |
78 |
|
|
"admin_role": { |
79 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items", |
80 |
|
|
"description": "[DEPRECATED] Use one of the available permission systems instead" |
81 |
|
|
}, |
82 |
|
|
"staff_role": { |
83 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items", |
84 |
|
|
"description": "[DEPRECATED] Use one of the available permission systems instead" |
85 |
|
|
}, |
86 |
|
|
"invincible_roles": { |
87 |
|
|
"type": "array", |
88 |
|
|
"items": { |
89 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
90 |
|
|
}, |
91 |
|
|
"default": [] |
92 |
|
|
}, |
93 |
|
|
"mode": { |
94 |
|
|
"type": "string", |
95 |
|
|
"enum": [ |
96 |
|
|
"discord", |
97 |
|
|
"levels", |
98 |
|
|
"layered" |
99 |
|
|
], |
100 |
|
|
"default": "discord" |
101 |
|
|
}, |
102 |
|
|
"check_discord_permissions": { |
103 |
|
|
"type": "string", |
104 |
|
|
"enum": [ |
105 |
|
|
"both", |
106 |
|
|
"automod", |
107 |
|
|
"manual_actions", |
108 |
|
|
"none" |
109 |
|
|
], |
110 |
|
|
"default": "both" |
111 |
|
|
} |
112 |
|
|
}, |
113 |
|
|
"additionalProperties": false, |
114 |
|
|
"default": {} |
115 |
|
|
}, |
116 |
|
|
"infractions": { |
117 |
|
|
"type": "object", |
118 |
|
|
"properties": { |
119 |
|
|
"send_ids_to_user": { |
120 |
|
|
"type": "boolean", |
121 |
|
|
"default": true |
122 |
|
|
}, |
123 |
|
|
"dm_fallback": { |
124 |
|
|
"type": "string", |
125 |
|
|
"enum": [ |
126 |
|
|
"none", |
127 |
|
|
"create_channel", |
128 |
|
|
"create_thread" |
129 |
|
|
], |
130 |
|
|
"default": "none" |
131 |
|
|
}, |
132 |
|
|
"dm_fallback_parent_channel": { |
133 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
134 |
|
|
}, |
135 |
|
|
"dm_fallback_channel_expires_in": { |
136 |
|
|
"type": "integer", |
137 |
|
|
"default": 604800000 |
138 |
|
|
} |
139 |
|
|
}, |
140 |
|
|
"additionalProperties": false |
141 |
|
|
}, |
142 |
|
|
"muting": { |
143 |
|
|
"type": "object", |
144 |
|
|
"properties": { |
145 |
|
|
"role": { |
146 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
147 |
|
|
} |
148 |
|
|
}, |
149 |
|
|
"additionalProperties": false |
150 |
|
|
}, |
151 |
|
|
"quickmute": { |
152 |
|
|
"type": "object", |
153 |
|
|
"properties": { |
154 |
|
|
"enabled": { |
155 |
|
|
"type": "boolean", |
156 |
|
|
"default": false |
157 |
|
|
}, |
158 |
|
|
"clear_emoji": { |
159 |
|
|
"type": "string" |
160 |
|
|
}, |
161 |
|
|
"noclear_emoji": { |
162 |
|
|
"type": "string" |
163 |
|
|
}, |
164 |
|
|
"duration": { |
165 |
|
|
"type": "integer", |
166 |
|
|
"minimum": 0, |
167 |
|
|
"default": 7200000 |
168 |
|
|
}, |
169 |
|
|
"reason": { |
170 |
|
|
"type": "string" |
171 |
|
|
} |
172 |
|
|
}, |
173 |
|
|
"additionalProperties": false |
174 |
|
|
}, |
175 |
|
|
"logging": { |
176 |
|
|
"type": "object", |
177 |
|
|
"properties": { |
178 |
|
|
"enabled": { |
179 |
|
|
"type": "boolean", |
180 |
|
|
"default": false |
181 |
|
|
}, |
182 |
|
|
"bulk_delete_send_json": { |
183 |
|
|
"type": "boolean", |
184 |
|
|
"default": true |
185 |
|
|
}, |
186 |
|
|
"primary_channel": { |
187 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
188 |
|
|
}, |
189 |
|
|
"message_logging_channel": { |
190 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
191 |
|
|
}, |
192 |
|
|
"join_leave_channel": { |
193 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
194 |
|
|
}, |
195 |
|
|
"saved_messages_channel": { |
196 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
197 |
|
|
}, |
198 |
|
|
"events": { |
199 |
|
|
"type": "object", |
200 |
|
|
"properties": { |
201 |
|
|
"message_edit": { |
202 |
|
|
"type": "boolean", |
203 |
|
|
"default": true |
204 |
|
|
}, |
205 |
|
|
"message_delete": { |
206 |
|
|
"type": "boolean", |
207 |
|
|
"default": true |
208 |
|
|
}, |
209 |
|
|
"member_join": { |
210 |
|
|
"type": "boolean", |
211 |
|
|
"default": true |
212 |
|
|
}, |
213 |
|
|
"member_leave": { |
214 |
|
|
"type": "boolean", |
215 |
|
|
"default": true |
216 |
|
|
}, |
217 |
|
|
"message_bulk_delete": { |
218 |
|
|
"type": "boolean", |
219 |
|
|
"default": true |
220 |
|
|
} |
221 |
|
|
}, |
222 |
|
|
"additionalProperties": false, |
223 |
|
|
"default": { |
224 |
|
|
"message_edit": true, |
225 |
|
|
"member_leave": true, |
226 |
|
|
"member_join": true, |
227 |
|
|
"message_delete": true |
228 |
|
|
} |
229 |
|
|
} |
230 |
|
|
}, |
231 |
|
|
"additionalProperties": false |
232 |
|
|
}, |
233 |
|
|
"message_reporting": { |
234 |
|
|
"type": "object", |
235 |
|
|
"properties": { |
236 |
|
|
"enabled": { |
237 |
|
|
"type": "boolean", |
238 |
|
|
"default": false |
239 |
|
|
}, |
240 |
|
|
"logging_channel": { |
241 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
242 |
|
|
}, |
243 |
|
|
"users": { |
244 |
|
|
"type": "array", |
245 |
|
|
"items": { |
246 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
247 |
|
|
}, |
248 |
|
|
"default": [] |
249 |
|
|
}, |
250 |
|
|
"roles": { |
251 |
|
|
"type": "array", |
252 |
|
|
"items": { |
253 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
254 |
|
|
}, |
255 |
|
|
"default": [] |
256 |
|
|
}, |
257 |
|
|
"permissions": { |
258 |
|
|
"type": "array", |
259 |
|
|
"items": { |
260 |
|
|
"type": "string" |
261 |
|
|
}, |
262 |
|
|
"default": [] |
263 |
|
|
}, |
264 |
|
|
"permission_level": { |
265 |
|
|
"type": "integer", |
266 |
|
|
"minimum": -1, |
267 |
|
|
"maximum": 100, |
268 |
|
|
"default": -1 |
269 |
|
|
}, |
270 |
|
|
"action_required_permissions": { |
271 |
|
|
"type": "object", |
272 |
|
|
"properties": { |
273 |
|
|
"ban": { |
274 |
|
|
"type": "array", |
275 |
|
|
"items": { |
276 |
|
|
"type": "string" |
277 |
|
|
}, |
278 |
|
|
"default": [ |
279 |
|
|
"BanMembers" |
280 |
|
|
] |
281 |
|
|
}, |
282 |
|
|
"kick": { |
283 |
|
|
"type": "array", |
284 |
|
|
"items": { |
285 |
|
|
"type": "string" |
286 |
|
|
}, |
287 |
|
|
"default": [ |
288 |
|
|
"KickMembers" |
289 |
|
|
] |
290 |
|
|
}, |
291 |
|
|
"mute": { |
292 |
|
|
"type": "array", |
293 |
|
|
"items": { |
294 |
|
|
"type": "string" |
295 |
|
|
}, |
296 |
|
|
"default": [ |
297 |
|
|
"or", |
298 |
|
|
"ModerateMembers", |
299 |
|
|
"ManageMessages" |
300 |
|
|
] |
301 |
|
|
}, |
302 |
|
|
"warn": { |
303 |
|
|
"type": "array", |
304 |
|
|
"items": { |
305 |
|
|
"type": "string" |
306 |
|
|
}, |
307 |
|
|
"default": [ |
308 |
|
|
"or", |
309 |
|
|
"ModerateMembers", |
310 |
|
|
"ManageMessages" |
311 |
|
|
] |
312 |
|
|
}, |
313 |
|
|
"ignore": { |
314 |
|
|
"type": "array", |
315 |
|
|
"items": { |
316 |
|
|
"type": "string" |
317 |
|
|
}, |
318 |
|
|
"default": [ |
319 |
|
|
"or", |
320 |
|
|
"ModerateMembers", |
321 |
|
|
"ManageMessages", |
322 |
|
|
"BanMembers", |
323 |
|
|
"KickMembers" |
324 |
|
|
] |
325 |
|
|
} |
326 |
|
|
}, |
327 |
|
|
"additionalProperties": false, |
328 |
|
|
"default": {} |
329 |
|
|
} |
330 |
|
|
}, |
331 |
|
|
"additionalProperties": false |
332 |
|
|
}, |
333 |
|
|
"invite_tracking": { |
334 |
|
|
"type": "object", |
335 |
|
|
"properties": { |
336 |
|
|
"enabled": { |
337 |
|
|
"type": "boolean", |
338 |
|
|
"default": false |
339 |
|
|
} |
340 |
|
|
}, |
341 |
|
|
"additionalProperties": false |
342 |
|
|
}, |
343 |
|
|
"message_filter": { |
344 |
|
|
"type": "object", |
345 |
|
|
"properties": { |
346 |
|
|
"enabled": { |
347 |
|
|
"type": "boolean", |
348 |
|
|
"default": false |
349 |
|
|
}, |
350 |
|
|
"send_logs": { |
351 |
|
|
"anyOf": [ |
352 |
|
|
{ |
353 |
|
|
"type": "boolean" |
354 |
|
|
}, |
355 |
|
|
{ |
356 |
|
|
"type": "object", |
357 |
|
|
"properties": { |
358 |
|
|
"blocked_words": { |
359 |
|
|
"type": "boolean", |
360 |
|
|
"default": false |
361 |
|
|
}, |
362 |
|
|
"blocked_tokens": { |
363 |
|
|
"type": "boolean", |
364 |
|
|
"default": false |
365 |
|
|
}, |
366 |
|
|
"blocked_messages": { |
367 |
|
|
"type": "boolean", |
368 |
|
|
"default": false |
369 |
|
|
} |
370 |
|
|
}, |
371 |
|
|
"additionalProperties": false |
372 |
|
|
} |
373 |
|
|
], |
374 |
|
|
"default": false |
375 |
|
|
}, |
376 |
|
|
"delete_message": { |
377 |
|
|
"anyOf": [ |
378 |
|
|
{ |
379 |
|
|
"type": "boolean" |
380 |
|
|
}, |
381 |
|
|
{ |
382 |
|
|
"type": "object", |
383 |
|
|
"properties": { |
384 |
|
|
"blocked_words": { |
385 |
|
|
"type": "boolean", |
386 |
|
|
"default": false |
387 |
|
|
}, |
388 |
|
|
"blocked_tokens": { |
389 |
|
|
"type": "boolean", |
390 |
|
|
"default": false |
391 |
|
|
}, |
392 |
|
|
"blocked_messages": { |
393 |
|
|
"type": "boolean", |
394 |
|
|
"default": false |
395 |
|
|
} |
396 |
|
|
}, |
397 |
|
|
"additionalProperties": false |
398 |
|
|
} |
399 |
|
|
], |
400 |
|
|
"default": false |
401 |
|
|
}, |
402 |
|
|
"data": { |
403 |
|
|
"type": "object", |
404 |
|
|
"properties": { |
405 |
|
|
"blocked_words": { |
406 |
|
|
"type": "array", |
407 |
|
|
"items": { |
408 |
|
|
"type": "string" |
409 |
|
|
}, |
410 |
|
|
"default": [] |
411 |
|
|
}, |
412 |
|
|
"blocked_tokens": { |
413 |
|
|
"type": "array", |
414 |
|
|
"items": { |
415 |
|
|
"type": "string" |
416 |
|
|
}, |
417 |
|
|
"default": [] |
418 |
|
|
}, |
419 |
|
|
"blocked_messages": { |
420 |
|
|
"type": "array", |
421 |
|
|
"items": { |
422 |
|
|
"type": "string" |
423 |
|
|
}, |
424 |
|
|
"default": [] |
425 |
|
|
} |
426 |
|
|
}, |
427 |
|
|
"additionalProperties": false, |
428 |
|
|
"default": {} |
429 |
|
|
} |
430 |
|
|
}, |
431 |
|
|
"additionalProperties": false |
432 |
|
|
}, |
433 |
|
|
"antispam": { |
434 |
|
|
"type": "object", |
435 |
|
|
"properties": { |
436 |
|
|
"enabled": { |
437 |
|
|
"type": "boolean", |
438 |
|
|
"default": false |
439 |
|
|
}, |
440 |
|
|
"limit": { |
441 |
|
|
"type": "integer", |
442 |
|
|
"default": -1 |
443 |
|
|
}, |
444 |
|
|
"timeframe": { |
445 |
|
|
"type": "integer", |
446 |
|
|
"default": -1 |
447 |
|
|
}, |
448 |
|
|
"mute_duration": { |
449 |
|
|
"type": "integer", |
450 |
|
|
"default": -1 |
451 |
|
|
}, |
452 |
|
|
"similar_messages": { |
453 |
|
|
"type": "object", |
454 |
|
|
"properties": { |
455 |
|
|
"max": { |
456 |
|
|
"type": "integer", |
457 |
|
|
"default": -1 |
458 |
|
|
}, |
459 |
|
|
"channels": { |
460 |
|
|
"anyOf": [ |
461 |
|
|
{ |
462 |
|
|
"type": "array", |
463 |
|
|
"items": { |
464 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
465 |
|
|
} |
466 |
|
|
}, |
467 |
|
|
{ |
468 |
|
|
"type": "boolean" |
469 |
|
|
} |
470 |
|
|
], |
471 |
|
|
"default": false |
472 |
|
|
}, |
473 |
|
|
"timeframe": { |
474 |
|
|
"type": "integer", |
475 |
|
|
"minimum": 0 |
476 |
|
|
} |
477 |
|
|
}, |
478 |
|
|
"additionalProperties": false |
479 |
|
|
}, |
480 |
|
|
"action": { |
481 |
|
|
"type": "string", |
482 |
|
|
"enum": [ |
483 |
|
|
"verbal_warn", |
484 |
|
|
"warn", |
485 |
|
|
"mute", |
486 |
|
|
"mute_clear", |
487 |
|
|
"auto" |
488 |
|
|
] |
489 |
|
|
}, |
490 |
|
|
"disabled_channels": { |
491 |
|
|
"type": "array", |
492 |
|
|
"items": { |
493 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
494 |
|
|
}, |
495 |
|
|
"default": [] |
496 |
|
|
} |
497 |
|
|
}, |
498 |
|
|
"additionalProperties": false |
499 |
|
|
}, |
500 |
|
|
"antiraid": { |
501 |
|
|
"type": "object", |
502 |
|
|
"properties": { |
503 |
|
|
"enabled": { |
504 |
|
|
"type": "boolean", |
505 |
|
|
"default": false |
506 |
|
|
}, |
507 |
|
|
"max_joins": { |
508 |
|
|
"type": "integer", |
509 |
|
|
"default": -1 |
510 |
|
|
}, |
511 |
|
|
"timeframe": { |
512 |
|
|
"type": "integer", |
513 |
|
|
"default": -1 |
514 |
|
|
}, |
515 |
|
|
"action": { |
516 |
|
|
"type": "string", |
517 |
|
|
"enum": [ |
518 |
|
|
"auto", |
519 |
|
|
"lock", |
520 |
|
|
"antijoin", |
521 |
|
|
"lock_and_antijoin", |
522 |
|
|
"none" |
523 |
|
|
] |
524 |
|
|
}, |
525 |
|
|
"send_log": { |
526 |
|
|
"type": "boolean", |
527 |
|
|
"default": true |
528 |
|
|
}, |
529 |
|
|
"channels": { |
530 |
|
|
"type": "array", |
531 |
|
|
"items": { |
532 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
533 |
|
|
}, |
534 |
|
|
"default": [] |
535 |
|
|
}, |
536 |
|
|
"channel_mode": { |
537 |
|
|
"type": "string", |
538 |
|
|
"enum": [ |
539 |
|
|
"exclude", |
540 |
|
|
"include" |
541 |
|
|
], |
542 |
|
|
"default": "exclude" |
543 |
|
|
}, |
544 |
|
|
"ignore_private_channels": { |
545 |
|
|
"type": "boolean", |
546 |
|
|
"default": true |
547 |
|
|
} |
548 |
|
|
}, |
549 |
|
|
"additionalProperties": false |
550 |
|
|
}, |
551 |
|
|
"welcomer": { |
552 |
|
|
"type": "object", |
553 |
|
|
"properties": { |
554 |
|
|
"enabled": { |
555 |
|
|
"type": "boolean", |
556 |
|
|
"default": false |
557 |
|
|
}, |
558 |
|
|
"custom_message": { |
559 |
|
|
"type": "string" |
560 |
|
|
}, |
561 |
|
|
"randomize": { |
562 |
|
|
"type": "boolean", |
563 |
|
|
"default": false |
564 |
|
|
}, |
565 |
|
|
"mention": { |
566 |
|
|
"type": "boolean", |
567 |
|
|
"default": false |
568 |
|
|
}, |
569 |
|
|
"say_hi_button": { |
570 |
|
|
"type": "boolean", |
571 |
|
|
"default": false |
572 |
|
|
}, |
573 |
|
|
"say_hi_label": { |
574 |
|
|
"type": "string", |
575 |
|
|
"minLength": 1 |
576 |
|
|
}, |
577 |
|
|
"say_hi_emoji": { |
578 |
|
|
"type": "string", |
579 |
|
|
"default": "default" |
580 |
|
|
}, |
581 |
|
|
"say_hi_reply": { |
582 |
|
|
"type": "string" |
583 |
|
|
}, |
584 |
|
|
"say_hi_expire_after": { |
585 |
|
|
"anyOf": [ |
586 |
|
|
{ |
587 |
|
|
"type": "integer", |
588 |
|
|
"minimum": 5000, |
589 |
|
|
"maximum": 600000, |
590 |
|
|
"default": 300000 |
591 |
|
|
}, |
592 |
|
|
{ |
593 |
|
|
"type": "null" |
594 |
|
|
} |
595 |
|
|
] |
596 |
|
|
}, |
597 |
|
|
"delete_messages": { |
598 |
|
|
"anyOf": [ |
599 |
|
|
{ |
600 |
|
|
"type": "integer", |
601 |
|
|
"minimum": 5000, |
602 |
|
|
"maximum": 600000 |
603 |
|
|
}, |
604 |
|
|
{ |
605 |
|
|
"type": "null" |
606 |
|
|
} |
607 |
|
|
], |
608 |
|
|
"default": null |
609 |
|
|
}, |
610 |
|
|
"channel": { |
611 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
612 |
|
|
}, |
613 |
|
|
"embed": { |
614 |
|
|
"type": "boolean", |
615 |
|
|
"default": true |
616 |
|
|
}, |
617 |
|
|
"color": { |
618 |
|
|
"anyOf": [ |
619 |
|
|
{ |
620 |
|
|
"type": "integer", |
621 |
|
|
"minimum": 0, |
622 |
|
|
"maximum": 16777215, |
623 |
|
|
"default": 31743 |
624 |
|
|
}, |
625 |
|
|
{ |
626 |
|
|
"type": "string", |
627 |
|
|
"pattern": "^\\#" |
628 |
|
|
} |
629 |
|
|
] |
630 |
|
|
} |
631 |
|
|
}, |
632 |
|
|
"required": [ |
633 |
|
|
"channel" |
634 |
|
|
], |
635 |
|
|
"additionalProperties": false |
636 |
|
|
}, |
637 |
|
|
"profile_filter": { |
638 |
|
|
"type": "object", |
639 |
|
|
"properties": { |
640 |
|
|
"enabled": { |
641 |
|
|
"type": "boolean", |
642 |
|
|
"default": false |
643 |
|
|
}, |
644 |
|
|
"scan": { |
645 |
|
|
"type": "array", |
646 |
|
|
"items": { |
647 |
|
|
"anyOf": [ |
648 |
|
|
{ |
649 |
|
|
"type": "string", |
650 |
|
|
"enum": [ |
651 |
|
|
"status", |
652 |
|
|
"nickname" |
653 |
|
|
] |
654 |
|
|
}, |
655 |
|
|
{ |
656 |
|
|
"type": "string", |
657 |
|
|
"const": "username" |
658 |
|
|
} |
659 |
|
|
] |
660 |
|
|
}, |
661 |
|
|
"default": [] |
662 |
|
|
}, |
663 |
|
|
"actions": { |
664 |
|
|
"type": "object", |
665 |
|
|
"properties": { |
666 |
|
|
"status": { |
667 |
|
|
"anyOf": [ |
668 |
|
|
{ |
669 |
|
|
"type": "string", |
670 |
|
|
"enum": [ |
671 |
|
|
"mute", |
672 |
|
|
"warn" |
673 |
|
|
] |
674 |
|
|
}, |
675 |
|
|
{ |
676 |
|
|
"type": "string", |
677 |
|
|
"const": "none" |
678 |
|
|
} |
679 |
|
|
], |
680 |
|
|
"default": "none" |
681 |
|
|
}, |
682 |
|
|
"nickname": { |
683 |
|
|
"anyOf": [ |
684 |
|
|
{ |
685 |
|
|
"type": "string", |
686 |
|
|
"enum": [ |
687 |
|
|
"mute", |
688 |
|
|
"warn" |
689 |
|
|
] |
690 |
|
|
}, |
691 |
|
|
{ |
692 |
|
|
"type": "string", |
693 |
|
|
"const": "none" |
694 |
|
|
} |
695 |
|
|
], |
696 |
|
|
"default": "none" |
697 |
|
|
}, |
698 |
|
|
"username": { |
699 |
|
|
"anyOf": [ |
700 |
|
|
{ |
701 |
|
|
"type": "string", |
702 |
|
|
"enum": [ |
703 |
|
|
"mute", |
704 |
|
|
"warn" |
705 |
|
|
] |
706 |
|
|
}, |
707 |
|
|
{ |
708 |
|
|
"type": "string", |
709 |
|
|
"const": "none" |
710 |
|
|
} |
711 |
|
|
], |
712 |
|
|
"default": "none" |
713 |
|
|
} |
714 |
|
|
}, |
715 |
|
|
"additionalProperties": false, |
716 |
|
|
"default": {} |
717 |
|
|
}, |
718 |
|
|
"inherit_from_message_filter": { |
719 |
|
|
"type": "object", |
720 |
|
|
"properties": { |
721 |
|
|
"tokens": { |
722 |
|
|
"type": "boolean", |
723 |
|
|
"default": false |
724 |
|
|
}, |
725 |
|
|
"words": { |
726 |
|
|
"type": "boolean", |
727 |
|
|
"default": false |
728 |
|
|
} |
729 |
|
|
}, |
730 |
|
|
"additionalProperties": false, |
731 |
|
|
"default": {} |
732 |
|
|
}, |
733 |
|
|
"tokens": { |
734 |
|
|
"type": "array", |
735 |
|
|
"items": { |
736 |
|
|
"type": "string" |
737 |
|
|
}, |
738 |
|
|
"default": [] |
739 |
|
|
}, |
740 |
|
|
"words": { |
741 |
|
|
"type": "array", |
742 |
|
|
"items": { |
743 |
|
|
"type": "string" |
744 |
|
|
}, |
745 |
|
|
"default": [] |
746 |
|
|
} |
747 |
|
|
}, |
748 |
|
|
"additionalProperties": false |
749 |
|
|
}, |
750 |
|
|
"autorole": { |
751 |
|
|
"type": "object", |
752 |
|
|
"properties": { |
753 |
|
|
"enabled": { |
754 |
|
|
"type": "boolean", |
755 |
|
|
"default": false |
756 |
|
|
}, |
757 |
|
|
"roles": { |
758 |
|
|
"type": "array", |
759 |
|
|
"items": { |
760 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
761 |
|
|
}, |
762 |
|
|
"default": [] |
763 |
|
|
}, |
764 |
|
|
"ignore_bots": { |
765 |
|
|
"type": "boolean", |
766 |
|
|
"default": true |
767 |
|
|
} |
768 |
|
|
}, |
769 |
|
|
"additionalProperties": false |
770 |
|
|
}, |
771 |
|
|
"reaction_roles": { |
772 |
|
|
"type": "object", |
773 |
|
|
"properties": { |
774 |
|
|
"enabled": { |
775 |
|
|
"type": "boolean", |
776 |
|
|
"default": false |
777 |
|
|
}, |
778 |
|
|
"ignore_bots": { |
779 |
|
|
"type": "boolean", |
780 |
|
|
"default": true |
781 |
|
|
}, |
782 |
|
|
"ratelimiting": { |
783 |
|
|
"type": "object", |
784 |
|
|
"properties": { |
785 |
|
|
"enabled": { |
786 |
|
|
"type": "boolean", |
787 |
|
|
"default": true |
788 |
|
|
}, |
789 |
|
|
"timeframe": { |
790 |
|
|
"type": "integer", |
791 |
|
|
"minimum": 0, |
792 |
|
|
"default": 7000 |
793 |
|
|
}, |
794 |
|
|
"max_attempts": { |
795 |
|
|
"type": "integer", |
796 |
|
|
"minimum": 0, |
797 |
|
|
"default": 5 |
798 |
|
|
}, |
799 |
|
|
"block_duration": { |
800 |
|
|
"type": "integer", |
801 |
|
|
"minimum": 0, |
802 |
|
|
"default": 10000 |
803 |
|
|
} |
804 |
|
|
}, |
805 |
|
|
"additionalProperties": false |
806 |
|
|
} |
807 |
|
|
}, |
808 |
|
|
"additionalProperties": false |
809 |
|
|
}, |
810 |
|
|
"create_boost_role": { |
811 |
|
|
"type": "object", |
812 |
|
|
"properties": { |
813 |
|
|
"create_roles_after": { |
814 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
815 |
|
|
} |
816 |
|
|
}, |
817 |
|
|
"additionalProperties": false |
818 |
|
|
}, |
819 |
|
|
"disabled_commands": { |
820 |
|
|
"type": "object", |
821 |
|
|
"properties": { |
822 |
|
|
"guild": { |
823 |
|
|
"type": "array", |
824 |
|
|
"items": { |
825 |
|
|
"type": "string" |
826 |
|
|
}, |
827 |
|
|
"default": [] |
828 |
|
|
}, |
829 |
|
|
"channels": { |
830 |
|
|
"type": "object", |
831 |
|
|
"additionalProperties": { |
832 |
|
|
"type": "array", |
833 |
|
|
"items": { |
834 |
|
|
"type": "string" |
835 |
|
|
}, |
836 |
|
|
"default": [] |
837 |
|
|
}, |
838 |
|
|
"default": {} |
839 |
|
|
} |
840 |
|
|
}, |
841 |
|
|
"additionalProperties": false |
842 |
|
|
}, |
843 |
|
|
"file_filter": { |
844 |
|
|
"type": "object", |
845 |
|
|
"properties": { |
846 |
|
|
"enabled": { |
847 |
|
|
"type": "boolean", |
848 |
|
|
"default": false |
849 |
|
|
}, |
850 |
|
|
"disabled_channels": { |
851 |
|
|
"type": "array", |
852 |
|
|
"items": { |
853 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
854 |
|
|
}, |
855 |
|
|
"default": [] |
856 |
|
|
}, |
857 |
|
|
"blocked_hashes": { |
858 |
|
|
"type": "object", |
859 |
|
|
"additionalProperties": { |
860 |
|
|
"type": [ |
861 |
|
|
"string", |
862 |
|
|
"null" |
863 |
|
|
] |
864 |
|
|
}, |
865 |
|
|
"default": {} |
866 |
|
|
} |
867 |
|
|
}, |
868 |
|
|
"additionalProperties": false |
869 |
|
|
}, |
870 |
|
|
"message_rules": { |
871 |
|
|
"type": "object", |
872 |
|
|
"properties": { |
873 |
|
|
"enabled": { |
874 |
|
|
"type": "boolean", |
875 |
|
|
"default": false |
876 |
|
|
}, |
877 |
|
|
"rules": { |
878 |
|
|
"type": "array", |
879 |
|
|
"items": { |
880 |
|
|
"anyOf": [ |
881 |
|
|
{ |
882 |
|
|
"type": "object", |
883 |
|
|
"properties": { |
884 |
|
|
"disabled_channels": { |
885 |
|
|
"type": "array", |
886 |
|
|
"items": { |
887 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
888 |
|
|
}, |
889 |
|
|
"default": [] |
890 |
|
|
}, |
891 |
|
|
"immune_roles": { |
892 |
|
|
"type": "array", |
893 |
|
|
"items": { |
894 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
895 |
|
|
}, |
896 |
|
|
"default": [] |
897 |
|
|
}, |
898 |
|
|
"immune_users": { |
899 |
|
|
"type": "array", |
900 |
|
|
"items": { |
901 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
902 |
|
|
}, |
903 |
|
|
"default": [] |
904 |
|
|
}, |
905 |
|
|
"actions": { |
906 |
|
|
"type": "array", |
907 |
|
|
"items": { |
908 |
|
|
"type": "string", |
909 |
|
|
"enum": [ |
910 |
|
|
"delete", |
911 |
|
|
"verbal_warn", |
912 |
|
|
"warn", |
913 |
|
|
"mute", |
914 |
|
|
"clear" |
915 |
|
|
] |
916 |
|
|
}, |
917 |
|
|
"default": [] |
918 |
|
|
}, |
919 |
|
|
"verbal_warning_reason": { |
920 |
|
|
"type": "string" |
921 |
|
|
}, |
922 |
|
|
"warning_reason": { |
923 |
|
|
"type": "string" |
924 |
|
|
}, |
925 |
|
|
"mute_reason": { |
926 |
|
|
"type": "string" |
927 |
|
|
}, |
928 |
|
|
"common_reason": { |
929 |
|
|
"type": "string" |
930 |
|
|
}, |
931 |
|
|
"mute_duration": { |
932 |
|
|
"type": "integer", |
933 |
|
|
"default": -1 |
934 |
|
|
}, |
935 |
|
|
"mode": { |
936 |
|
|
"type": "string", |
937 |
|
|
"enum": [ |
938 |
|
|
"normal", |
939 |
|
|
"inverse" |
940 |
|
|
], |
941 |
|
|
"default": "normal" |
942 |
|
|
}, |
943 |
|
|
"type": { |
944 |
|
|
"type": "string", |
945 |
|
|
"const": "domain" |
946 |
|
|
}, |
947 |
|
|
"domains": { |
948 |
|
|
"type": "array", |
949 |
|
|
"items": { |
950 |
|
|
"type": "string" |
951 |
|
|
}, |
952 |
|
|
"default": [] |
953 |
|
|
}, |
954 |
|
|
"scan_links_only": { |
955 |
|
|
"type": "boolean", |
956 |
|
|
"default": false |
957 |
|
|
} |
958 |
|
|
}, |
959 |
|
|
"required": [ |
960 |
|
|
"type" |
961 |
|
|
], |
962 |
|
|
"additionalProperties": false |
963 |
|
|
}, |
964 |
|
|
{ |
965 |
|
|
"type": "object", |
966 |
|
|
"properties": { |
967 |
|
|
"disabled_channels": { |
968 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels" |
969 |
|
|
}, |
970 |
|
|
"immune_roles": { |
971 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles" |
972 |
|
|
}, |
973 |
|
|
"immune_users": { |
974 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users" |
975 |
|
|
}, |
976 |
|
|
"actions": { |
977 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions" |
978 |
|
|
}, |
979 |
|
|
"verbal_warning_reason": { |
980 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason" |
981 |
|
|
}, |
982 |
|
|
"warning_reason": { |
983 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason" |
984 |
|
|
}, |
985 |
|
|
"mute_reason": { |
986 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason" |
987 |
|
|
}, |
988 |
|
|
"common_reason": { |
989 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason" |
990 |
|
|
}, |
991 |
|
|
"mute_duration": { |
992 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration" |
993 |
|
|
}, |
994 |
|
|
"mode": { |
995 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode" |
996 |
|
|
}, |
997 |
|
|
"data": { |
998 |
|
|
"type": "array", |
999 |
|
|
"items": { |
1000 |
|
|
"type": "string" |
1001 |
|
|
}, |
1002 |
|
|
"default": [] |
1003 |
|
|
}, |
1004 |
|
|
"type": { |
1005 |
|
|
"type": "string", |
1006 |
|
|
"const": "blocked_mime_type" |
1007 |
|
|
} |
1008 |
|
|
}, |
1009 |
|
|
"required": [ |
1010 |
|
|
"type" |
1011 |
|
|
], |
1012 |
|
|
"additionalProperties": false |
1013 |
|
|
}, |
1014 |
|
|
{ |
1015 |
|
|
"type": "object", |
1016 |
|
|
"properties": { |
1017 |
|
|
"disabled_channels": { |
1018 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels" |
1019 |
|
|
}, |
1020 |
|
|
"immune_roles": { |
1021 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles" |
1022 |
|
|
}, |
1023 |
|
|
"immune_users": { |
1024 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users" |
1025 |
|
|
}, |
1026 |
|
|
"actions": { |
1027 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions" |
1028 |
|
|
}, |
1029 |
|
|
"verbal_warning_reason": { |
1030 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason" |
1031 |
|
|
}, |
1032 |
|
|
"warning_reason": { |
1033 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason" |
1034 |
|
|
}, |
1035 |
|
|
"mute_reason": { |
1036 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason" |
1037 |
|
|
}, |
1038 |
|
|
"common_reason": { |
1039 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason" |
1040 |
|
|
}, |
1041 |
|
|
"mute_duration": { |
1042 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration" |
1043 |
|
|
}, |
1044 |
|
|
"mode": { |
1045 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode" |
1046 |
|
|
}, |
1047 |
|
|
"data": { |
1048 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/1/properties/data" |
1049 |
|
|
}, |
1050 |
|
|
"type": { |
1051 |
|
|
"type": "string", |
1052 |
|
|
"const": "blocked_file_extension" |
1053 |
|
|
} |
1054 |
|
|
}, |
1055 |
|
|
"required": [ |
1056 |
|
|
"type" |
1057 |
|
|
], |
1058 |
|
|
"additionalProperties": false |
1059 |
|
|
}, |
1060 |
|
|
{ |
1061 |
|
|
"type": "object", |
1062 |
|
|
"properties": { |
1063 |
|
|
"disabled_channels": { |
1064 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels" |
1065 |
|
|
}, |
1066 |
|
|
"immune_roles": { |
1067 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles" |
1068 |
|
|
}, |
1069 |
|
|
"immune_users": { |
1070 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users" |
1071 |
|
|
}, |
1072 |
|
|
"actions": { |
1073 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions" |
1074 |
|
|
}, |
1075 |
|
|
"verbal_warning_reason": { |
1076 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason" |
1077 |
|
|
}, |
1078 |
|
|
"warning_reason": { |
1079 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason" |
1080 |
|
|
}, |
1081 |
|
|
"mute_reason": { |
1082 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason" |
1083 |
|
|
}, |
1084 |
|
|
"common_reason": { |
1085 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason" |
1086 |
|
|
}, |
1087 |
|
|
"mute_duration": { |
1088 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration" |
1089 |
|
|
}, |
1090 |
|
|
"mode": { |
1091 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode" |
1092 |
|
|
}, |
1093 |
|
|
"type": { |
1094 |
|
|
"type": "string", |
1095 |
|
|
"const": "anti_invite" |
1096 |
|
|
}, |
1097 |
|
|
"allowed_invite_codes": { |
1098 |
|
|
"type": "array", |
1099 |
|
|
"items": { |
1100 |
|
|
"type": "string" |
1101 |
|
|
}, |
1102 |
|
|
"default": [] |
1103 |
|
|
}, |
1104 |
|
|
"allow_internal_invites": { |
1105 |
|
|
"type": "boolean", |
1106 |
|
|
"default": true |
1107 |
|
|
} |
1108 |
|
|
}, |
1109 |
|
|
"required": [ |
1110 |
|
|
"type" |
1111 |
|
|
], |
1112 |
|
|
"additionalProperties": false |
1113 |
|
|
}, |
1114 |
|
|
{ |
1115 |
|
|
"type": "object", |
1116 |
|
|
"properties": { |
1117 |
|
|
"disabled_channels": { |
1118 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels" |
1119 |
|
|
}, |
1120 |
|
|
"immune_roles": { |
1121 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles" |
1122 |
|
|
}, |
1123 |
|
|
"immune_users": { |
1124 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users" |
1125 |
|
|
}, |
1126 |
|
|
"actions": { |
1127 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions" |
1128 |
|
|
}, |
1129 |
|
|
"verbal_warning_reason": { |
1130 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason" |
1131 |
|
|
}, |
1132 |
|
|
"warning_reason": { |
1133 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason" |
1134 |
|
|
}, |
1135 |
|
|
"mute_reason": { |
1136 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason" |
1137 |
|
|
}, |
1138 |
|
|
"common_reason": { |
1139 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason" |
1140 |
|
|
}, |
1141 |
|
|
"mute_duration": { |
1142 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration" |
1143 |
|
|
}, |
1144 |
|
|
"mode": { |
1145 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode" |
1146 |
|
|
}, |
1147 |
|
|
"type": { |
1148 |
|
|
"type": "string", |
1149 |
|
|
"const": "regex_filter" |
1150 |
|
|
}, |
1151 |
|
|
"patterns": { |
1152 |
|
|
"type": "array", |
1153 |
|
|
"items": { |
1154 |
|
|
"anyOf": [ |
1155 |
|
|
{ |
1156 |
|
|
"type": "string" |
1157 |
|
|
}, |
1158 |
|
|
{ |
1159 |
|
|
"type": "array", |
1160 |
|
|
"minItems": 2, |
1161 |
|
|
"maxItems": 2, |
1162 |
|
|
"items": [ |
1163 |
|
|
{ |
1164 |
|
|
"type": "string" |
1165 |
|
|
}, |
1166 |
|
|
{ |
1167 |
|
|
"type": "string" |
1168 |
|
|
} |
1169 |
|
|
] |
1170 |
|
|
} |
1171 |
|
|
] |
1172 |
|
|
}, |
1173 |
|
|
"default": [] |
1174 |
|
|
} |
1175 |
|
|
}, |
1176 |
|
|
"required": [ |
1177 |
|
|
"type" |
1178 |
|
|
], |
1179 |
|
|
"additionalProperties": false |
1180 |
|
|
}, |
1181 |
|
|
{ |
1182 |
|
|
"type": "object", |
1183 |
|
|
"properties": { |
1184 |
|
|
"disabled_channels": { |
1185 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels" |
1186 |
|
|
}, |
1187 |
|
|
"immune_roles": { |
1188 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles" |
1189 |
|
|
}, |
1190 |
|
|
"immune_users": { |
1191 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users" |
1192 |
|
|
}, |
1193 |
|
|
"actions": { |
1194 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions" |
1195 |
|
|
}, |
1196 |
|
|
"verbal_warning_reason": { |
1197 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason" |
1198 |
|
|
}, |
1199 |
|
|
"warning_reason": { |
1200 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason" |
1201 |
|
|
}, |
1202 |
|
|
"mute_reason": { |
1203 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason" |
1204 |
|
|
}, |
1205 |
|
|
"common_reason": { |
1206 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason" |
1207 |
|
|
}, |
1208 |
|
|
"mute_duration": { |
1209 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration" |
1210 |
|
|
}, |
1211 |
|
|
"mode": { |
1212 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode" |
1213 |
|
|
}, |
1214 |
|
|
"type": { |
1215 |
|
|
"type": "string", |
1216 |
|
|
"const": "block_repeated_text" |
1217 |
|
|
}, |
1218 |
|
|
"max_repeated_chars": { |
1219 |
|
|
"type": "integer", |
1220 |
|
|
"default": 20 |
1221 |
|
|
}, |
1222 |
|
|
"max_repeated_words": { |
1223 |
|
|
"type": "integer", |
1224 |
|
|
"default": 15 |
1225 |
|
|
} |
1226 |
|
|
}, |
1227 |
|
|
"required": [ |
1228 |
|
|
"type" |
1229 |
|
|
], |
1230 |
|
|
"additionalProperties": false |
1231 |
|
|
}, |
1232 |
|
|
{ |
1233 |
|
|
"type": "object", |
1234 |
|
|
"properties": { |
1235 |
|
|
"disabled_channels": { |
1236 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels" |
1237 |
|
|
}, |
1238 |
|
|
"immune_roles": { |
1239 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles" |
1240 |
|
|
}, |
1241 |
|
|
"immune_users": { |
1242 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users" |
1243 |
|
|
}, |
1244 |
|
|
"actions": { |
1245 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions" |
1246 |
|
|
}, |
1247 |
|
|
"verbal_warning_reason": { |
1248 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason" |
1249 |
|
|
}, |
1250 |
|
|
"warning_reason": { |
1251 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason" |
1252 |
|
|
}, |
1253 |
|
|
"mute_reason": { |
1254 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason" |
1255 |
|
|
}, |
1256 |
|
|
"common_reason": { |
1257 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason" |
1258 |
|
|
}, |
1259 |
|
|
"mute_duration": { |
1260 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration" |
1261 |
|
|
}, |
1262 |
|
|
"mode": { |
1263 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode" |
1264 |
|
|
}, |
1265 |
|
|
"type": { |
1266 |
|
|
"type": "string", |
1267 |
|
|
"const": "block_mass_mention" |
1268 |
|
|
}, |
1269 |
|
|
"max_mentions": { |
1270 |
|
|
"type": "integer", |
1271 |
|
|
"default": 15 |
1272 |
|
|
}, |
1273 |
|
|
"max_user_mentions": { |
1274 |
|
|
"type": "integer", |
1275 |
|
|
"default": -1 |
1276 |
|
|
}, |
1277 |
|
|
"max_role_mentions": { |
1278 |
|
|
"type": "integer", |
1279 |
|
|
"default": -1 |
1280 |
|
|
} |
1281 |
|
|
}, |
1282 |
|
|
"required": [ |
1283 |
|
|
"type" |
1284 |
|
|
], |
1285 |
|
|
"additionalProperties": false |
1286 |
|
|
}, |
1287 |
|
|
{ |
1288 |
|
|
"type": "object", |
1289 |
|
|
"properties": { |
1290 |
|
|
"disabled_channels": { |
1291 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels" |
1292 |
|
|
}, |
1293 |
|
|
"immune_roles": { |
1294 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles" |
1295 |
|
|
}, |
1296 |
|
|
"immune_users": { |
1297 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users" |
1298 |
|
|
}, |
1299 |
|
|
"actions": { |
1300 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions" |
1301 |
|
|
}, |
1302 |
|
|
"verbal_warning_reason": { |
1303 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason" |
1304 |
|
|
}, |
1305 |
|
|
"warning_reason": { |
1306 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason" |
1307 |
|
|
}, |
1308 |
|
|
"mute_reason": { |
1309 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason" |
1310 |
|
|
}, |
1311 |
|
|
"common_reason": { |
1312 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason" |
1313 |
|
|
}, |
1314 |
|
|
"mute_duration": { |
1315 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration" |
1316 |
|
|
}, |
1317 |
|
|
"mode": { |
1318 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode" |
1319 |
|
|
}, |
1320 |
|
|
"type": { |
1321 |
|
|
"type": "string", |
1322 |
|
|
"const": "regex_must_match" |
1323 |
|
|
}, |
1324 |
|
|
"patterns": { |
1325 |
|
|
"type": "array", |
1326 |
|
|
"items": { |
1327 |
|
|
"anyOf": [ |
1328 |
|
|
{ |
1329 |
|
|
"type": "string" |
1330 |
|
|
}, |
1331 |
|
|
{ |
1332 |
|
|
"type": "array", |
1333 |
|
|
"minItems": 2, |
1334 |
|
|
"maxItems": 2, |
1335 |
|
|
"items": [ |
1336 |
|
|
{ |
1337 |
|
|
"type": "string" |
1338 |
|
|
}, |
1339 |
|
|
{ |
1340 |
|
|
"type": "string" |
1341 |
|
|
} |
1342 |
|
|
] |
1343 |
|
|
} |
1344 |
|
|
] |
1345 |
|
|
}, |
1346 |
|
|
"default": [] |
1347 |
|
|
} |
1348 |
|
|
}, |
1349 |
|
|
"required": [ |
1350 |
|
|
"type" |
1351 |
|
|
], |
1352 |
|
|
"additionalProperties": false |
1353 |
|
|
}, |
1354 |
|
|
{ |
1355 |
|
|
"type": "object", |
1356 |
|
|
"properties": { |
1357 |
|
|
"disabled_channels": { |
1358 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels" |
1359 |
|
|
}, |
1360 |
|
|
"immune_roles": { |
1361 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles" |
1362 |
|
|
}, |
1363 |
|
|
"immune_users": { |
1364 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users" |
1365 |
|
|
}, |
1366 |
|
|
"actions": { |
1367 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions" |
1368 |
|
|
}, |
1369 |
|
|
"verbal_warning_reason": { |
1370 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason" |
1371 |
|
|
}, |
1372 |
|
|
"warning_reason": { |
1373 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason" |
1374 |
|
|
}, |
1375 |
|
|
"mute_reason": { |
1376 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason" |
1377 |
|
|
}, |
1378 |
|
|
"common_reason": { |
1379 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason" |
1380 |
|
|
}, |
1381 |
|
|
"mute_duration": { |
1382 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration" |
1383 |
|
|
}, |
1384 |
|
|
"mode": { |
1385 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode" |
1386 |
|
|
}, |
1387 |
|
|
"type": { |
1388 |
|
|
"type": "string", |
1389 |
|
|
"const": "image" |
1390 |
|
|
}, |
1391 |
|
|
"tokens": { |
1392 |
|
|
"type": "array", |
1393 |
|
|
"items": { |
1394 |
|
|
"type": "string" |
1395 |
|
|
}, |
1396 |
|
|
"default": [] |
1397 |
|
|
}, |
1398 |
|
|
"words": { |
1399 |
|
|
"type": "array", |
1400 |
|
|
"items": { |
1401 |
|
|
"type": "string" |
1402 |
|
|
}, |
1403 |
|
|
"default": [] |
1404 |
|
|
}, |
1405 |
|
|
"inherit_from_word_filter": { |
1406 |
|
|
"type": "boolean", |
1407 |
|
|
"default": false |
1408 |
|
|
} |
1409 |
|
|
}, |
1410 |
|
|
"required": [ |
1411 |
|
|
"type" |
1412 |
|
|
], |
1413 |
|
|
"additionalProperties": false |
1414 |
|
|
} |
1415 |
|
|
] |
1416 |
|
|
}, |
1417 |
|
|
"default": [] |
1418 |
|
|
}, |
1419 |
|
|
"global_disabled_channels": { |
1420 |
|
|
"type": "array", |
1421 |
|
|
"items": { |
1422 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1423 |
|
|
}, |
1424 |
|
|
"default": [] |
1425 |
|
|
} |
1426 |
|
|
}, |
1427 |
|
|
"additionalProperties": false |
1428 |
|
|
}, |
1429 |
|
|
"auto_triggers": { |
1430 |
|
|
"type": "object", |
1431 |
|
|
"properties": { |
1432 |
|
|
"enabled": { |
1433 |
|
|
"type": "boolean", |
1434 |
|
|
"default": false |
1435 |
|
|
}, |
1436 |
|
|
"triggers": { |
1437 |
|
|
"type": "array", |
1438 |
|
|
"items": { |
1439 |
|
|
"anyOf": [ |
1440 |
|
|
{ |
1441 |
|
|
"type": "object", |
1442 |
|
|
"properties": { |
1443 |
|
|
"enabled_channels": { |
1444 |
|
|
"anyOf": [ |
1445 |
|
|
{ |
1446 |
|
|
"type": "array", |
1447 |
|
|
"items": { |
1448 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1449 |
|
|
}, |
1450 |
|
|
"default": [] |
1451 |
|
|
}, |
1452 |
|
|
{ |
1453 |
|
|
"type": "string", |
1454 |
|
|
"const": "all" |
1455 |
|
|
} |
1456 |
|
|
] |
1457 |
|
|
}, |
1458 |
|
|
"ignore_roles": { |
1459 |
|
|
"type": "array", |
1460 |
|
|
"items": { |
1461 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1462 |
|
|
}, |
1463 |
|
|
"default": [] |
1464 |
|
|
}, |
1465 |
|
|
"ignore_users": { |
1466 |
|
|
"type": "array", |
1467 |
|
|
"items": { |
1468 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1469 |
|
|
}, |
1470 |
|
|
"default": [] |
1471 |
|
|
}, |
1472 |
|
|
"type": { |
1473 |
|
|
"type": "string", |
1474 |
|
|
"const": "sticky_message" |
1475 |
|
|
}, |
1476 |
|
|
"message": { |
1477 |
|
|
"type": "string" |
1478 |
|
|
}, |
1479 |
|
|
"buttons": { |
1480 |
|
|
"type": "array", |
1481 |
|
|
"items": { |
1482 |
|
|
"type": "object", |
1483 |
|
|
"properties": { |
1484 |
|
|
"label": { |
1485 |
|
|
"type": "string" |
1486 |
|
|
}, |
1487 |
|
|
"url": { |
1488 |
|
|
"type": "string", |
1489 |
|
|
"format": "uri" |
1490 |
|
|
} |
1491 |
|
|
}, |
1492 |
|
|
"required": [ |
1493 |
|
|
"label", |
1494 |
|
|
"url" |
1495 |
|
|
], |
1496 |
|
|
"additionalProperties": false |
1497 |
|
|
}, |
1498 |
|
|
"maxItems": 3, |
1499 |
|
|
"default": [] |
1500 |
|
|
} |
1501 |
|
|
}, |
1502 |
|
|
"required": [ |
1503 |
|
|
"type", |
1504 |
|
|
"message" |
1505 |
|
|
], |
1506 |
|
|
"additionalProperties": false |
1507 |
|
|
}, |
1508 |
|
|
{ |
1509 |
|
|
"type": "object", |
1510 |
|
|
"properties": { |
1511 |
|
|
"enabled_channels": { |
1512 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/auto_triggers/properties/triggers/items/anyOf/0/properties/enabled_channels" |
1513 |
|
|
}, |
1514 |
|
|
"ignore_roles": { |
1515 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/auto_triggers/properties/triggers/items/anyOf/0/properties/ignore_roles" |
1516 |
|
|
}, |
1517 |
|
|
"ignore_users": { |
1518 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/auto_triggers/properties/triggers/items/anyOf/0/properties/ignore_users" |
1519 |
|
|
}, |
1520 |
|
|
"type": { |
1521 |
|
|
"type": "string", |
1522 |
|
|
"const": "member_status_update" |
1523 |
|
|
}, |
1524 |
|
|
"must_contain": { |
1525 |
|
|
"type": "array", |
1526 |
|
|
"items": { |
1527 |
|
|
"type": "string" |
1528 |
|
|
}, |
1529 |
|
|
"default": [] |
1530 |
|
|
}, |
1531 |
|
|
"must_not_contain": { |
1532 |
|
|
"type": "array", |
1533 |
|
|
"items": { |
1534 |
|
|
"type": "string" |
1535 |
|
|
}, |
1536 |
|
|
"default": [] |
1537 |
|
|
}, |
1538 |
|
|
"action": { |
1539 |
|
|
"type": "string", |
1540 |
|
|
"enum": [ |
1541 |
|
|
"assign_role", |
1542 |
|
|
"take_away_role" |
1543 |
|
|
] |
1544 |
|
|
}, |
1545 |
|
|
"roles": { |
1546 |
|
|
"type": "array", |
1547 |
|
|
"items": { |
1548 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1549 |
|
|
}, |
1550 |
|
|
"default": [] |
1551 |
|
|
} |
1552 |
|
|
}, |
1553 |
|
|
"required": [ |
1554 |
|
|
"type", |
1555 |
|
|
"action" |
1556 |
|
|
], |
1557 |
|
|
"additionalProperties": false |
1558 |
|
|
} |
1559 |
|
|
] |
1560 |
|
|
}, |
1561 |
|
|
"default": [] |
1562 |
|
|
}, |
1563 |
|
|
"global_disabled_channels": { |
1564 |
|
|
"type": "array", |
1565 |
|
|
"items": { |
1566 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1567 |
|
|
}, |
1568 |
|
|
"default": [] |
1569 |
|
|
} |
1570 |
|
|
}, |
1571 |
|
|
"additionalProperties": false |
1572 |
|
|
}, |
1573 |
|
|
"ai_automod": { |
1574 |
|
|
"type": "object", |
1575 |
|
|
"properties": { |
1576 |
|
|
"enabled": { |
1577 |
|
|
"type": "boolean", |
1578 |
|
|
"default": false |
1579 |
|
|
}, |
1580 |
|
|
"disabled_channels": { |
1581 |
|
|
"type": "array", |
1582 |
|
|
"items": { |
1583 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1584 |
|
|
}, |
1585 |
|
|
"default": [] |
1586 |
|
|
}, |
1587 |
|
|
"parameters": { |
1588 |
|
|
"type": "object", |
1589 |
|
|
"properties": { |
1590 |
|
|
"max_toxicity": { |
1591 |
|
|
"type": "integer", |
1592 |
|
|
"minimum": 0, |
1593 |
|
|
"maximum": 101, |
1594 |
|
|
"default": 101 |
1595 |
|
|
}, |
1596 |
|
|
"max_severe_toxicity": { |
1597 |
|
|
"type": "integer", |
1598 |
|
|
"minimum": 0, |
1599 |
|
|
"maximum": 101, |
1600 |
|
|
"default": 101 |
1601 |
|
|
}, |
1602 |
|
|
"max_threat": { |
1603 |
|
|
"type": "integer", |
1604 |
|
|
"minimum": 0, |
1605 |
|
|
"maximum": 101, |
1606 |
|
|
"default": 101 |
1607 |
|
|
}, |
1608 |
|
|
"max_profanity": { |
1609 |
|
|
"type": "integer", |
1610 |
|
|
"minimum": 0, |
1611 |
|
|
"maximum": 101, |
1612 |
|
|
"default": 101 |
1613 |
|
|
}, |
1614 |
|
|
"max_flirtation": { |
1615 |
|
|
"type": "integer", |
1616 |
|
|
"minimum": 0, |
1617 |
|
|
"maximum": 101, |
1618 |
|
|
"default": 101 |
1619 |
|
|
}, |
1620 |
|
|
"max_identity_attack": { |
1621 |
|
|
"type": "integer", |
1622 |
|
|
"minimum": 0, |
1623 |
|
|
"maximum": 101, |
1624 |
|
|
"default": 101 |
1625 |
|
|
}, |
1626 |
|
|
"max_insult": { |
1627 |
|
|
"type": "integer", |
1628 |
|
|
"minimum": 0, |
1629 |
|
|
"maximum": 101, |
1630 |
|
|
"default": 101 |
1631 |
|
|
}, |
1632 |
|
|
"max_explicit": { |
1633 |
|
|
"type": "integer", |
1634 |
|
|
"minimum": 0, |
1635 |
|
|
"maximum": 101, |
1636 |
|
|
"default": 101 |
1637 |
|
|
} |
1638 |
|
|
}, |
1639 |
|
|
"additionalProperties": false, |
1640 |
|
|
"default": {} |
1641 |
|
|
} |
1642 |
|
|
}, |
1643 |
|
|
"additionalProperties": false |
1644 |
|
|
}, |
1645 |
|
|
"extensions": { |
1646 |
|
|
"type": "object", |
1647 |
|
|
"properties": { |
1648 |
|
|
"enabled": { |
1649 |
|
|
"type": "boolean" |
1650 |
|
|
}, |
1651 |
|
|
"installed_extensions": { |
1652 |
|
|
"type": "array", |
1653 |
|
|
"items": { |
1654 |
|
|
"type": "string" |
1655 |
|
|
}, |
1656 |
|
|
"default": [] |
1657 |
|
|
}, |
1658 |
|
|
"disabled_extensions": { |
1659 |
|
|
"type": "array", |
1660 |
|
|
"items": { |
1661 |
|
|
"type": "string" |
1662 |
|
|
}, |
1663 |
|
|
"default": [] |
1664 |
|
|
} |
1665 |
|
|
}, |
1666 |
|
|
"additionalProperties": false |
1667 |
|
|
}, |
1668 |
|
|
"bump_reminder": { |
1669 |
|
|
"type": "object", |
1670 |
|
|
"properties": { |
1671 |
|
|
"enabled": { |
1672 |
|
|
"type": "boolean" |
1673 |
|
|
}, |
1674 |
|
|
"disabled_channels": { |
1675 |
|
|
"type": "array", |
1676 |
|
|
"items": { |
1677 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1678 |
|
|
}, |
1679 |
|
|
"default": [] |
1680 |
|
|
}, |
1681 |
|
|
"remind_after": { |
1682 |
|
|
"type": "integer", |
1683 |
|
|
"default": 7200000 |
1684 |
|
|
}, |
1685 |
|
|
"reminder_content": { |
1686 |
|
|
"type": "string", |
1687 |
|
|
"minLength": 1 |
1688 |
|
|
}, |
1689 |
|
|
"on_bump_content": { |
1690 |
|
|
"type": "string", |
1691 |
|
|
"minLength": 1 |
1692 |
|
|
} |
1693 |
|
|
}, |
1694 |
|
|
"additionalProperties": false |
1695 |
|
|
}, |
1696 |
|
|
"verification": { |
1697 |
|
|
"type": "object", |
1698 |
|
|
"properties": { |
1699 |
|
|
"enabled": { |
1700 |
|
|
"type": "boolean", |
1701 |
|
|
"default": false |
1702 |
|
|
}, |
1703 |
|
|
"parameters": { |
1704 |
|
|
"type": "object", |
1705 |
|
|
"properties": { |
1706 |
|
|
"age_less_than": { |
1707 |
|
|
"type": "integer", |
1708 |
|
|
"default": 259200000 |
1709 |
|
|
}, |
1710 |
|
|
"no_avatar": { |
1711 |
|
|
"type": "boolean" |
1712 |
|
|
}, |
1713 |
|
|
"always": { |
1714 |
|
|
"type": "boolean" |
1715 |
|
|
} |
1716 |
|
|
}, |
1717 |
|
|
"additionalProperties": false |
1718 |
|
|
}, |
1719 |
|
|
"unverified_roles": { |
1720 |
|
|
"type": "array", |
1721 |
|
|
"items": { |
1722 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1723 |
|
|
}, |
1724 |
|
|
"default": [] |
1725 |
|
|
}, |
1726 |
|
|
"verified_roles": { |
1727 |
|
|
"type": "array", |
1728 |
|
|
"items": { |
1729 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1730 |
|
|
}, |
1731 |
|
|
"default": [] |
1732 |
|
|
}, |
1733 |
|
|
"action_on_fail": { |
1734 |
|
|
"anyOf": [ |
1735 |
|
|
{ |
1736 |
|
|
"type": "object", |
1737 |
|
|
"properties": { |
1738 |
|
|
"type": { |
1739 |
|
|
"type": "string", |
1740 |
|
|
"const": "ban" |
1741 |
|
|
} |
1742 |
|
|
}, |
1743 |
|
|
"required": [ |
1744 |
|
|
"type" |
1745 |
|
|
], |
1746 |
|
|
"additionalProperties": false |
1747 |
|
|
}, |
1748 |
|
|
{ |
1749 |
|
|
"type": "object", |
1750 |
|
|
"properties": { |
1751 |
|
|
"type": { |
1752 |
|
|
"type": "string", |
1753 |
|
|
"const": "kick" |
1754 |
|
|
} |
1755 |
|
|
}, |
1756 |
|
|
"required": [ |
1757 |
|
|
"type" |
1758 |
|
|
], |
1759 |
|
|
"additionalProperties": false |
1760 |
|
|
}, |
1761 |
|
|
{ |
1762 |
|
|
"type": "object", |
1763 |
|
|
"properties": { |
1764 |
|
|
"type": { |
1765 |
|
|
"type": "string", |
1766 |
|
|
"const": "mute" |
1767 |
|
|
} |
1768 |
|
|
}, |
1769 |
|
|
"required": [ |
1770 |
|
|
"type" |
1771 |
|
|
], |
1772 |
|
|
"additionalProperties": false |
1773 |
|
|
}, |
1774 |
|
|
{ |
1775 |
|
|
"type": "object", |
1776 |
|
|
"properties": { |
1777 |
|
|
"type": { |
1778 |
|
|
"type": "string", |
1779 |
|
|
"const": "role" |
1780 |
|
|
}, |
1781 |
|
|
"mode": { |
1782 |
|
|
"type": "string", |
1783 |
|
|
"enum": [ |
1784 |
|
|
"give", |
1785 |
|
|
"take" |
1786 |
|
|
] |
1787 |
|
|
}, |
1788 |
|
|
"roles": { |
1789 |
|
|
"type": "array", |
1790 |
|
|
"items": { |
1791 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1792 |
|
|
} |
1793 |
|
|
} |
1794 |
|
|
}, |
1795 |
|
|
"required": [ |
1796 |
|
|
"type", |
1797 |
|
|
"mode", |
1798 |
|
|
"roles" |
1799 |
|
|
], |
1800 |
|
|
"additionalProperties": false |
1801 |
|
|
} |
1802 |
|
|
] |
1803 |
|
|
}, |
1804 |
|
|
"max_attempts": { |
1805 |
|
|
"type": "integer", |
1806 |
|
|
"default": 0, |
1807 |
|
|
"description": "Set this to 0 to allow every attempt" |
1808 |
|
|
}, |
1809 |
|
|
"max_time": { |
1810 |
|
|
"type": "integer", |
1811 |
|
|
"default": 7200000, |
1812 |
|
|
"description": "Set this to 0 to disable time checks" |
1813 |
|
|
}, |
1814 |
|
|
"logging": { |
1815 |
|
|
"type": "object", |
1816 |
|
|
"properties": { |
1817 |
|
|
"enabled": { |
1818 |
|
|
"type": "boolean" |
1819 |
|
|
}, |
1820 |
|
|
"channel": { |
1821 |
|
|
"$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items" |
1822 |
|
|
} |
1823 |
|
|
}, |
1824 |
|
|
"required": [ |
1825 |
|
|
"enabled" |
1826 |
|
|
], |
1827 |
|
|
"additionalProperties": false, |
1828 |
|
|
"default": { |
1829 |
|
|
"enabled": true |
1830 |
|
|
} |
1831 |
|
|
} |
1832 |
|
|
}, |
1833 |
|
|
"required": [ |
1834 |
|
|
"parameters" |
1835 |
|
|
], |
1836 |
|
|
"additionalProperties": false |
1837 |
|
|
}, |
1838 |
|
|
"statistics": { |
1839 |
|
|
"type": "object", |
1840 |
|
|
"properties": { |
1841 |
|
|
"enabled": { |
1842 |
|
|
"type": "boolean", |
1843 |
|
|
"default": false |
1844 |
|
|
} |
1845 |
|
|
}, |
1846 |
|
|
"additionalProperties": false |
1847 |
|
|
} |
1848 |
|
|
}, |
1849 |
|
|
"additionalProperties": false |
1850 |
|
|
}, |
1851 |
|
|
{ |
1852 |
|
|
"type": "string" |
1853 |
|
|
} |
1854 |
|
|
] |
1855 |
|
|
}, |
1856 |
|
|
"$schema": "http://json-schema.org/draft-07/schema#" |
1857 |
|
|
} |