From 8f186c1c5e7806a599baf4d1afd6a83a38d4c602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Wed, 24 Jul 2024 14:37:48 +0800 Subject: [PATCH] chore: action clean --- src/onebot11/action/index.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/onebot11/action/index.ts b/src/onebot11/action/index.ts index badd97b9..ffca548e 100644 --- a/src/onebot11/action/index.ts +++ b/src/onebot11/action/index.ts @@ -74,6 +74,7 @@ import DelEssenceMsg from './group/DelEssenceMsg'; import SetEssenceMsg from './group/SetEssenceMsg'; import GetRecentContact from './user/GetRecentContact'; import { GetProfileLike } from './extends/GetProfileLike'; +import SetGroupHeader from './extends/SetGroupHeader'; export const actionHandlers = [ new RebootNormal(), @@ -85,10 +86,6 @@ export const actionHandlers = [ new sharePeer(), new CreateCollection(), new SetLongNick(), - // new GetConfigAction(), - // new SetConfigAction(), - // new GetGroupAddRequest(), - // TranslateEnWordToZn = "translate_en2zh", new ForwardFriendSingleMsg(), new ForwardGroupSingleMsg(), new MarkGroupMsgAsRead(), @@ -125,9 +122,7 @@ export const actionHandlers = [ new GetImage(), new GetRecord(), new SetMsgEmojiLike(), - // new CleanCache(), new GetCookies(), - // new SetOnlineStatus(), new GetRobotUinRange(), new GetFriendWithCategory(), @@ -156,7 +151,8 @@ export const actionHandlers = [ new SetEssenceMsg(), new GetRecentContact(), new MarkAllMsgAsRead(), - new GetProfileLike() + new GetProfileLike(), + new SetGroupHeader() ]; function initActionMap() {