Skip to content

Commit

Permalink
Fixed errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
masterking32 committed Aug 28, 2024
1 parent 5cea5e0 commit 907e2cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,8 +865,8 @@ def StartMiniGame(self, AccountConfigData, AccountID):

payload = json.dumps(
{
"miniGameId": response["dailyKeysMiniGames"]["id"],
"cipher": cipher_base64
"miniGameId": response["dailyKeysMiniGames"]["id"],
"cipher": cipher_base64
}
)

Expand All @@ -879,7 +879,8 @@ def StartMiniGame(self, AccountConfigData, AccountID):
f"[{self.account_name}] Unable to claim mini game {game['id']}.", "other_errors"
)
return
log.info(f"[{self.account_name}] Mini game {game['id']} claimed successfully{f", +{number_to_string(response['bonus'])} {f"keys" if game['id'] == 'Candles' else "coins"}"}.")
log.info(f"[{self.account_name}] Mini game {game['id']} claimed successfully, + {number_to_string(response['bonus'])} {f"keys" if game['id'] == 'Candles' else "coins"}")

log.info(f"[{self.account_name}] Mini game phase completed.")

def StartPlaygroundGame(self):
Expand Down

0 comments on commit 907e2cb

Please sign in to comment.