style: 标准化样式

This commit is contained in:
手瓜一十雪
2024-08-25 21:37:36 +08:00
parent 72d256e61a
commit 29f79fcc6c
7 changed files with 9 additions and 9 deletions

View File

@@ -40,7 +40,7 @@ export async function sendMsg(coreContext: NapCatCore, peer: Peer, sendElements:
const NTQQMsgApi = coreContext.apis.MsgApi;
const logger = coreContext.context.logger;
if (!sendElements.length) {
throw ('消息体无法解析, 请检查是否发送了不支持的消息类型');
throw new Error ('消息体无法解析, 请检查是否发送了不支持的消息类型');
}
let totalSize = 0;
let timeout = 10000;