mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
build: pre-release
This commit is contained in:
parent
8d5eac7f80
commit
efc4e9ce56
@ -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) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user