From d68a39b49eace0366566c7bae0d62819d4f38ae2 Mon Sep 17 00:00:00 2001 From: Alen <33656288+cnxysoft@users.noreply.github.com> Date: Sat, 14 Sep 2024 10:49:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=9A=E4=B9=89=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/onebot/api/quick-action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot/api/quick-action.ts b/src/onebot/api/quick-action.ts index 6ba910fb..6434b26f 100644 --- a/src/onebot/api/quick-action.ts +++ b/src/onebot/api/quick-action.ts @@ -47,7 +47,7 @@ export class OneBotQuickActionApi { const peerContextMode = msg.message_type == 'private' ? ContextMode.Private : ContextMode.Group; const peer: Peer = await createContext(this.core, { - message: "", + message_type: undefined, group_id: msg.group_id?.toString(), user_id: msg.user_id?.toString(), }, peerContextMode);