mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-17 19:40:44 +00:00
change plugin load
This commit is contained in:
@ -40,7 +40,7 @@ async def handle_event(bot: Bot, event: Event):
|
||||
|
||||
# Check rule
|
||||
try:
|
||||
if not Matcher.check_rule(bot, event):
|
||||
if not await Matcher.check_rule(bot, event):
|
||||
index += 1
|
||||
continue
|
||||
except Exception as e:
|
||||
|
Reference in New Issue
Block a user