Skip to content

Commit 4ddf450

Browse files
authored
Merge pull request #676 from krittick/fix-slash-command-groups
Fix for missing self.name/self.description in SlashCommandGroup
2 parents 67f1e13 + 7f239fa commit 4ddf450

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)