mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-16 02:50:48 +00:00
♿ allow extra param with default value
This commit is contained in:
@ -158,7 +158,7 @@ class Matcher(metaclass=MatcherMeta):
|
||||
|
||||
HANDLER_PARAM_TYPES = [
|
||||
params.BotParam, params.EventParam, params.StateParam,
|
||||
params.MatcherParam
|
||||
params.MatcherParam, params.DefaultParam
|
||||
]
|
||||
|
||||
def __init__(self):
|
||||
|
Reference in New Issue
Block a user