From d0c19d09a3ebb4a2f3d32adb2a0d16a9a149fbe4 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Wed, 18 Nov 2020 11:24:11 +0800 Subject: [PATCH 1/2] :beers: publish Haruka Bot --- docs/.vuepress/public/plugins.json | 8 ++++++++ 1 file changed, 8 insertions(+) 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" } ] From 31123b05730d07a4e9f7231a0c27a20befca593e Mon Sep 17 00:00:00 2001 From: hemengyang Date: Wed, 18 Nov 2020 14:43:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=98=BB=E6=AD=A2?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E4=BC=A0=E9=80=92=E4=BF=A1=E5=8F=B7=E6=97=A0?= =?UTF-8?q?=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")