Update commands.py

This commit is contained in:
bstreeter6 2019-09-14 23:13:11 -04:00 committed by GitHub
parent 278d4343d6
commit bfc7a22337
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))