mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Ignore ranks
This commit is contained in:
parent
c48dd3fd87
commit
998593b334
1 changed files with 2 additions and 3 deletions
5
main.py
5
main.py
|
@ -67,10 +67,9 @@ async def overwatch_status_change(timeout):
|
|||
loop.create_task(send_event(eventmsg=s.overwatch_level_up, player=player, level=level))
|
||||
# Update database
|
||||
db[player]["overwatch"]["level"] = level
|
||||
save_db()
|
||||
# Check for rank changes
|
||||
rank = r["data"]["competitive"]["rank"]
|
||||
if rank is not None:
|
||||
# rank = r["data"]["competitive"]["rank"]
|
||||
# if rank is not None:
|
||||
# rank = int(rank)
|
||||
# try:
|
||||
# oldrank = int(db[player]["overwatch"]["rank"])
|
||||
|
|
Loading…
Reference in a new issue