[commands] Use ... for Command and Group typing

This commit is contained in:
Bryan Forbes
2023-03-01 21:47:17 -06:00
committed by GitHub
parent 82bfb3cf34
commit 0ea098567c
2 changed files with 6 additions and 6 deletions

View File

@ -1161,9 +1161,9 @@ class Client:
event: Literal['app_command_completion'],
/,
*,
check: Optional[Callable[[Interaction[Self], Union[Command[Any, Any, Any], ContextMenu]], bool]],
check: Optional[Callable[[Interaction[Self], Union[Command[Any, ..., Any], ContextMenu]], bool]],
timeout: Optional[float] = None,
) -> Tuple[Interaction[Self], Union[Command[Any, Any, Any], ContextMenu]]:
) -> Tuple[Interaction[Self], Union[Command[Any, ..., Any], ContextMenu]]:
...
# AutoMod