release: v3.3.12
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user