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

This commit is contained in:
Bryan Forbes authored and GitHub committed 2023-03-01 22:47:17 -05:00
1 parent 82bfb3cf34
commit 0ea098567c
2 files changed
+6 -6

No files matched your search

+2 -2
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