Update commands.py
This commit is contained in:
parent
278d4343d6
commit
bfc7a22337
1 changed files with 2 additions and 2 deletions
|
|
@ -2033,9 +2033,9 @@ def rank_up():
|
||||||
while int(current_rank) < int(goal_rank):
|
while int(current_rank) < int(goal_rank):
|
||||||
#If your current rank is lower than goal rank we gonna farm.
|
#If your current rank is lower than goal rank we gonna farm.
|
||||||
print('Farming...')
|
print('Farming...')
|
||||||
complete_stage('27003', 4)
|
complete_stage('27003', 2)
|
||||||
#test:
|
#test:
|
||||||
#complete_stage('1001', 2)
|
#complete_stage('1001', 1)
|
||||||
r = requests.get(url, headers=headers)
|
r = requests.get(url, headers=headers)
|
||||||
current_rank = int(r.json()['user']['rank'])
|
current_rank = int(r.json()['user']['rank'])
|
||||||
print('Your current rank is: ' +str(current_rank))
|
print('Your current rank is: ' +str(current_rank))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue