mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-22 02:25:56 +08:00
🔀 Merge pull request #60
This commit is contained in:
commit
9ba1dc614c
@ -6,5 +6,13 @@
|
|||||||
"desc": "通过戳一戳获取服务器状态",
|
"desc": "通过戳一戳获取服务器状态",
|
||||||
"author": "yanyongyu",
|
"author": "yanyongyu",
|
||||||
"repo": "cscs181/QQ-GitHub-Bot/tree/master/src/plugins/nonebot_plugin_status"
|
"repo": "cscs181/QQ-GitHub-Bot/tree/master/src/plugins/nonebot_plugin_status"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "haruka_bot",
|
||||||
|
"link": "haruka-bot",
|
||||||
|
"name": "HarukaBot",
|
||||||
|
"desc": "将B站UP主的动态和直播信息推送至QQ",
|
||||||
|
"author": "SK-415",
|
||||||
|
"repo": "SK-415/HarukaBot"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -244,7 +244,7 @@ async def handle_event(bot: Bot, event: Event):
|
|||||||
results = await asyncio.gather(*pending_tasks, return_exceptions=True)
|
results = await asyncio.gather(*pending_tasks, return_exceptions=True)
|
||||||
|
|
||||||
for result in results:
|
for result in results:
|
||||||
if result is StopPropagation:
|
if isinstance(result, StopPropagation):
|
||||||
if not break_flag:
|
if not break_flag:
|
||||||
break_flag = True
|
break_flag = True
|
||||||
logger.debug("Stop event propagation")
|
logger.debug("Stop event propagation")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user