Skip to content

Commit

Permalink
removed unimportant print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
FuckingToasters authored Jul 7, 2022
1 parent eba4073 commit 0584ce1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions all_together.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,13 @@ def creator():
json={'name': random.choice(names)})

if response.status_code == 200 or response.status_code == 204 or response.status_code == 201:
print(
f"{colorama.Fore.LIGHTGREEN_EX} [+] Group Created! => ID: {json_resp['id']}{colorama.Fore.RESET}")
print(f"{colorama.Fore.LIGHTGREEN_EX} [+] Group Created! => ID: {json_resp['id']}{colorama.Fore.RESET}")
else:
print(
f"{colorama.Fore.LIGHTRED_EX} [+] Group NOT Created! => HTTP Error: {response.status_code}{colorama.Fore.RESET}")
print(f"{colorama.Fore.LIGHTRED_EX} [+] Group NOT Created! => HTTP Error: {response.status_code}{colorama.Fore.RESET}")
with open("group_id.txt", "a") as group_id:
group_id.write(json_resp['id'] + '\n')

except:
print(r)
json_resp = r.json()
print(f"{colorama.Fore.LIGHTRED_EX} [429] Discord reject requests for {json_resp['retry_after']} Seconds now. I will continue after that time...{colorama.Fore.RESET}")
time.sleep(json_resp['retry_after'])
Expand Down

0 comments on commit 0584ce1

Please sign in to comment.