From efc4e9ce5614391cede477fc9221e8d5afc57acf Mon Sep 17 00:00:00 2001 From: linyuchen Date: Sun, 28 Apr 2024 20:40:37 +0800 Subject: [PATCH] build: pre-release --- src/onebot11/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index 4c2758c1..7a3409a8 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -84,8 +84,10 @@ export class NapCatOnebot11 { }; msgListener.onRecvMsg = (msg) => { // console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2)); + logDebug('收到消息', msg); for (const m of msg) { if (this.bootTime > parseInt(m.msgTime)) { + logDebug(`消息时间${m.msgTime}早于启动时间${this.bootTime},忽略上报`); continue; } new Promise((resolve) => {