Fix mistake in __mb_subcommands_list__
This commit is contained in:
parent
80a35f3081
commit
9d38c43576
@ -158,7 +158,7 @@ class CommandHandler:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def __mb_subcommands_list__(self) -> str:
|
def __mb_subcommands_list__(self) -> str:
|
||||||
return f"**Subcommands:** {', '.join(self.__mb_subcommands__.keys())}"
|
return f"**Subcommands:** {', '.join(sc.__mb_name__ for sc in self.__mb_subcommands__)}"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def __mb_usage_without_subcommands__(self) -> str:
|
def __mb_usage_without_subcommands__(self) -> str:
|
||||||
|
Loading…
Reference in New Issue
Block a user