From 7f239fa256cc5d2168591d3d6f39f673d0754e6f Mon Sep 17 00:00:00 2001 From: Krittick Date: Fri, 31 Dec 2021 19:10:15 -0800 Subject: [PATCH] fix for missing self.name and self.description values in SlashCommandGroup --- discord/commands/commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord/commands/commands.py b/discord/commands/commands.py index 4ded2b4aa8..9431833610 100644 --- a/discord/commands/commands.py +++ b/discord/commands/commands.py @@ -855,6 +855,8 @@ def __init__( name=name, description=description, ) + self.name = name + self.description = description self.subcommands: List[Union[SlashCommand, SlashCommandGroup]] = self.__initial_commands__ self.guild_ids = guild_ids self.parent = parent