From 93ac32839d17916b07b9cc475c1a111f77dd4193 Mon Sep 17 00:00:00 2001 From: Soheab_ <33902984+Soheab@users.noreply.github.com> Date: Thu, 28 Aug 2025 18:57:05 +0200 Subject: [PATCH] Tuple[str] -> Tuple[str, ...] for aliases --- discord/ext/commands/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 3cc96fea8..949539b61 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -449,7 +449,7 @@ class Command(_BaseCommand, Generic[CogT, P, T]): self.brief: Optional[str] = kwargs.get('brief') self.usage: Optional[str] = kwargs.get('usage') self.rest_is_raw: bool = kwargs.get('rest_is_raw', False) - self.aliases: Union[List[str], Tuple[str]] = kwargs.get('aliases', []) + self.aliases: Union[List[str], Tuple[str, ...]] = kwargs.get('aliases', []) self.extras: Dict[Any, Any] = kwargs.get('extras', {}) if not isinstance(self.aliases, (list, tuple)):