From 0af0bdede623d7ad71fc20c6ca9941722b1157a7 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: Tue, 13 Aug 2024 19:33:29 +0800 Subject: [PATCH] build: 2.0.12 test --- src/onebot/action/msg/SendMsg/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/onebot/action/msg/SendMsg/index.ts b/src/onebot/action/msg/SendMsg/index.ts index 4f6b441e..2c2b4a2e 100644 --- a/src/onebot/action/msg/SendMsg/index.ts +++ b/src/onebot/action/msg/SendMsg/index.ts @@ -105,6 +105,7 @@ async function createContext(coreContext: NapCatCore, payload: OB11PostSendMsg, return { chatType: isBuddy ? ChatType.friend : ChatType.temp, peerUid: Uid!, + guildId: payload.group_id?.toString() || '', }; } throw '请指定 group_id 或 user_id';