From eb7fafeabfde32ac62260241578c99ac2bcd6e18 Mon Sep 17 00:00:00 2001 From: linyuchen Date: Sat, 27 Apr 2024 19:06:08 +0800 Subject: [PATCH] =?UTF-8?q?optimize:=20=E4=B8=8D=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E7=9A=84=E6=B6=88=E6=81=AF=E7=B1=BB=E5=9E=8B=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/onebot11/action/msg/SendMsg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot11/action/msg/SendMsg.ts b/src/onebot11/action/msg/SendMsg.ts index dd7f1dad..01e76987 100644 --- a/src/onebot11/action/msg/SendMsg.ts +++ b/src/onebot11/action/msg/SendMsg.ts @@ -233,7 +233,7 @@ export async function createSendElements(messageData: OB11MessageData[], group: export async function sendMsg(peer: Peer, sendElements: SendMessageElement[], deleteAfterSentFiles: string[], waitComplete = true) { if (!sendElements.length) { - throw ('消息体无法解析'); + throw ('消息体无法解析, 请检查是否发送了不支持的消息类型'); } const returnMsg = await NTQQMsgApi.sendMsg(peer, sendElements, waitComplete, 20000); try {