From e6a68feb0c6317e27957ed77c80f4dc661e2273d Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Wed, 3 Feb 2021 11:23:13 +0800 Subject: [PATCH] :ambulance: hotfix missing return when rule check failed --- nonebot/message.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nonebot/message.py b/nonebot/message.py index cb64a4e0..fb860a96 100644 --- a/nonebot/message.py +++ b/nonebot/message.py @@ -115,6 +115,7 @@ async def _check_matcher(priority: int, Matcher: Type[Matcher], bot: "Bot", except Exception as e: logger.opt(colors=True, exception=e).error( f"Rule check failed for {Matcher}.") + return if Matcher.temp: try: