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

Commit 8311156

Browse files
committed
Bump version to v4.5.0-beta.1
1 parent 97af80a commit 8311156

File tree

2 files changed

+152
-152
lines changed

2 files changed

+152
-152
lines changed
Lines changed: 147 additions & 147 deletions
Original file line numberDiff line numberDiff line change
@@ -1,149 +1,149 @@
11
{
2-
"ret": 1,
3-
"apiver": 9,
4-
"name": "HTTP API",
5-
"version": "4.4.1",
6-
"version_id": 419,
7-
"author": "Richard Chien",
8-
"description": "通过 HTTP 或 WebSocket 对酷 Q 的事件进行上报以及接收请求来调用酷 Q 的 DLL 接口,从而可以使用其它语言编写酷 Q 插件。具体见 https://github.com/richardchien/coolq-http-api",
9-
"event": [
10-
{
11-
"id": 1003,
12-
"type": 1003,
13-
"name": "插件启用",
14-
"priority": 20000,
15-
"function": "cq_app_enable"
16-
},
17-
{
18-
"id": 1004,
19-
"type": 1004,
20-
"name": "插件停用",
21-
"priority": 20000,
22-
"function": "cq_app_disable"
23-
},
24-
{
25-
"id": 1001,
26-
"type": 1001,
27-
"name": "酷Q启动",
28-
"priority": 20000,
29-
"function": "cq_coolq_start"
30-
},
31-
{
32-
"id": 1002,
33-
"type": 1002,
34-
"name": "酷Q退出",
35-
"priority": 20000,
36-
"function": "cq_coolq_exit"
37-
},
38-
{
39-
"id": 1,
40-
"type": 21,
41-
"name": "私聊消息",
42-
"function": "cq_event_private_msg",
43-
"priority": 20000
44-
},
45-
{
46-
"id": 2,
47-
"type": 2,
48-
"name": "群消息",
49-
"function": "cq_event_group_msg",
50-
"priority": 20000
51-
},
52-
{
53-
"id": 3,
54-
"type": 4,
55-
"name": "讨论组消息",
56-
"function": "cq_event_discuss_msg",
57-
"priority": 20000
58-
},
59-
{
60-
"id": 4,
61-
"type": 11,
62-
"name": "群文件上传",
63-
"function": "cq_event_group_upload",
64-
"priority": 20000
65-
},
66-
{
67-
"id": 5,
68-
"type": 101,
69-
"name": "群管理员变动",
70-
"function": "cq_event_group_admin",
71-
"priority": 20000
72-
},
73-
{
74-
"id": 6,
75-
"type": 102,
76-
"name": "群成员减少",
77-
"function": "cq_event_group_member_decrease",
78-
"priority": 20000
79-
},
80-
{
81-
"id": 7,
82-
"type": 103,
83-
"name": "群成员增加",
84-
"function": "cq_event_group_member_increase",
85-
"priority": 20000
86-
},
87-
{
88-
"id": 10,
89-
"type": 201,
90-
"name": "好友添加",
91-
"function": "cq_event_friend_add",
92-
"priority": 20000
93-
},
94-
{
95-
"id": 8,
96-
"type": 301,
97-
"name": "加好友请求",
98-
"function": "cq_event_add_friend_request",
99-
"priority": 20000
100-
},
101-
{
102-
"id": 9,
103-
"type": 302,
104-
"name": "加群请求/邀请",
105-
"function": "cq_event_add_group_request",
106-
"priority": 20000
107-
}
108-
],
109-
"menu": [
110-
{
111-
"name": "重启插件",
112-
"function": "cq_menu_restart"
113-
},
114-
{
115-
"name": "检查更新",
116-
"function": "cq_menu_check_update"
117-
},
118-
{
119-
"name": "重启酷 Q",
120-
"function": "cq_menu_restart_coolq"
121-
}
122-
],
123-
"status": [],
124-
"auth": [
125-
20, // getCookies / getCsrfToken
126-
30, // getRecord
127-
101, // sendGroupMsg
128-
103, // sendDiscussMsg
129-
106, // sendPrivateMsg
130-
110, // sendLikeV2 / sendLike
131-
120, // setGroupKick
132-
121, // setGroupBan
133-
122, // setGroupAdmin
134-
123, // setGroupWholeBan
135-
124, // setGroupAnonymousBan
136-
125, // setGroupAnonymous
137-
126, // setGroupCard
138-
127, // setGroupLeave
139-
128, // setGroupSpecialTitle
140-
130, // getGroupMemberInfoV2 / getGroupMemberInfo
141-
131, // getStrangerInfo
142-
140, // setDiscussLeave
143-
150, // setFriendAddRequest
144-
151, // setGroupAddRequest
145-
160, // getGroupMemberList
146-
161, // getGroupList
147-
180 // deleteMsg
148-
]
2+
"ret": 1,
3+
"apiver": 9,
4+
"name": "HTTP API",
5+
"version": "v4.5.0-beta.1",
6+
"version_id": 420,
7+
"author": "Richard Chien",
8+
"description": "通过 HTTP 或 WebSocket 对酷 Q 的事件进行上报以及接收请求来调用酷 Q 的 DLL 接口,从而可以使用其它语言编写酷 Q 插件。具体见 https://github.com/richardchien/coolq-http-api",
9+
"event": [
10+
{
11+
"id": 1003,
12+
"type": 1003,
13+
"name": "插件启用",
14+
"priority": 20000,
15+
"function": "cq_app_enable"
16+
},
17+
{
18+
"id": 1004,
19+
"type": 1004,
20+
"name": "插件停用",
21+
"priority": 20000,
22+
"function": "cq_app_disable"
23+
},
24+
{
25+
"id": 1001,
26+
"type": 1001,
27+
"name": "酷Q启动",
28+
"priority": 20000,
29+
"function": "cq_coolq_start"
30+
},
31+
{
32+
"id": 1002,
33+
"type": 1002,
34+
"name": "酷Q退出",
35+
"priority": 20000,
36+
"function": "cq_coolq_exit"
37+
},
38+
{
39+
"id": 1,
40+
"type": 21,
41+
"name": "私聊消息",
42+
"function": "cq_event_private_msg",
43+
"priority": 20000
44+
},
45+
{
46+
"id": 2,
47+
"type": 2,
48+
"name": "群消息",
49+
"function": "cq_event_group_msg",
50+
"priority": 20000
51+
},
52+
{
53+
"id": 3,
54+
"type": 4,
55+
"name": "讨论组消息",
56+
"function": "cq_event_discuss_msg",
57+
"priority": 20000
58+
},
59+
{
60+
"id": 4,
61+
"type": 11,
62+
"name": "群文件上传",
63+
"function": "cq_event_group_upload",
64+
"priority": 20000
65+
},
66+
{
67+
"id": 5,
68+
"type": 101,
69+
"name": "群管理员变动",
70+
"function": "cq_event_group_admin",
71+
"priority": 20000
72+
},
73+
{
74+
"id": 6,
75+
"type": 102,
76+
"name": "群成员减少",
77+
"function": "cq_event_group_member_decrease",
78+
"priority": 20000
79+
},
80+
{
81+
"id": 7,
82+
"type": 103,
83+
"name": "群成员增加",
84+
"function": "cq_event_group_member_increase",
85+
"priority": 20000
86+
},
87+
{
88+
"id": 10,
89+
"type": 201,
90+
"name": "好友添加",
91+
"function": "cq_event_friend_add",
92+
"priority": 20000
93+
},
94+
{
95+
"id": 8,
96+
"type": 301,
97+
"name": "加好友请求",
98+
"function": "cq_event_add_friend_request",
99+
"priority": 20000
100+
},
101+
{
102+
"id": 9,
103+
"type": 302,
104+
"name": "加群请求/邀请",
105+
"function": "cq_event_add_group_request",
106+
"priority": 20000
107+
}
108+
],
109+
"menu": [
110+
{
111+
"name": "重启插件",
112+
"function": "cq_menu_restart"
113+
},
114+
{
115+
"name": "检查更新",
116+
"function": "cq_menu_check_update"
117+
},
118+
{
119+
"name": "重启酷 Q",
120+
"function": "cq_menu_restart_coolq"
121+
}
122+
],
123+
"status": [],
124+
"auth": [
125+
20, // getCookies / getCsrfToken
126+
30, // getRecord
127+
101, // sendGroupMsg
128+
103, // sendDiscussMsg
129+
106, // sendPrivateMsg
130+
110, // sendLikeV2 / sendLike
131+
120, // setGroupKick
132+
121, // setGroupBan
133+
122, // setGroupAdmin
134+
123, // setGroupWholeBan
135+
124, // setGroupAnonymousBan
136+
125, // setGroupAnonymous
137+
126, // setGroupCard
138+
127, // setGroupLeave
139+
128, // setGroupSpecialTitle
140+
130, // getGroupMemberInfoV2 / getGroupMemberInfo
141+
131, // getStrangerInfo
142+
140, // setDiscussLeave
143+
150, // setFriendAddRequest
144+
151, // setGroupAddRequest
145+
160, // getGroupMemberList
146+
161, // getGroupList
147+
180 // deleteMsg
148+
]
149149
}

