chore: lint

This commit is contained in:
手瓜一十雪 2024-08-25 11:18:11 +08:00
parent e5d9df37c5
commit a201461eff
3 changed files with 52 additions and 52 deletions

View File

@ -229,7 +229,7 @@ export class NTQQGroupApi {
return this.context.session.getGroupService().deleteGroupBulletin(GroupCode, _Pskey, feedId);
}
async quitGroupV2(GroupCode: string, needDeleteLocalMsg: boolean) {
let param = {
const param = {
groupCode: GroupCode,
needDeleteLocalMsg: needDeleteLocalMsg
};

View File

@ -68,7 +68,7 @@ const _handlers: {
}
const uid = await NTQQUserApi.getUidByUinV2(`${atQQ}`);
if (!uid) throw new Error('Get Uid Error');
let info = await NTQQUserApi.getUserDetailInfo(uid);
const info = await NTQQUserApi.getUserDetailInfo(uid);
return SendMsgElementConstructor.at(coreContext, atQQ, uid, AtType.atUser, info.nick || '');
},
[OB11MessageDataType.reply]: async (coreContext, obContext: NapCatOneBot11Adapter, { data: { id } }) => {