refactor: remove useless debug checks

Debug messages shouldn't be printed in the first place if debug isn't on.
This commit is contained in:
2025-02-13 16:31:41 -05:00
parent 5610fc7acd
commit 22249ecf7a
2 changed files with 4 additions and 6 deletions

View File

@@ -19,8 +19,7 @@ async def cleanup():
targets.append(guild_id)
for target in targets:
del players[target]
if __debug__:
debug(f"cleanup removed {len(targets)} empty players")
debug(f"cleanup removed {len(targets)} empty players")
if (
not idle_tracker["is_idle"]