style: reformat handlers and UI for readability

This commit is contained in:
2026-07-22 18:50:10 +05:00
parent 04f17ff8e2
commit e4de501472
10 changed files with 89 additions and 32 deletions
+3 -1
View File
@@ -9,7 +9,9 @@ def is_bot_playing(bot_name: str) -> bool:
return False
data = response.json()
bot = data.get("Result", {}).get(bot_name, {})
return bool(bot.get("PlayingBlocked", False)) or bool(bot.get("CurrentGamesPlayed", []))
return bool(bot.get("PlayingBlocked", False)) or bool(
bot.get("CurrentGamesPlayed", [])
)
def is_idle_enabled(bot_name: str, app_id: int) -> bool: