fix: replace deprecated calls

This commit is contained in:
Wesley F. Young
2024-08-12 08:19:28 +08:00
parent 6e5ced5bb9
commit c7b1a2c02d
18 changed files with 54 additions and 54 deletions

View File

@@ -54,7 +54,7 @@ const _handlers: {
// then the qq is a group member
// Mlikiowa V2.0.0 Refactor Todo
const uid = await coreContext.apis.UserApi.getUidByUin(atQQ);
const uid = await coreContext.apis.UserApi.getUidByUinV2(atQQ);
if (!uid) throw new Error('Get Uid Error');
return SendMsgElementConstructor.at(coreContext, atQQ, uid, AtType.atUser, '');
},