mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: ai solve
This commit is contained in:
parent
7416e6caf6
commit
cf28a3dc17
@ -26,7 +26,7 @@ export class GoCQHTTPDeleteFriend extends BaseAction<Payload, any> {
|
||||
message: '好友不存在',
|
||||
};
|
||||
}
|
||||
let isBuddy = this.core.apis.FriendApi.isBuddy(uid);
|
||||
let isBuddy = await this.core.apis.FriendApi.isBuddy(uid);
|
||||
if (!isBuddy) {
|
||||
return {
|
||||
valid: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user