Skip to content

Commit

Permalink
Merge pull request #676 from krittick/fix-slash-command-groups
Browse files Browse the repository at this point in the history
Fix for missing self.name/self.description in SlashCommandGroup
  • Loading branch information
Lulalaby authored Jan 1, 2022
2 parents 67f1e13 + 7f239fa commit 4ddf450
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions discord/commands/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ddf450

Please sign in to comment.