From 1c5a8a927a12dfd6b54b2df84c70be2cd92ba02a Mon Sep 17 00:00:00 2001 From: GaMeNu <98153342+GaMeNu@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:20:58 +0200 Subject: [PATCH] v2.2.6: fix: I think I finally fixed issue #7 ??? --- cog_notificator.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cog_notificator.py b/cog_notificator.py index 010ff43..cbe1054 100644 --- a/cog_notificator.py +++ b/cog_notificator.py @@ -148,10 +148,8 @@ class Notificator(commands.Cog): """ notf = Notificator(bot, handler) - print(bot.cogs) if bot.get_cog('Notificator') is None: await bot.add_cog(notf) - print(bot.cogs) return notf @commands.Cog.listener() @@ -228,8 +226,6 @@ class Notificator(commands.Cog): current_time = time.time() delta = round(current_time - self.last_loop_run_time, 3) - print(delta) - if delta < EXPECTED_LOOP_DELTA_MIN: self.log.warning(f'Loop is running too quickly! Expected delta > {EXPECTED_LOOP_DELTA_MIN}s, but got {delta}s. Restarting...') self.check_for_updates.stop()