Browse Source

Add missing case_insensitive, fallback_locale and fix fallback type for hybrids

pull/10286/head
Soheab_ 3 days ago
parent
commit
7d0986afd5
  1. 4
      discord/ext/commands/hybrid.py

4
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__ = (

Loading…
Cancel
Save