mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix: 偶尔出现不能上报
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"name": "LLOneBot",
|
"name": "LLOneBot",
|
||||||
"slug": "LLOneBot",
|
"slug": "LLOneBot",
|
||||||
"description": "LiteLoaderQQNT的OneBotApi",
|
"description": "LiteLoaderQQNT的OneBotApi",
|
||||||
"version": "2.1.1",
|
"version": "2.1.2",
|
||||||
"thumbnail": "./icon.png",
|
"thumbnail": "./icon.png",
|
||||||
"authors": [{
|
"authors": [{
|
||||||
"name": "linyuchen",
|
"name": "linyuchen",
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
export enum AtType {
|
export enum AtType {
|
||||||
notAt = 0,
|
notAt = 0,
|
||||||
|
atAll = 1,
|
||||||
atUser = 2
|
atUser = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -432,10 +432,11 @@ function onLoad() {
|
|||||||
getGroups().then(() => {
|
getGroups().then(() => {
|
||||||
getGroupsMembers(groups).then(() => {
|
getGroupsMembers(groups).then(() => {
|
||||||
});
|
});
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
window.LLAPI.on("new-messages", onNewMessages);
|
window.LLAPI.on("new-messages", onNewMessages);
|
||||||
window.LLAPI.on("new-send-messages", onNewMessages);
|
window.LLAPI.on("new-send-messages", onNewMessages);
|
||||||
|
|
||||||
window.llonebot.log("llonebot render start");
|
window.llonebot.log("llonebot render start");
|
||||||
window.llonebot.startExpress();
|
window.llonebot.startExpress();
|
||||||
|
|
||||||
@@ -615,7 +616,7 @@ async function onSettingWindowCreated(view: Element) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setTimeout(onLoad, 2000)
|
setTimeout(onLoad, 5000);
|
||||||
|
|
||||||
export {
|
export {
|
||||||
onSettingWindowCreated
|
onSettingWindowCreated
|
||||||
|
Reference in New Issue
Block a user