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) => {
// 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) => {