diff --git a/jarvis/cogs/botutil.py b/jarvis/cogs/botutil.py index fa955cf..61b0839 100644 --- a/jarvis/cogs/botutil.py +++ b/jarvis/cogs/botutil.py @@ -108,7 +108,8 @@ class BotutilCog(Scale): else: for command in commands: old_command = find( - lambda x: x.__name__ == command.__name__, current_commands[module] + lambda x: x.resolved_name == command.resolved_name, + current_commands[module], ) old_args = get_type_hints(old_command) new_args = get_type_hints(command)