diff --git a/bot/core/tapper.py b/bot/core/tapper.py index 956d747..e417402 100644 --- a/bot/core/tapper.py +++ b/bot/core/tapper.py @@ -646,7 +646,7 @@ async def run(self, user_agent: str, proxy: str | None) -> None: await asyncio.sleep(delay=sleep_time) break - logger.success(f"{self.session_name} | Boost Activated {boost_id}: ({self.boost_translation.get(boost_id, 'N/A')})") + logger.success(f"{self.session_name} | Boost Activated: {boost_count} hours ({self.boost_translation.get(boost_id, 'N/A')})") if boost_id == 3: # 3 Hours boost boost_delay = max(boost_delay, boost_count * 60 * 60) diff --git a/bot/utils/functions.py b/bot/utils/functions.py index 5a9a479..b27fe5a 100644 --- a/bot/utils/functions.py +++ b/bot/utils/functions.py @@ -82,7 +82,7 @@ def errorGiftCode(code, type_): save_data('gift-codes.json', data) def boostCount(total): - if total > 24: + if total >= 24: return 24 else: return int(total) \ No newline at end of file