Skip to content

Commit

Permalink
build: pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
linyuchen committed Apr 28, 2024
1 parent 8d5eac7 commit efc4e9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/onebot11/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit efc4e9c

Please sign in to comment.