mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
optimize: 不支持的消息类型提示
This commit is contained in:
parent
3e50629462
commit
eb7fafeabf
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user