release: v3.3.12

This commit is contained in:
手瓜一十雪
2024-10-27 22:14:17 +08:00
parent 43a2e54bde
commit 30a9b4043d
6 changed files with 5 additions and 8 deletions

View File

@@ -17,9 +17,6 @@ export class GoCQHTTPGetGroupAtAllRemain extends BaseAction<Payload, any> {
async _handle(payload: Payload) {
const ret = await this.core.apis.GroupApi.getGroupRemainAtTimes(payload.group_id.toString());
if (ret.errCode !== 0) {
throw new Error('Not in the group');
}
const data = {
can_at_all: ret.atInfo.canAtAll,
remain_at_all_count_for_group: ret.atInfo.RemainAtAllCountForGroup,