From 7d0986afd5ffd8c2b21b0520fc006027ee4b84c3 Mon Sep 17 00:00:00 2001 From: Soheab_ <33902984+Soheab@users.noreply.github.com> Date: Thu, 28 Aug 2025 18:10:56 +0200 Subject: [PATCH] Add missing case_insensitive, fallback_locale and fix fallback type for hybrids --- discord/ext/commands/hybrid.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/discord/ext/commands/hybrid.py b/discord/ext/commands/hybrid.py index 70d18f5d1..2e88a46d0 100644 --- a/discord/ext/commands/hybrid.py +++ b/discord/ext/commands/hybrid.py @@ -67,10 +67,12 @@ if TYPE_CHECKING: default_permissions: bool nsfw: bool description: str + case_insensitive: bool class _HybridGroupDecoratorKwargs(_HybridGroupKwargs, total=False): description: Union[str, app_commands.locale_str] - fallback: Union[str, app_commands.locale_str] + fallback: str + fallback_locale: Optional[app_commands.locale_str] __all__ = (