fix: 烘焙raw

This commit is contained in:
手瓜一十雪
2025-03-26 21:51:51 +08:00
parent 12eacd3530
commit 673a175ddf
3 changed files with 10 additions and 5 deletions

View File

@@ -14,8 +14,8 @@ export default class GetFriendList extends OneBotAction<Payload, OB11User[]> {
override actionName = ActionName.GetFriendList;
override payloadSchema = SchemaData;
async _handle(payload: Payload) {
async _handle(_payload: Payload) {
//全新逻辑
return OB11Construct.friends(await this.core.apis.FriendApi.getBuddy(typeof payload.no_cache === 'string' ? payload.no_cache === 'true' : !!payload.no_cache));
return OB11Construct.friends(await this.core.apis.FriendApi.getBuddy());
}
}