🔀 Merge pull request #60

This commit is contained in:
Ju4tCode 2020-11-18 14:56:42 +08:00 committed by GitHub
commit 9ba1dc614c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -6,5 +6,13 @@
"desc": "通过戳一戳获取服务器状态",
"author": "yanyongyu",
"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"
}
]

View File

@ -244,7 +244,7 @@ async def handle_event(bot: Bot, event: Event):
results = await asyncio.gather(*pending_tasks, return_exceptions=True)
for result in results:
if result is StopPropagation:
if isinstance(result, StopPropagation):
if not break_flag:
break_flag = True
logger.debug("Stop event propagation")