Skip to content

Commit 7f239fa

Browse files
committed
fix for missing self.name and self.description values in SlashCommandGroup
1 parent 67f1e13 commit 7f239fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

discord/commands/commands.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,8 @@ def __init__(
855855
name=name,
856856
description=description,
857857
)
858+
self.name = name
859+
self.description = description
858860
self.subcommands: List[Union[SlashCommand, SlashCommandGroup]] = self.__initial_commands__
859861
self.guild_ids = guild_ids
860862
self.parent = parent

0 commit comments

Comments
 (0)