|
6 | 6 | "ret":1, // 返回码,固定为1 |
7 | 7 | "apiver":9, // Api版本,本SDK为9 |
8 | 8 | "name":"BOIT", // 应用名称 |
9 | | - "version":"2.0.0", // 应用版本 |
10 | | - "version_id":1, // 应用顺序版本(每次发布时至少+1) |
| 9 | + "version":"2.0.0 Beta", // 应用版本 |
| 10 | + "version_id":2, // 应用顺序版本(每次发布时至少+1) |
11 | 11 | "author":"kernel.bin", // 应用作者 |
12 | | - "description":"智能宿舍系统", |
| 12 | + "description":"BOT for OIers. /*BOIT = BOT + OI; yh蒟蒻写的给OIers用的一个bot,OI Bot的第二版。*/", |
13 | 13 | "event":[ // 事件列表,同一事件类型可重复定义(发布前请删除无用事件) |
14 | 14 | { |
15 | 15 | "id":1, // 事件ID |
|
25 | 25 | "function":"_eventGroupMsg", |
26 | 26 | "priority":30000 |
27 | 27 | }, |
28 | | - { |
29 | | - "id":3, |
30 | | - "type":4, |
31 | | - "name":"讨论组消息处理", |
32 | | - "function":"_eventDiscussMsg", |
33 | | - "priority":30000 |
34 | | - }, |
35 | | - { |
36 | | - "id":4, |
37 | | - "type":11, |
38 | | - "name":"群文件上传事件处理", |
39 | | - "function":"_eventGroupUpload", |
40 | | - "priority":30000 |
41 | | - }, |
42 | | - { |
43 | | - "id":5, |
44 | | - "type":101, |
45 | | - "name":"群管理变动事件处理", |
46 | | - "function":"_eventSystem_GroupAdmin", |
47 | | - "priority":30000 |
48 | | - }, |
49 | | - { |
50 | | - "id":6, |
51 | | - "type":102, |
52 | | - "name":"群成员减少事件处理", |
53 | | - "function":"_eventSystem_GroupMemberDecrease", |
54 | | - "priority":30000 |
55 | | - }, |
56 | | - { |
57 | | - "id":7, |
58 | | - "type":103, |
59 | | - "name":"群成员增加事件处理", |
60 | | - "function":"_eventSystem_GroupMemberIncrease", |
61 | | - "priority":30000 |
62 | | - }, |
63 | | - { |
64 | | - "id":8, |
65 | | - "type":104, |
66 | | - "name":"群禁言事件处理", |
67 | | - "function":"_eventSystem_GroupBan", |
68 | | - "priority":30000 |
69 | | - }, |
70 | | - { |
71 | | - "id":10, |
72 | | - "type":201, |
73 | | - "name":"好友已添加事件处理", |
74 | | - "function":"_eventFriend_Add", |
75 | | - "priority":30000 |
76 | | - }, |
77 | | - { |
78 | | - "id":11, |
79 | | - "type":301, |
80 | | - "name":"好友添加请求处理", |
81 | | - "function":"_eventRequest_AddFriend", |
82 | | - "priority":30000 |
83 | | - }, |
84 | | - { |
85 | | - "id":12, |
86 | | - "type":302, |
87 | | - "name":"群添加请求处理", |
88 | | - "function":"_eventRequest_AddGroup", |
89 | | - "priority":30000 |
90 | | - }, |
| 28 | + //{ |
| 29 | + // "id":3, |
| 30 | + // "type":4, |
| 31 | + // "name":"讨论组消息处理", |
| 32 | + // "function":"_eventDiscussMsg", |
| 33 | + // "priority":30000 |
| 34 | + //}, |
| 35 | + //{ |
| 36 | + // "id":4, |
| 37 | + // "type":11, |
| 38 | + // "name":"群文件上传事件处理", |
| 39 | + // "function":"_eventGroupUpload", |
| 40 | + // "priority":30000 |
| 41 | + //}, |
| 42 | + //{ |
| 43 | + // "id":5, |
| 44 | + // "type":101, |
| 45 | + // "name":"群管理变动事件处理", |
| 46 | + // "function":"_eventSystem_GroupAdmin", |
| 47 | + // "priority":30000 |
| 48 | + //}, |
| 49 | + //{ |
| 50 | + // "id":6, |
| 51 | + // "type":102, |
| 52 | + // "name":"群成员减少事件处理", |
| 53 | + // "function":"_eventSystem_GroupMemberDecrease", |
| 54 | + // "priority":30000 |
| 55 | + //}, |
| 56 | + //{ |
| 57 | + // "id":7, |
| 58 | + // "type":103, |
| 59 | + // "name":"群成员增加事件处理", |
| 60 | + // "function":"_eventSystem_GroupMemberIncrease", |
| 61 | + // "priority":30000 |
| 62 | + //}, |
| 63 | + //{ |
| 64 | + // "id":8, |
| 65 | + // "type":104, |
| 66 | + // "name":"群禁言事件处理", |
| 67 | + // "function":"_eventSystem_GroupBan", |
| 68 | + // "priority":30000 |
| 69 | + //}, |
| 70 | + //{ |
| 71 | + // "id":10, |
| 72 | + // "type":201, |
| 73 | + // "name":"好友已添加事件处理", |
| 74 | + // "function":"_eventFriend_Add", |
| 75 | + // "priority":30000 |
| 76 | + //}, |
| 77 | + //{ |
| 78 | + // "id":11, |
| 79 | + // "type":301, |
| 80 | + // "name":"好友添加请求处理", |
| 81 | + // "function":"_eventRequest_AddFriend", |
| 82 | + // "priority":30000 |
| 83 | + //}, |
| 84 | + //{ |
| 85 | + // "id":12, |
| 86 | + // "type":302, |
| 87 | + // "name":"群添加请求处理", |
| 88 | + // "function":"_eventRequest_AddGroup", |
| 89 | + // "priority":30000 |
| 90 | + //}, |
91 | 91 | { |
92 | 92 | "id":1001, |
93 | 93 | "type":1001, |
|
117 | 117 | "function":"_eventDisable" |
118 | 118 | } |
119 | 119 | ], |
120 | | - "menu":[ // 设置菜单(发布前请删除无用菜单,如果无需设置菜单请全部删除) |
121 | | - { |
122 | | - "name":"设置A", //菜单名称 |
123 | | - "function":"_menuA" //菜单对应函数 |
124 | | - }, |
125 | | - { |
126 | | - "name":"设置B", |
127 | | - "function":"_menuB" |
128 | | - } |
129 | | - ], |
| 120 | + //"menu":[ // 设置菜单(发布前请删除无用菜单,如果无需设置菜单请全部删除) |
| 121 | + // { |
| 122 | + // "name":"设置A", //菜单名称 |
| 123 | + // "function":"_menuA" //菜单对应函数 |
| 124 | + // }, |
| 125 | + // { |
| 126 | + // "name":"设置B", |
| 127 | + // "function":"_menuB" |
| 128 | + // } |
| 129 | + //], |
130 | 130 | "status":[ // 悬浮窗状态(见 com.example.status 样例) |
131 | 131 |
|
132 | 132 | ], |
|
137 | 137 | 103, //发送讨论组消息 sendDiscussMsg |
138 | 138 | 106, //发送私聊消息 sendPrivateMsg |
139 | 139 | //110, //[敏感]发送赞 sendLike |
140 | | - 120, //置群员移除 setGroupKick |
141 | | - 121, //置群员禁言 setGroupBan |
142 | | - 122, //置群管理员 setGroupAdmin |
143 | | - 123, //置全群禁言 setGroupWholeBan |
144 | | - 124, //置匿名群员禁言 setGroupAnonymousBan |
145 | | - 125, //置群匿名设置 setGroupAnonymous |
146 | | - 126, //置群成员名片 setGroupCard |
| 140 | + //120, //置群员移除 setGroupKick |
| 141 | + //121, //置群员禁言 setGroupBan |
| 142 | + //122, //置群管理员 setGroupAdmin |
| 143 | + //123, //置全群禁言 setGroupWholeBan |
| 144 | + //124, //置匿名群员禁言 setGroupAnonymousBan |
| 145 | + //125, //置群匿名设置 setGroupAnonymous |
| 146 | + //126, //置群成员名片 setGroupCard |
147 | 147 | //127, //[敏感]置群退出 setGroupLeave |
148 | | - 128, //置群成员专属头衔 setGroupSpecialTitle |
| 148 | + //128, //置群成员专属头衔 setGroupSpecialTitle |
149 | 149 | 130, //取群成员信息 getGroupMemberInfo |
150 | 150 | 131, //取陌生人信息 getStrangerInfo |
151 | 151 | 132, //取群信息 getGroupInfo |
152 | | - 140, //置讨论组退出 setDiscussLeave |
153 | | - 150, //置好友添加请求 setFriendAddRequest |
154 | | - 151, //置群添加请求 setGroupAddRequest |
155 | | - 160, //取群成员列表 getGroupMemberList |
| 152 | + //140, //置讨论组退出 setDiscussLeave |
| 153 | + //150, //置好友添加请求 setFriendAddRequest |
| 154 | + //151, //置群添加请求 setGroupAddRequest |
| 155 | + //160, //取群成员列表 getGroupMemberList |
156 | 156 | 161, //取群列表 getGroupList |
157 | 157 | 162, //取好友列表 getFriendList |
158 | 158 | 180 //撤回消息 deleteMsg |
|
0 commit comments