mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
[commands] Fix unknown generic type in tree_cls
This commit is contained in:
parent
0f18d93e47
commit
994660faad
@ -156,7 +156,7 @@ class BotBase(GroupMixin[None]):
|
|||||||
self,
|
self,
|
||||||
command_prefix: PrefixType[BotT],
|
command_prefix: PrefixType[BotT],
|
||||||
help_command: Optional[HelpCommand] = _default,
|
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,
|
description: Optional[str] = None,
|
||||||
**options: Any,
|
**options: Any,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user