mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +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,
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user