创建一个事件响应器组合,参数为默认值,与 `on` 一致
(self, **kwargs)
| 436 | |
| 437 | class _Group: |
| 438 | def __init__(self, **kwargs): |
| 439 | """创建一个事件响应器组合,参数为默认值,与 `on` 一致""" |
| 440 | self.matchers: list[type[Matcher]] = [] |
| 441 | """组内事件响应器列表""" |
| 442 | self.base_kwargs: dict[str, Any] = kwargs |
| 443 | """其他传递给 `on` 的参数默认值""" |
| 444 | |
| 445 | def _get_final_kwargs( |
| 446 | self, update: dict[str, Any], *, exclude: set[str] | None = None |