From 429d8deb5c85c30b03e4ef7bff699e6f7c467a6b Mon Sep 17 00:00:00 2001 From: linyuchen Date: Mon, 25 Mar 2024 19:01:28 +0800 Subject: [PATCH] feat: gocq api router add send_forward_msg --- src/onebot11/action/go-cqhttp/SendForwardMsg.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/onebot11/action/go-cqhttp/SendForwardMsg.ts b/src/onebot11/action/go-cqhttp/SendForwardMsg.ts index ff14537..7ee1c08 100644 --- a/src/onebot11/action/go-cqhttp/SendForwardMsg.ts +++ b/src/onebot11/action/go-cqhttp/SendForwardMsg.ts @@ -6,8 +6,6 @@ export class GoCQHTTPSendForwardMsg extends SendMsg { actionName = ActionName.GoCQHTTP_SendForwardMsg; protected async check(payload: OB11PostSendMsg) { - if (payload.user_id) this.actionName = ActionName.GoCQHTTP_SendPrivateForwardMsg; - if (payload.group_id) this.actionName = ActionName.GoCQHTTP_SendGroupForwardMsg; if (payload.messages) payload.message = convertMessage2List(payload.messages); return super.check(payload); }