generated from Soulter/helloworld
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_conf_schema.json
More file actions
97 lines (97 loc) · 3.51 KB
/
_conf_schema.json
File metadata and controls
97 lines (97 loc) · 3.51 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
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
{
"shutup_commands": {
"type": "list",
"description": "闭嘴指令列表",
"items": { "type": "string" },
"default": ["闭嘴", "stop","睡吧"]
},
"unshutup_commands": {
"type": "list",
"description": "解除闭嘴指令列表",
"items": { "type": "string" },
"default": ["说话", "停止闭嘴","醒醒"]
},
"default_duration": {
"type": "int",
"description": "默认闭嘴时长(秒)",
"hint": "范围0-86400秒",
"default": 600
},
"shutup_reply": {
"type": "string",
"description": "闭嘴时的回复消息",
"hint":"支持占位符 {duration}(禁言时长,秒)和 {expiry_time}(禁言结束时间)" ,
"default": "好的,我闭嘴了~"
},
"unshutup_reply": {
"type": "string",
"description": "解除闭嘴时的回复消息",
"hint": "支持占位符 {duration}(禁言时长,秒)和 {expiry_time}(禁言结束时间)",
"default": "好的,我恢复说话了~"
},
"require_prefix": {
"type": "bool",
"description": "是否需要命令前缀",
"default": true
},
"priority": {
"type": "int",
"description": "插件优先级",
"hint": "数值越大优先级越高",
"default": 10000
},
"scheduled_shutup_enabled": {
"type": "bool",
"description": "启用定时闭嘴",
"hint": "开启后,bot 会在指定时间段内自动保持沉默",
"default": false
},
"bot_name": {
"type": "string",
"description": "机器人的自称",
"hint":"用于睡眠提示语。建议将此名字同步加入 AstrBot 平台设置中的‘唤醒词’,以实现直接喊名字唤醒的功能喵!",
"default": "小爱"
},
"sleep_mode_enabled": {
"type": "bool",
"description": "启用睡眠唤醒互动",
"hint": "开启后,定时闭嘴期间会有相应的哄睡、叫醒等互动提示语。若仅需要安静的定时禁言,请关闭此项",
"default": true
},
"temp_wake_duration": {
"type": "int",
"description": "临时唤醒保持时长(秒)",
"hint": "睡眠模式下,bot 被叫醒后保持清醒的状态时长,过期后将重新入睡。默认 300 秒 (5分钟),推荐填写60的倍数,叫醒会显示'时间//60'分钟",
"default": 300
},
"scheduled_shutup_times": {
"type": "text",
"description": "定时闭嘴时间段",
"hint": "每行一个时间段,格式: HH:MM-HH:MM (24小时制)\n例如:\n23:00-07:00 (晚11点到早7点)\n12:00-14:00 (中午12点到下午2点)\n支持跨天时间段",
"default": "23:00-07:00"
},
"group_card_update_enabled": {
"type": "bool",
"description": "启用群昵称剩余时长显示",
"hint": "开启后,bot 在闭嘴期间会修改群昵称显示剩余时长,每分钟更新一次",
"default": false
},
"group_card_template": {
"type": "string",
"description": "群昵称显示模板",
"hint": "支持占位符:\n {remaining} - 剩余分钟数\n {original_card} - 原始群昵称(群名片)\n {original_nickname} - 原始QQ昵称\n {original_name} - 原始名称(优先使用群昵称,若无则使用QQ昵称)",
"default": "{original_name}[闭嘴中 {remaining}分钟]"
},
"llm_tool_enabled": {
"type": "bool",
"description": "启用 LLM 工具调用",
"hint": "开启后,LLM 可以主动调用闭嘴/解除闭嘴功能",
"default": false
},
"require_admin": {
"type": "bool",
"description": "需要管理员权限",
"hint": "开启后,只有 bot 管理员才能使用闭嘴/解除闭嘴指令",
"default": false
}
}