Repository navigation
Expand file tree
/
Copy pathmain.py
More file actions
90 lines (58 loc) · 3.28 KB
/
Copy pathmain.py
File metadata and controls
90 lines (58 loc) · 3.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
from doctest import OutputChecker
import random
import string
import time
import os
print("""
██████╗ ██████╗ ██████╗ ███████╗████████╗██╗ ██╗███████╗███████╗
██╔════╝ ██╔════╝ ██╔═████╗ ██╔════╝╚══██╔══╝██║ ██║██╔════╝██╔════╝
███████╗ ███████╗ ██║██╔██║ ███████╗ ██║ ██║ ██║█████╗ █████╗
██╔═══██╗██╔═══██╗████╔╝██║ ╚════██║ ██║ ██║ ██║██╔══╝ ██╔══╝
╚██████╔╝╚██████╔╝╚██████╔╝ ███████║ ██║ ╚██████╔╝██║ ██║
╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝
""")
time.sleep(2)
print("Made by 660 Stuff | If you Paid more than 5€ than you got scammed!")
time.sleep(1)
time.sleep(0.8)
print("Join our discord server if you need help discord.gg/660stuff\n")
time.sleep(0.3)
str(print("Send Friend Request to xpluzo#0001 in case of bugs\n"))
time.sleep(0.2)
num = int(input('Input How Many Codes to Generate and Check: '))
with open("Nitro Codes.txt", "w", encoding='utf-8') as file:
print("Your nitro codes are being generated, be patient if you entered the high number! Just wait some seconds ")
time.sleep(5)
print("\nIt can take a while")
time.sleep(2)
start = time.time()
#CHANGE NOTHING ON THE CODE!
for i in range(num):
code = "".join(random.choices(
string.ascii_uppercase + string.digits + string.ascii_lowercase,
k = 16
))
file.write(f"https://discord.gift/{code}\n")
print(f"Generated {num} codes | Time taken: {time.time() - start}\n")
with open("Nitro Codes.txt") as file:
for line in file.readlines():
nitro = line.strip("\n")
url = "https://discordapp.com/api/v6/entitlements/gift-codes/" + nitro + "?with_application=false&with_subscription_plan=true"
if "status_code" == 200:
print(f" Valid | {nitro} ")
break
else:
print(f" Invalid | {nitro} ")
os.system("cls")
print("\nYou Codes has been generated just look in your valid codes if you have some valid codes. If you like the program, we would be happy to receive feedback on the Vouch channel on our Discord Server.")
input("\nDo you want to generated more Codes J/N?: ")
while True:
user_input = input("Do you want to generated more Codes J/N?: ").strip().upper()
if user_input == 'J':
print("Reloading Programm... Just kidding run the programm at yourself again :)")
# Hier kannst du den Code einfügen, den du bei einem Neustart ausführen möchtest.
elif user_input == 'N' or user_input == '':
print("Closing Programm...")
exit
else:
print("Ungültige Eingabe. Bitte geben Sie 'J' oder 'N' ein.")