mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-16 02:50:48 +00:00
🐛 fix receive reject
This commit is contained in:
@ -431,6 +431,7 @@ class Matcher(metaclass=MatcherMeta):
|
||||
if state.get(_receive):
|
||||
return
|
||||
state[_receive] = True
|
||||
del state["_current_key"]
|
||||
raise RejectedException
|
||||
|
||||
def _decorator(func: T_Handler) -> T_Handler:
|
||||
|
Reference in New Issue
Block a user