Skip to content

Commit

Permalink
build: 1.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed May 19, 2024
1 parent 15d351e commit 10aeccb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/onebot11/action/msg/SendMsg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ export async function sendMsg(peer: Peer, sendElements: SendMessageElement[], de
} catch (e) {
logError("发送消息计算预计时间异常", e);
}
const returnMsg = await NTQQMsgApi.sendMsg(peer, sendElements, waitComplete, 20000);
const returnMsg = await NTQQMsgApi.sendMsg(peer, sendElements, waitComplete, timeout);
try {
returnMsg.id = await dbUtil.addMsg(returnMsg, false);
} catch (e: any) {
logDebug('发送消息id获取失败', e);
returnMsg.id = 0;
}
deleteAfterSentFiles.map(f => fs.unlink(f, () => {
}));
// deleteAfterSentFiles.map(f => fs.unlink(f, () => {
// }));
return returnMsg;
}

Expand Down

0 comments on commit 10aeccb

Please sign in to comment.