mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-19 13:10:16 +08:00
style: lint
This commit is contained in:
parent
892262eb85
commit
44ff92ad4b
@ -26,7 +26,7 @@ export class NTQQGroupApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async fetchGroupDetail(groupCode: string) {
|
async fetchGroupDetail(groupCode: string) {
|
||||||
let [, detailInfo] = await this.core.eventWrapper.callNormalEventV2(
|
const [, detailInfo] = await this.core.eventWrapper.callNormalEventV2(
|
||||||
'NodeIKernelGroupService/getGroupDetailInfo',
|
'NodeIKernelGroupService/getGroupDetailInfo',
|
||||||
'NodeIKernelGroupListener/onGroupDetailInfoChange',
|
'NodeIKernelGroupListener/onGroupDetailInfoChange',
|
||||||
[groupCode, GroupInfoSource.KDATACARD],
|
[groupCode, GroupInfoSource.KDATACARD],
|
||||||
|
|||||||
@ -24,7 +24,7 @@ class GetGroupInfo extends OneBotAction<Payload, OB11Group> {
|
|||||||
group_name: data.groupName,
|
group_name: data.groupName,
|
||||||
member_count: data.memberNum,
|
member_count: data.memberNum,
|
||||||
max_member_count: data.maxMemberNum,
|
max_member_count: data.maxMemberNum,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
return OB11Construct.group(group);
|
return OB11Construct.group(group);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -91,7 +91,7 @@ export class OneBotQuickActionApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async handleGroupRequest(request: OB11GroupRequestEvent, quickAction: QuickActionGroupRequest) {
|
async handleGroupRequest(request: OB11GroupRequestEvent, quickAction: QuickActionGroupRequest) {
|
||||||
let noify = await this.findNotify(request.flag);
|
const noify = await this.findNotify(request.flag);
|
||||||
|
|
||||||
if (!isNull(quickAction.approve) && noify) {
|
if (!isNull(quickAction.approve) && noify) {
|
||||||
this.core.apis.GroupApi.handleGroupRequest(
|
this.core.apis.GroupApi.handleGroupRequest(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user