fix: ai solve

This commit is contained in:
手瓜一十雪 committed 2024-10-26 10:49:18 +08:00
1 parent 9b2c54aee6
commit 2b3d236373
1 file changed
+1 -1
@@ -26,7 +26,7 @@ export class GoCQHTTPDeleteFriend extends BaseAction<Payload, any> {
message: '好友不存在', message: '好友不存在',
}; };
} }
let isBuddy = this.core.apis.FriendApi.isBuddy(uid); let isBuddy = await this.core.apis.FriendApi.isBuddy(uid);
if (!isBuddy) { if (!isBuddy) {
return { return {
valid: false, valid: false,