Skip to content

Commit

Permalink
[update] boost fix & description
Browse files Browse the repository at this point in the history
  • Loading branch information
m3taphor committed Dec 28, 2024
1 parent 99c8415 commit 5b0c102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bot/core/tapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <y>{boost_id}</y>: <g>({self.boost_translation.get(boost_id, 'N/A')})</g>")
logger.success(f"{self.session_name} | Boost Activated: <g>{boost_count} hours ({self.boost_translation.get(boost_id, 'N/A')})</g>")

if boost_id == 3: # 3 Hours boost
boost_delay = max(boost_delay, boost_count * 60 * 60)
Expand Down
2 changes: 1 addition & 1 deletion bot/utils/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 5b0c102

Please sign in to comment.