forked from w4123/Dice3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
145 lines (145 loc) · 3.78 KB
/
app.json
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
{
"ret": 1,
"apiver": 9,
"name": "Dice!",
"version": "3.0.0alpha w20191203",
"version_id": 1001,
"author": "w4123溯洄",
"description": "跑团用掷骰机器人",
"event": [
{
"id": 1003,
"type": 1003,
"name": "插件启用",
"priority": 30000,
"function": "cq_app_enable"
},
{
"id": 1004,
"type": 1004,
"name": "插件停用",
"priority": 30000,
"function": "cq_app_disable"
},
{
"id": 1001,
"type": 1001,
"name": "酷Q启动",
"priority": 30000,
"function": "cq_coolq_start"
},
{
"id": 1002,
"type": 1002,
"name": "酷Q退出",
"priority": 30000,
"function": "cq_coolq_exit"
},
{
"id": 1,
"type": 21,
"name": "私聊消息",
"function": "cq_event_private_msg",
"priority": 30000
},
{
"id": 2,
"type": 2,
"name": "群消息",
"function": "cq_event_group_msg",
"priority": 30000
},
{
"id": 3,
"type": 4,
"name": "讨论组消息",
"function": "cq_event_discuss_msg",
"priority": 30000
},
{
"id": 4,
"type": 11,
"name": "群文件上传",
"function": "cq_event_group_upload",
"priority": 30000
},
{
"id": 5,
"type": 101,
"name": "群管理员变动",
"function": "cq_event_group_admin",
"priority": 30000
},
{
"id": 6,
"type": 102,
"name": "群成员减少",
"function": "cq_event_group_member_decrease",
"priority": 30000
},
{
"id": 7,
"type": 103,
"name": "群成员增加",
"function": "cq_event_group_member_increase",
"priority": 30000
},
{
"id": 10,
"type": 201,
"name": "好友添加",
"function": "cq_event_friend_add",
"priority": 30000
},
{
"id": 8,
"type": 301,
"name": "加好友请求",
"function": "cq_event_add_friend_request",
"priority": 30000
},
{
"id": 9,
"type": 302,
"name": "加群请求/邀请",
"function": "cq_event_add_group_request",
"priority": 30000
}
],
"menu": [
{
"name": "半重置数据库",
"function": "menu_semi_replace_db"
},
{
"name": "重置数据库",
"function": "menu_replace_db"
}
],
"status": [],
"auth": [
// 20, // getCookies / getCsrfToken
// 30, // getRecord
101, // sendGroupMsg
103, // sendDiscussMsg
106, // sendPrivateMsg
// 110, // sendLikeV2 / sendLike
// 120, // setGroupKick
// 121, // setGroupBan
// 122, // setGroupAdmin
// 123, // setGroupWholeBan
// 124, // setGroupAnonymousBan
// 125, // setGroupAnonymous
// 126, // setGroupCard
// 127, // setGroupLeave
// 128, // setGroupSpecialTitle
130, // getGroupMemberInfoV2 / getGroupMemberInfo
131, // getStrangerInfo
// 140, // setDiscussLeave
// 150, // setFriendAddRequest
// 151, // setGroupAddRequest
160, // getGroupMemberList
161 // getGroupList
// 180 // deleteMsg
]
}