diff --git a/src/core/apis/user.ts b/src/core/apis/user.ts index b3860cab1..e8483201f 100644 --- a/src/core/apis/user.ts +++ b/src/core/apis/user.ts @@ -11,7 +11,9 @@ export class NTQQUserApi { this.context = context; this.core = core; } - + async getStatusByUid(uid: string) { + return this.context.session.getProfileService().getStatus(uid); + } async getProfileLike(uid: string) { return this.context.session.getProfileLikeService().getBuddyProfileLike({ friendUids: [uid], diff --git a/src/onebot/action/go-cqhttp/GetStrangerInfo.ts b/src/onebot/action/go-cqhttp/GetStrangerInfo.ts index 3081c4a22..e64c48d4e 100644 --- a/src/onebot/action/go-cqhttp/GetStrangerInfo.ts +++ b/src/onebot/action/go-cqhttp/GetStrangerInfo.ts @@ -24,9 +24,9 @@ export default class GoCQHTTPGetStrangerInfo extends BaseAction