Skip to content

Commit

Permalink
fix: wrong spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev committed Mar 26, 2024
1 parent 8811af5 commit a97c1c1
Show file tree
Hide file tree
Showing 2 changed files with 243 additions and 39 deletions.
280 changes: 242 additions & 38 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bot/player/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def recursive_defaultdict():
if type_ == "donations":
previous_dono = 0 if (previous_dono := previous_response["donations"]) > (current_dono := response["donations"]) else previous_dono
player_level_changes["$inc"][f"donations.{season}.donated"] = (current_dono - previous_dono)
clan_level_changes["$inc"][f"{season}.{tag}.donations"] = (current_dono - previous_dono)
clan_level_changes["$inc"][f"{season}.{tag}.donated"] = (current_dono - previous_dono)

elif type_ == "donationsReceived":
previous_dono = 0 if (previous_dono := previous_response["donationsReceived"]) > (
Expand Down

0 comments on commit a97c1c1

Please sign in to comment.