-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
112 lines (112 loc) · 3.24 KB
/
schema.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties":
{
"$schema":
{
"type": "string"
},
"token":
{
"type": "string",
"description": "Your discord BOT application token"
},
"developer":
{
"type": "object",
"properties":
{
"token":
{
"type": "string",
"description": "Your discord BOT application token. if not set it will use the general token"
},
"guild":
{
"type": "integer",
"description": "The ID of your main server for sync app_commands fast"
}
},
"additionalProperties": false,
"required":
[
"guild"
],
"description": "Variables used when the bot is run with the ``-dev`` argument."
},
"log_channel":
{
"type": "integer",
"description": "The Channel ID of your main server for output debugging messages"
},
"owner":
{
"type": "integer",
"description": "The owner ID. This user will have total authority over the bot code"
},
"loggers":
{
"type": "array",
"items":
{
"type": "string",
"enum":
[
"warning",
"debug",
"trace",
"info"
],
"uniqueItems": true
},
"additionalProperties": false,
"description": "Logging system, Loggers to display, note \"critical\" and \"error\" will be always shown"
},
"plugins":
{
"type": "array",
"items":
{
"type": "object",
"properties":
{
"Disable":
{
"type": "boolean",
"description": "If true, the plugin is not registered."
},
"script":
{
"type": "string",
"description": "Script directory starting from (workspace)/plugins/"
},
"servers":
{
"type": "array",
"items":
{
"type": "integer"
},
"uniqueItems": true,
"additionalProperties": true,
"description": "ID of servers that this plugin will work only, leave empty for not limiting to any"
}
},
"required":
[
"script"
],
"additionalProperties": false
}
},
"additionalProperties": false
},
"additionalProperties": false,
"required":
[
"plugins",
"token",
"$schema"
]
}