Skip to content

Commit

Permalink
fix for missing self.name and self.description values in SlashCommand…
Browse files Browse the repository at this point in the history
…Group
  • Loading branch information
krittick committed Jan 1, 2022
1 parent 67f1e13 commit 7f239fa
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 7f239fa

Please sign in to comment.