style: lint

This commit is contained in:
手瓜一十雪
2024-12-17 09:25:10 +08:00
parent 892262eb85
commit 44ff92ad4b
7 changed files with 24 additions and 24 deletions

View File

@@ -26,7 +26,7 @@ export class NTQQGroupApi {
}
async fetchGroupDetail(groupCode: string) {
let [, detailInfo] = await this.core.eventWrapper.callNormalEventV2(
const [, detailInfo] = await this.core.eventWrapper.callNormalEventV2(
'NodeIKernelGroupService/getGroupDetailInfo',
'NodeIKernelGroupListener/onGroupDetailInfoChange',
[groupCode, GroupInfoSource.KDATACARD],

View File

@@ -24,7 +24,7 @@ class GetGroupInfo extends OneBotAction<Payload, OB11Group> {
group_name: data.groupName,
member_count: data.memberNum,
max_member_count: data.maxMemberNum,
}
};
}
return OB11Construct.group(group);
}

View File

@@ -1,4 +1,4 @@
import {ContextMode, SendMsgBase} from '@/onebot/action/msg/SendMsg';
import { ContextMode, SendMsgBase } from '@/onebot/action/msg/SendMsg';
import { ActionName, BaseCheckResult } from '@/onebot/action/router';
import { OB11PostSendMsg } from '@/onebot/types';

View File

@@ -1,4 +1,4 @@
import {ContextMode, SendMsgBase} from './SendMsg';
import { ContextMode, SendMsgBase } from './SendMsg';
import { ActionName, BaseCheckResult } from '@/onebot/action/router';
import { OB11PostSendMsg } from '@/onebot/types';

View File

@@ -1,5 +1,5 @@
import { ActionName } from '@/onebot/action/router';
import CanSendRecord, {CanSend} from './CanSendRecord';
import CanSendRecord, { CanSend } from './CanSendRecord';
interface ReturnType {
yes: boolean;

View File

@@ -91,7 +91,7 @@ export class OneBotQuickActionApi {
}
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) {
this.core.apis.GroupApi.handleGroupRequest(