mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix: 偶尔出现不能上报
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
export enum AtType {
|
||||
notAt = 0,
|
||||
atAll = 1,
|
||||
atUser = 2
|
||||
}
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user