chore: lint
This commit is contained in:
1 parent
5fab8e9815
commit
5685605731
2 files changed
+2
-2
No files matched your search
@@ -229,7 +229,7 @@ export class NTQQGroupApi {
|
|||||||
return this.context.session.getGroupService().deleteGroupBulletin(GroupCode, _Pskey, feedId);
|
return this.context.session.getGroupService().deleteGroupBulletin(GroupCode, _Pskey, feedId);
|
||||||
}
|
}
|
||||||
async quitGroupV2(GroupCode: string, needDeleteLocalMsg: boolean) {
|
async quitGroupV2(GroupCode: string, needDeleteLocalMsg: boolean) {
|
||||||
let param = {
|
const param = {
|
||||||
groupCode: GroupCode,
|
groupCode: GroupCode,
|
||||||
needDeleteLocalMsg: needDeleteLocalMsg
|
needDeleteLocalMsg: needDeleteLocalMsg
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ const _handlers: {
|
|||||||
}
|
}
|
||||||
const uid = await NTQQUserApi.getUidByUinV2(`${atQQ}`);
|
const uid = await NTQQUserApi.getUidByUinV2(`${atQQ}`);
|
||||||
if (!uid) throw new Error('Get Uid Error');
|
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 || '');
|
return SendMsgElementConstructor.at(coreContext, atQQ, uid, AtType.atUser, info.nick || '');
|
||||||
},
|
},
|
||||||
[OB11MessageDataType.reply]: async (coreContext, obContext: NapCatOneBot11Adapter, { data: { id } }) => {
|
[OB11MessageDataType.reply]: async (coreContext, obContext: NapCatOneBot11Adapter, { data: { id } }) => {
|
||||||
|
|||||||
Reference in new issue
Block a user