fix: ai solve

This commit is contained in:
手瓜一十雪 2024-10-26 10:49:18 +08:00
parent 9b2c54aee6
commit 2b3d236373

View File

@ -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,