This repository has been archived by the owner on Aug 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
/
command_master.yml
293 lines (291 loc) · 7.66 KB
/
command_master.yml
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
# ==============================================================================
# 此为项目的管理者插件配置。
# ==============================================================================
# 不推荐自己维护此文件,如果确实有制定需求……
#
# 1. 将此文件复制到 ../config/ 下进行修改,不要直接修改此文件。
# 2. 每次更新时关注此文件的变更,在 ../config/ 下的同名文件中体现变更。
# 3. 全局唯一的项目保证 ./command.yml 和 ./command_master.yml 中唯一。
# ==============================================================================
# plugin: # 插件名称(全局唯一、禁止修改、忽略大小写)
# enable: boolean # 是否加载插件
# weights: number # 权重越高,帮助信息里显示越靠前
# regex: # 插件入口(匹配整条命令的正则、全局唯一、忽略大小写、忽略行首空格)
# - string
# functions:
# function: # 功能代号(全局唯一、禁止修改、忽略大小写)
# type: command # 功能类型( command 、 switch 、 option )
# show: boolean # 是否显示在帮助信息中,不影响实际使用
# weights: number # 权重越高,帮助信息里显示越靠前
# name: string # 呈现给用户的功能名称(忽略大小写)
# usage: string # 呈现给用户的功能格式
# revert: boolean # 是否将 options 作为命令的前缀
# description: string # 呈现给用户的功能说明
# entrance: # 功能入口(*只*匹配功能名称的正则 、插件唯一、忽略大小写)
# - string
# options: # 候选项列表,插件自由使用, switch 约定 on 和 off 为开关选项
# option_name: string # 候选项(键禁止修改,功能唯一)
# ==============================================================================
tools_master:
enable: true
weights: 9899
regex:
- ^回(个)?话\s*\d+\s*.+$
- ^(好友|群)广播\s*.+$
- ^(好友|群)列表\s*$
- ^查找列表\s*\S+\s*$
- ^统计列表\s*$
- ^系统(状态|信息)\s*$
- ^(报告)?无效Cookie\s*$
functions:
reply:
type: command
show: true
weights: 9999
name: 回话
usage: <QQ号、群号> <文本...>
revert: false
description: null
entrance:
- ^回(个)?话
group_boardcast:
type: command
show: true
weights: 9899
name: 群广播
usage: <单行图文...>
revert: false
description: null
entrance:
- ^群广播
private_boardcast:
type: command
show: true
weights: 9799
name: 好友广播
usage: <单行图文...>
revert: false
description: null
entrance:
- ^好友广播
group_search:
type: command
show: true
weights: 9699
name: 群列表
usage: null
revert: false
description: 查看所有群
entrance:
- ^群列表
private_search:
type: command
show: true
weights: 9699
name: 好友列表
usage: null
revert: false
description: 查看所有好友
entrance:
- ^好友列表
search:
type: command
show: true
weights: 9599
name: 查找列表
usage: <关键字>
revert: false
description: 查找昵称、QQ号中包含关键字的好友和群
entrance:
- ^查找列表
count:
type: command
show: true
weights: 9499
name: 统计列表
usage: null
revert: false
description: 统计用户数量
entrance:
- ^统计列表
status:
type: command
show: true
weights: 9399
name: 系统状态
usage: null
revert: false
description: null
entrance:
- ^系统(状态|信息)
cookies_invalid:
type: command
show: true
weights: 9299
name: 报告无效Cookie
usage: null
revert: false
description: null
entrance:
- ^(报告)?无效Cookie
master:
enable: true
weights: 9999
regex:
- ^设置(带话|点歌|抽卡|圣遗物|评分|(游戏|官方)数据|娱乐功能|问答)权限\s*\d+\s*\S+\s*$
- ^设置(消息响应|米游社新闻推送)\s*\d+\s*\S+\s*$
- ^刷新卡池\s*$
functions:
feedback_auth:
type: switch
show: true
weights: 9999
name: 设置带话权限
usage: <QQ号、群号>
revert: false
description: null
entrance:
- ^设置带话权限
options:
on: on
off: off
music_auth:
type: switch
show: true
weights: 9899
name: 设置点歌权限
usage: <QQ号、群号>
revert: false
description: null
entrance:
- ^设置点歌权限
options:
on: on
off: off
gacha_auth:
type: switch
show: true
weights: 9799
name: 设置抽卡权限
usage: <QQ号、群号>
revert: false
description: null
entrance:
- ^设置抽卡权限
options:
on: on
off: off
artifact_auth:
type: switch
show: true
weights: 9699
name: 设置圣遗物权限
usage: <QQ号、群号>
revert: false
description: null
entrance:
- ^设置圣遗物权限
options:
on: on
off: off
rating_auth:
type: switch
show: true
weights: 9599
name: 设置评分权限
usage: <QQ号、群号>
revert: false
description: null
entrance:
- ^设置评分权限
options:
on: on
off: off
query_gameinfo_auth:
type: switch
show: true
weights: 9499
name: 设置游戏数据权限
usage: <QQ号、群号>
revert: false
description: null
entrance:
- ^设置游戏数据权限
options:
on: on
off: off
character_overview_auth:
type: switch
show: true
weights: 9399
name: 设置官方数据权限
usage: <QQ号、群号>
revert: false
description: null
entrance:
- ^设置官方数据权限
options:
on: on
off: off
fun_auth:
type: switch
show: true
weights: 9299
name: 设置娱乐功能权限
usage: <QQ号、群号>
revert: false
description: null
entrance:
- ^设置娱乐功能权限
options:
on: on
off: off
reply_auth:
type: switch
show: true
weights: 1099
name: 设置消息响应
usage: <QQ号、群号>
revert: false
description: null
entrance:
- ^设置消息响应
options:
on: on
off: off
mys_news_auth:
type: switch
show: true
weights: 999
name: 设置米游社新闻推送
usage: <QQ号、群号>
revert: false
description: null
entrance:
- ^设置米游社新闻推送
options:
on: on
off: off
qa_auth:
type: switch
show: true
weights: 899
name: 设置问答权限
usage: <QQ号、群号>
revert: false
description: null
entrance:
- ^设置问答权限
options:
on: on
off: off
refresh_wish_detail:
type: command
show: true
weights: 99
name: 刷新卡池
usage: null
revert: false
description: null
entrance:
- ^刷新卡池