diff --git a/core/help.py b/core/help.py index 74c1054c..ad600e1b 100644 --- a/core/help.py +++ b/core/help.py @@ -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):