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 29
29
# 900 = 15 mins, 1800 = 30 mins, 3600 = 1 hour
30
30
sleep_time = 900
31
31
32
+
32
33
# Converts seconds to human readable minutes/hours/days
33
34
def time_calc (input_time ): # input_time in seconds
34
35
if input_time < 60 :
@@ -45,6 +46,7 @@ def time_calc(input_time): # input_time in seconds
45
46
time_output = f"{ sleep_int :.1f} days"
46
47
return time_output
47
48
49
+
48
50
discord_header = {"Authorization" : "" + Discord_Auth }
49
51
ADA_SOURCE = (
50
52
"https://discord.com/api/v10/guilds/"
@@ -67,9 +69,7 @@ def time_calc(input_time): # input_time in seconds
67
69
68
70
while True :
69
71
try :
70
- print (
71
- "\n Attempting to GET Discord Data!"
72
- ) # --------------------------------
72
+ print ("\n Attempting to GET Discord Data!" ) # --------------------------------
73
73
# STREAMER WARNING this will show your credentials!
74
74
debug_request = False # Set True to see full request
75
75
if debug_request :
@@ -106,4 +106,3 @@ def time_calc(input_time): # input_time in seconds
106
106
time .sleep (60 )
107
107
continue
108
108
time .sleep (sleep_time )
109
-
You can’t perform that action at this time.
0 commit comments