[nonebot-plugin]状态提供更多品牌的cpu支持

This commit is contained in:
2024-08-23 23:47:01 +08:00
parent a7d0560932
commit 2eb5aae23f
9 changed files with 89 additions and 6 deletions

View File

@ -25,9 +25,7 @@ _queue: Queue = Queue()
async def _(event: MessageEvent):
current_priority = -1
for i, matcher in enumerate(_matcher_list):
# 刷屏
logger.debug(f"Running matcher {matcher} for event: {event}")
logger.info(f"Running matcher {matcher} for event: {event}")
await matcher.run(event)
# 同优先级不阻断,不同优先级阻断
if current_priority != matcher.priority: