fix: method signature of _handle

This commit is contained in:
Wesley F. Young committed 2024-08-10 22:22:52 +08:00
1 parent ad7dc3b6b5
commit bde27518c8
69 files changed
+97 -78

No files matched your search

@@ -5,7 +5,7 @@ import { OB11Constructor } from '@/onebot/helper/constructor';
export class GetFriendWithCategory extends BaseAction<void, any> {
actionName = ActionName.GetFriendsWithCategory;
protected async _handle(payload: void) {
async _handle(payload: void) {
if (this.CoreContext.context.basicInfoWrapper.requireMinNTQQBuild('26702')) {
//全新逻辑
return OB11Constructor.friendsV2(await this.CoreContext.getApiContext().FriendApi.getBuddyV2ExWithCate(true));