fix: 偶尔出现不能上报

This commit is contained in:
linyuchen
2024-02-02 21:54:31 +08:00
parent 083d3ddf67
commit 3d03aec976
3 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
export enum AtType {
notAt = 0,
atAll = 1,
atUser = 2
}

View File

@@ -432,10 +432,11 @@ function onLoad() {
getGroups().then(() => {
getGroupsMembers(groups).then(() => {
});
});
})
}
window.LLAPI.on("new-messages", onNewMessages);
window.LLAPI.on("new-send-messages", onNewMessages);
window.llonebot.log("llonebot render start");
window.llonebot.startExpress();
@@ -615,7 +616,7 @@ async function onSettingWindowCreated(view: Element) {
}
setTimeout(onLoad, 2000)
setTimeout(onLoad, 5000);
export {
onSettingWindowCreated