Skip to content

Commit

Permalink
fix help command
Browse files Browse the repository at this point in the history
  • Loading branch information
rtk-rnjn committed Jul 28, 2023
1 parent 869a9d3 commit 47e9c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def key(command: commands.Command) -> str:
def __get_all_commands(self, group: commands.Group | Cog) -> list[commands.Command]:
# recursive function to get all commands from a group
all_commands = []
if isinstance(group, Cog):
if isinstance(group, commands.Cog):
cmds = group.get_commands()
for cmd in cmds:
if isinstance(cmd, commands.Group):
Expand Down

0 comments on commit 47e9c22

Please sign in to comment.