🚑 hotfix missing return when rule check failed

This commit is contained in:
yanyongyu 2021-02-03 11:23:13 +08:00
parent 78b0450d66
commit e6a68feb0c

View File

@ -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"<r><bg #f8bbd0>Rule check failed for {Matcher}.</bg #f8bbd0></r>")
return
if Matcher.temp:
try: