(self)
| 226 | await asyncio.sleep(random_delay) |
| 227 | |
| 228 | async def check_daily_reward(self): |
| 229 | daily_reward, status = await self._api.daily_reward_is_available() |
| 230 | if status is True: |
| 231 | self._log.info(f"Available {daily_reward} daily reward.") |
| 232 | status = await self._api.claim_daily_reward() |
| 233 | if status: |
| 234 | self._log.success(f"Daily reward claimed!") |
| 235 | else: |
| 236 | self._log.info(f"<y>No daily reward available.</y>") |
| 237 | |
| 238 | async def update_points_balance(self, with_log: bool = False): |
| 239 | await asyncio.sleep(uniform(0.1, 0.5)) |
no test coverage detected