build: pre-release

This commit is contained in:
linyuchen 2024-04-28 20:40:37 +08:00
parent 8d5eac7f80
commit efc4e9ce56

View File

@ -84,8 +84,10 @@ export class NapCatOnebot11 {
}; };
msgListener.onRecvMsg = (msg) => { msgListener.onRecvMsg = (msg) => {
// console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2)); // console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2));
logDebug('收到消息', msg);
for (const m of msg) { for (const m of msg) {
if (this.bootTime > parseInt(m.msgTime)) { if (this.bootTime > parseInt(m.msgTime)) {
logDebug(`消息时间${m.msgTime}早于启动时间${this.bootTime},忽略上报`);
continue; continue;
} }
new Promise((resolve) => { new Promise((resolve) => {