src/cqhttp/core/def.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#define CQHTTP_ID "io.github.richardchien.coolqhttpapi"
44
#define CQHTTP_NAME "CoolQ HTTP API"
55

6-
#define CQHTTP_BUILD_NUMBER 419
6+
#define CQHTTP_BUILD_NUMBER 420
77

88
#define _CQHTTP_TO_STR(x) #x
99
#define CQHTTP_TO_STR(x) _CQHTTP_TO_STR(x)
@@ -13,10 +13,10 @@
1313
#define _CQHTTP_STABLE 3
1414

1515
#define CQHTTP_VERSION_MAJOR 4
16-
#define CQHTTP_VERSION_MINOR 4
17-
#define CQHTTP_VERSION_PATCH 1
18-
#define CQHTTP_VERSION_PRE _CQHTTP_STABLE
19-
#define CQHTTP_VERSION_PRE_VER 0
16+
#define CQHTTP_VERSION_MINOR 5
17+
#define CQHTTP_VERSION_PATCH 0
18+
#define CQHTTP_VERSION_PRE _CQHTTP_BETA
19+
#define CQHTTP_VERSION_PRE_VER 1
2020

2121
#if CQHTTP_VERSION_PRE == _CQHTTP_ALPHA
2222
#define CQHTTP_VERSION_PRE_S "alpha"

0 commit comments

Comments
 (0)