We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe45f61 commit 1f26f68Copy full SHA for 1f26f68
discord/ext/commands/cog.py
@@ -79,4 +79,4 @@ def get_commands(self) -> List[Union[ApplicationCommand, Command]]:
79
80
This does not include subcommands.
81
"""
82
- return [c for c in self.__cog_commands__ if isinstance(c, (ApplicationCommand, Command)) and c.parent is None]
+ return [c for c in self.__cog_commands__ if c.parent is None]
0 commit comments