From 987f17eb0a8a9ad7a89784786b3012ddd0388985 Mon Sep 17 00:00:00 2001 From: Soheab_ <33902984+Soheab@users.noreply.github.com> Date: Wed, 27 Aug 2025 17:57:17 +0200 Subject: [PATCH] Fix group kwargs not being allowed in command_attrs --- discord/ext/commands/cog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/ext/commands/cog.py b/discord/ext/commands/cog.py index 55e70fdb8..54f116921 100644 --- a/discord/ext/commands/cog.py +++ b/discord/ext/commands/cog.py @@ -56,7 +56,7 @@ if TYPE_CHECKING: from .bot import BotBase from .context import Context - from .core import Command, _CommandDecoratorKwargs + from .core import Command, _GroupDecoratorKwargs class _CogKwargs(TypedDict, total=False, extra_items=Any): name: str @@ -66,7 +66,7 @@ if TYPE_CHECKING: group_nsfw: bool group_auto_locale_strings: bool group_extras: Dict[Any, Any] - command_attrs: _CommandDecoratorKwargs + command_attrs: _GroupDecoratorKwargs __all__ = (