-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_conf_schema.json
More file actions
42 lines (42 loc) · 1.44 KB
/
_conf_schema.json
File metadata and controls
42 lines (42 loc) · 1.44 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
{
"github_token": {
"type": "string",
"description": "GitHub API Token",
"default": "",
"hint": "如果你的仓库很多,建议你在这里配置一个 GitHub API Token,以提高API调用的限制。"
},
"repositories": {
"type": "list",
"description": "要监控的仓库列表,支持两种格式:1.字符串格式 2.字典格式 ",
"default": [],
"hint": "例如:1592363624/astrbot_plugin_github_monitor_shell|123456|91219736 或 {\"owner\": \"1592363624\", \"repo\": \"astrbot_plugin_github_monitor_shell\", \"groups\": [\"123456\", \"91219736\"]}"
},
"check_interval": {
"type": "int",
"description": "检查间隔(分钟)",
"default": 60
},
"notification_targets": {
"type": "list",
"description": "通知目标(QQ号)",
"default": []
},
"group_notification_targets": {
"type": "list",
"description": "全局群通知目标(群号)",
"default": [],
"hint": "所有仓库更新时都会通知这些群组,如果需要为特定仓库配置额外的群组,请在仓库配置中指定"
},
"time_zone": {
"type": "string",
"description": "时间显示时区(IANA 标准名称)",
"default": "Asia/Shanghai",
"hint": "例如: Asia/Shanghai, UTC"
},
"time_format": {
"type": "string",
"description": "时间显示格式(Python strftime)",
"default": "%Y-%m-%d %H:%M:%S",
"hint": "例如: %Y-%m-%d %H:%M:%S"
}
}