File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 2929# 900 = 15 mins, 1800 = 30 mins, 3600 = 1 hour
3030sleep_time = 900
3131
32+
3233# Converts seconds to human readable minutes/hours/days
3334def time_calc (input_time ): # input_time in seconds
3435 if input_time < 60 :
@@ -45,6 +46,7 @@ def time_calc(input_time): # input_time in seconds
4546 time_output = f"{ sleep_int :.1f} days"
4647 return time_output
4748
49+
4850discord_header = {"Authorization" : "" + Discord_Auth }
4951ADA_SOURCE = (
5052 "https://discord.com/api/v10/guilds/"
@@ -67,9 +69,7 @@ def time_calc(input_time): # input_time in seconds
6769
6870while True :
6971 try :
70- print (
71- "\n Attempting to GET Discord Data!"
72- ) # --------------------------------
72+ print ("\n Attempting to GET Discord Data!" ) # --------------------------------
7373 # STREAMER WARNING this will show your credentials!
7474 debug_request = False # Set True to see full request
7575 if debug_request :
@@ -106,4 +106,3 @@ def time_calc(input_time): # input_time in seconds
106106 time .sleep (60 )
107107 continue
108108 time .sleep (sleep_time )
109-
You can’t perform that action at this time.
0 commit comments