mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54: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))
|
loop.create_task(send_event(eventmsg=s.overwatch_level_up, player=player, level=level))
|
||||||
# Update database
|
# Update database
|
||||||
db[player]["overwatch"]["level"] = level
|
db[player]["overwatch"]["level"] = level
|
||||||
save_db()
|
|
||||||
# Check for rank changes
|
# Check for rank changes
|
||||||
rank = r["data"]["competitive"]["rank"]
|
# rank = r["data"]["competitive"]["rank"]
|
||||||
if rank is not None:
|
# if rank is not None:
|
||||||
# rank = int(rank)
|
# rank = int(rank)
|
||||||
# try:
|
# try:
|
||||||
# oldrank = int(db[player]["overwatch"]["rank"])
|
# oldrank = int(db[player]["overwatch"]["rank"])
|
||||||
|
|
Loading…
Reference in a new issue