-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.py
114 lines (92 loc) · 3.13 KB
/
main.py
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
import ctypes
import json
import os
import sys
import time
from colorama import Fore as fore
from pystyle import Center,Box
from Functions import art, design, functions
from Functions.functions import Log
import Functions.design
from Functions.spammer import Delete, Ping, Post, Spam
os.system('mode 60, 20')
os.system('cls;clear')
w = fore.WHITE
lb = fore.LIGHTBLUE_EX
columns = os.get_terminal_size().columns
conf = json.load(open('config.json'))
msg = conf['message']
msgdel = conf['deletemessage']
sendmsgafterdel = conf['send-message-before-deletion']
logo = '''
█████╗ ███████╗████████╗██╗ ██╗███████╗██████╗
██╔══██╗██╔════╝╚══██╔══╝██║ ██║██╔════╝██╔══██╗
███████║█████╗ ██║ ███████║█████╗ ██████╔╝
██╔══██║██╔══╝ ██║ ██╔══██║██╔══╝ ██╔══██╗
██║ ██║███████╗ ██║ ██║ ██║███████╗██║ ██║
╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
'''
def Logo():
for line in logo.splitlines():
print(Functions.design.greenblue((line.center(columns))))
print(F"{lb}{'━'*columns}")
def HelpScreen():
Log("Spam <WEBHOOK> <AMOUNT>")
Log("Delete <WEBHOOK>")
Log("Ping <WEBHOOK>")
print(F"{lb}{'━'*columns}")
def MainMenu():
ctypes.windll.kernel32.SetConsoleTitleW("Aether | A Kyanite Production")
Log("Type Help For Help")
choice = input(art.ask)
functions.cls()
if choice.lower().__contains__("help"):
Logo()
HelpScreen()
MainMenu()
elif choice.lower().__contains__("spam"):
webhook = ""
args = choice.split(" ")
amt = ""
try:
webhook = args[1]
amt = args[2]
Logo()
Spam(webhook,msg,int(amt))
MainMenu()
except Exception as e:
Log(e)
time.sleep(2)
MainMenu()
elif choice.lower().__contains__("del"):
webhook = ""
args = choice.split(" ")
try:
Logo()
webhook = args[1]
if(sendmsgafterdel):
Post(webhook,msgdel)
Delete(webhook)
MainMenu()
except Exception as e:
Log(e)
time.sleep(2)
MainMenu()
elif choice.lower().__contains__("ping"):
webhook = ""
args = choice.split(" ")
try:
Logo()
webhook = args[1]
Ping(webhook)
MainMenu()
except Exception as e:
Log(e)
time.sleep(2)
MainMenu()
else:
functions.cls()
Logo()
MainMenu()
Logo()
MainMenu()