chore: 移除调试代码

This commit is contained in:
手瓜一十雪 2024-08-04 19:12:18 +08:00
parent 4dc760b0e9
commit 6533a25404

View File

@ -213,8 +213,6 @@ export class NapCatOnebot11 {
//console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2));
// logDebug('收到消息', msg);
for (const m of msg) {
let t = await WebApi.shareDigest(m.peerUid, m.msgSeq,m.msgRandom,m.peerUid);
console.log(t);
// try: 减掉3s 试图修复消息半天收不到(不减了不减了 会出大问题)
if (this.bootTime > parseInt(m.msgTime)) {
logDebug(`消息时间${m.msgTime}早于启动时间${this.bootTime},忽略上报`);