diff --git a/docs/.vuepress/public/plugins.json b/docs/.vuepress/public/plugins.json index 4febd274..007aec4c 100644 --- a/docs/.vuepress/public/plugins.json +++ b/docs/.vuepress/public/plugins.json @@ -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" } ] diff --git a/nonebot/message.py b/nonebot/message.py index af0849a5..90af9a96 100644 --- a/nonebot/message.py +++ b/nonebot/message.py @@ -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")