mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-05 15:11:15 +00:00
fix: ai solve
This commit is contained in:
parent
9b2c54aee6
commit
2b3d236373
@ -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…
Reference in New Issue
Block a user