mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 03:05:25 +08:00
📝 update api docs
This commit is contained in:
parent
75d4cd9565
commit
a864b36e9f
@ -42,7 +42,7 @@ Permission(async_function, run_sync(sync_function))
|
|||||||
* **参数**
|
* **参数**
|
||||||
|
|
||||||
|
|
||||||
* `*checkers: T_PermissionChecker`: PermissionChecker
|
* `*checkers: Union[T_PermissionChecker, Handler]`: PermissionChecker
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Rule(async_function, run_sync(sync_function))
|
|||||||
* **参数**
|
* **参数**
|
||||||
|
|
||||||
|
|
||||||
* `*checkers: T_RuleChecker`: RuleChecker
|
* `*checkers: Union[T_RuleChecker, Handler]`: RuleChecker
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user