diff --git a/jarvis/cogs/botutil.py b/jarvis/cogs/botutil.py index 7ea30e1..3a3f4f2 100644 --- a/jarvis/cogs/botutil.py +++ b/jarvis/cogs/botutil.py @@ -91,7 +91,7 @@ class BotutilCog(Scale): self.logger.info("Changes pulled...") await asyncio.sleep(3) new_commands = get_all_commands() - for module, commands in new_commands: + for module, commands in new_commands.items(): if module not in current_commands: self.bot.load_extension(module) elif len(current_commands[module]) != len(commands):