mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-19 01:18:19 +08:00
🐛 fix matcher group args parser
This commit is contained in:
parent
c3ed962837
commit
308824d0b1
@ -496,6 +496,7 @@ class MatcherGroup:
|
||||
return matcher
|
||||
|
||||
def args_parser(self, func: ArgsParser) -> ArgsParser:
|
||||
self._default_parser = func
|
||||
for matcher in self.matchers:
|
||||
matcher.args_parser(func)
|
||||
return func
|
||||
|
Loading…
Reference in New Issue
Block a user