diff --git a/jarvis/cogs/botutil.py b/jarvis/cogs/botutil.py index 3a3f4f2..dcc0607 100644 --- a/jarvis/cogs/botutil.py +++ b/jarvis/cogs/botutil.py @@ -89,9 +89,12 @@ class BotutilCog(Scale): current_commands = get_all_commands() origin.pull() self.logger.info("Changes pulled...") + self.logger.debug("Sleeping for 3 seconds to allow changes") await asyncio.sleep(3) + self.logger.debug("Finished sleeping, loading new commands") new_commands = get_all_commands() for module, commands in new_commands.items(): + self.logger.debug(f"Processing {module}") if module not in current_commands: self.bot.load_extension(module) elif len(current_commands[module]) != len(commands):