[commands] Fix unknown generic type in tree_cls

This commit is contained in:
Rapptz 2022-04-02 05:52:51 -04:00
parent 0f18d93e47
commit 994660faad

View File

@ -156,7 +156,7 @@ class BotBase(GroupMixin[None]):
self,
command_prefix: PrefixType[BotT],
help_command: Optional[HelpCommand] = _default,
tree_cls: Type[app_commands.CommandTree] = app_commands.CommandTree,
tree_cls: Type[app_commands.CommandTree[Any]] = app_commands.CommandTree,
description: Optional[str] = None,
**options: Any,
) -> None: