feat: ServerRkeyWrapper
This commit is contained in:
1 parent
c55a788941
commit
5810f367af
2 files changed
+60
-1
No files matched your search
@@ -86,7 +86,8 @@ export class NapCatOnebot11 {
|
||||
// console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2));
|
||||
logDebug('收到消息', msg);
|
||||
for (const m of msg) {
|
||||
if (this.bootTime > parseInt(m.msgTime)) {
|
||||
// try: 减掉3s 试图修复消息半天收不到
|
||||
if (this.bootTime - 3> parseInt(m.msgTime)) {
|
||||
logDebug(`消息时间${m.msgTime}早于启动时间${this.bootTime},忽略上报`);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user