release: v3.3.12
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s

This commit is contained in:
手瓜一十雪 committed 2024-10-27 22:14:17 +08:00
1 parent ffdc34cfe2
commit c3dc53eaaf
6 files changed
+5 -8

No files matched your search

@@ -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,