Properly fix error
This commit is contained in:
parent
36cd2a6f0f
commit
16d7ef940e
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class BotutilCog(Scale):
|
|||
else:
|
||||
for command in commands:
|
||||
old_command = find(
|
||||
lambda x: x.__name__ == command.__name__, current_commands.values
|
||||
lambda x: x.__name__ == command.__name__, current_commands[module]
|
||||
)
|
||||
old_args = get_type_hints(old_command)
|
||||
new_args = get_type_hints(command)
|
||||
|
|
Loading…
Add table
Reference in a new issue