Skip to content

Commit

Permalink
Update duinostats.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolocarcagni authored Jan 3, 2023
1 parent b6b78f0 commit f2464b0
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions duinostats.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ class bcolors:
BOLD = '\033[1m'

clear = lambda: os.system('clear') # os.system('cls') on Windows Systems

client = DuinoClient()\

clear()

c = 'r'
e = 0
r = 0

username = input('Username: ')
while c != 'q':
Expand All @@ -35,16 +35,8 @@ class bcolors:
c = input(bcolors.WARNING + '(r)efresh / (u)sername / (q)uit: ' + bcolors.ENDC)

if c == 'r':
r = r + 1
if r == 2:
print('')
print(bcolors.WARNING + 'To avoid API overloading, stop refreshing for a while!' + bcolors.ENDC)
sleep(3)
elif r == 3:
print('')
print(bcolors.FAIL + 'To avoid a BAN, stop refreshing for a while!' + bcolors.ENDC)
sleep(35)
r = 0
print(bcolors.WARNING + '\nPlease wait to avoid API overloading...' + bcolors.ENDC)
sleep(8)

if c == 'u':
clear()
Expand All @@ -65,4 +57,6 @@ class bcolors:
sleep(4)

clear()
print(bcolors.BOLD + 'Developed with ❤️ by iTzNikolovich' + bcolors.ENDC)

print(bcolors.BOLD + 'Consider donating some DUCOs: ' + bcolors.ENDC + bcolors.OKGREEN + 'Nikolovich' + bcolors.ENDC)
print(bcolors.BOLD + '\n====== Developed with ❤️ by iTzNikolovich ======\n' + bcolors.ENDC)

0 comments on commit f2464b0

Please sign in to comment.