Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev committed Mar 25, 2024
1 parent a391f8f commit 1eee0b2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bot/player/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async def main():
"clanCapitalContributions", "Games Champion"}
ws_types = {"clanCapitalContributions", "name", "troops", "heroes", "spells", "heroEquipment",
"townHallLevel",
"league", "trophies", "Most Valuable Clanmate"}
"league", "Most Valuable Clanmate"}
only_once = {"troops": 0, "heroes": 0, "spells": 0, "heroEquipment": 0}
if changes:
def recursive_defaultdict():
Expand Down Expand Up @@ -234,9 +234,6 @@ def recursive_defaultdict():
BEEN_ONLINE = True

if type_ in ws_types:
if type_ == "trophies":
if not (value >= 4900 and league == "Legend League"):
continue
type_changes.append(type_)

if type_changes and (clan_tag in clan_tags):
Expand Down

0 comments on commit 1eee0b2

Please sign in to comment.