mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-16 19:11:00 +00:00
🐛 fix typing
This commit is contained in:
@ -336,7 +336,7 @@ class Matcher(metaclass=MatcherMeta):
|
||||
|
||||
@wraps(func)
|
||||
async def wrapper(bot: "Bot", event: "Event", state: State):
|
||||
await parser(bot, event, state)
|
||||
await cls.run_handler(parser, bot, event, state)
|
||||
await cls.run_handler(func, bot, event, state)
|
||||
if "_current_key" in state:
|
||||
del state["_current_key"]
|
||||
|
Reference in New Issue
Block a user