refactor(tasks/cleanup): only print message when necessary

This commit is contained in:
2026-02-24 22:14:37 -05:00
parent 8ed9d05a67
commit 914a5df812

View File

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