Feature: CommandGroup 支持命令别名添加前缀选项 (#2134)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
eya46
2023-07-01 15:40:30 +08:00
committed by GitHub
parent 3e826cab72
commit c1b1742b20
5 changed files with 77 additions and 7 deletions

View File

@ -179,6 +179,7 @@ class CommandGroup:
def __init__(
self,
cmd: str | tuple[str, ...],
prefix_aliases: bool = ...,
*,
rule: Rule | T_RuleChecker | None = ...,
permission: Permission | T_PermissionChecker | None = ...,