Skip to content
This repository was archived by the owner on Jan 7, 2020. It is now read-only.

Commit 270ece7

Browse files
committed
Update for CoolQ v5.15
1 parent 59c3ff9 commit 270ece7

File tree

2 files changed

+26
-17
lines changed

2 files changed

+26
-17
lines changed

app.json

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,99 +11,106 @@
1111
"id": 1003,
1212
"type": 1003,
1313
"name": "插件启用",
14-
"priority": 20000,
14+
"priority": 30000,
1515
"function": "cq_app_enable"
1616
},
1717
{
1818
"id": 1004,
1919
"type": 1004,
2020
"name": "插件停用",
21-
"priority": 20000,
21+
"priority": 30000,
2222
"function": "cq_app_disable"
2323
},
2424
{
2525
"id": 1001,
2626
"type": 1001,
2727
"name": "酷Q启动",
28-
"priority": 20000,
28+
"priority": 30000,
2929
"function": "cq_coolq_start"
3030
},
3131
{
3232
"id": 1002,
3333
"type": 1002,
3434
"name": "酷Q退出",
35-
"priority": 20000,
35+
"priority": 30000,
3636
"function": "cq_coolq_exit"
3737
},
3838
{
3939
"id": 1,
4040
"type": 21,
4141
"name": "私聊消息",
4242
"function": "cq_event_private_msg",
43-
"priority": 20000
43+
"priority": 30000
4444
},
4545
{
4646
"id": 2,
4747
"type": 2,
4848
"name": "群消息",
4949
"function": "cq_event_group_msg",
50-
"priority": 20000
50+
"priority": 30000
5151
},
5252
{
5353
"id": 3,
5454
"type": 4,
5555
"name": "讨论组消息",
5656
"function": "cq_event_discuss_msg",
57-
"priority": 20000
57+
"priority": 30000
5858
},
5959
{
6060
"id": 4,
6161
"type": 11,
6262
"name": "群文件上传",
6363
"function": "cq_event_group_upload",
64-
"priority": 20000
64+
"priority": 30000
6565
},
6666
{
6767
"id": 5,
6868
"type": 101,
6969
"name": "群管理员变动",
7070
"function": "cq_event_group_admin",
71-
"priority": 20000
71+
"priority": 30000
7272
},
7373
{
7474
"id": 6,
7575
"type": 102,
7676
"name": "群成员减少",
7777
"function": "cq_event_group_member_decrease",
78-
"priority": 20000
78+
"priority": 30000
7979
},
8080
{
8181
"id": 7,
8282
"type": 103,
8383
"name": "群成员增加",
8484
"function": "cq_event_group_member_increase",
85-
"priority": 20000
85+
"priority": 30000
86+
},
87+
{
88+
"id": 8,
89+
"type": 104,
90+
"name": "群禁言",
91+
"function": "cq_event_group_ban",
92+
"priority": 30000
8693
},
8794
{
8895
"id": 10,
8996
"type": 201,
9097
"name": "好友添加",
9198
"function": "cq_event_friend_add",
92-
"priority": 20000
99+
"priority": 30000
93100
},
94101
{
95-
"id": 8,
102+
"id": 11,
96103
"type": 301,
97104
"name": "加好友请求",
98105
"function": "cq_event_add_friend_request",
99-
"priority": 20000
106+
"priority": 30000
100107
},
101108
{
102-
"id": 9,
109+
"id": 12,
103110
"type": 302,
104111
"name": "加群请求/邀请",
105112
"function": "cq_event_add_group_request",
106-
"priority": 20000
113+
"priority": 30000
107114
}
108115
],
109116
"menu": [
@@ -135,11 +142,13 @@
135142
// 128, // setGroupSpecialTitle
136143
130, // getGroupMemberInfoV2 / getGroupMemberInfo
137144
131, // getStrangerInfo
145+
132, // getGroupInfo
138146
// 140, // setDiscussLeave
139147
// 150, // setFriendAddRequest
140148
// 151, // setGroupAddRequest
141149
160, // getGroupMemberList
142150
161, // getGroupList
151+
162, // getFriendList
143152
180 // deleteMsg
144153
]
145154
}

src/cqsdk

Submodule cqsdk updated from b9a9872 to 3312af5

0 commit comments

Comments
 (0)