-
Notifications
You must be signed in to change notification settings - Fork 0
/
editor.py
51 lines (43 loc) · 1.65 KB
/
editor.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
from datetime import datetime
import time
import os
from colorama import Fore, init
init()
ascii = """
█████▒ ██▀███ ▄▄▄▄
▓██ ▒ ▓██ ▒ ██▒ ▓█████▄
▒████ ░ ▓██ ░▄█ ▒ ▒██▒ ▄██
░▓█▒ ░ ▒██▀▀█▄ ▒██░█▀
░▒█░ ░██▓ ▒██▒ ░▓█ ▀█▓
▒ ░ ░ ▒▓ ░▒▓░ ░▒▓███▀▒
░ ░▒ ░ ▒░ ▒░▒ ░
░ ░ ░░ ░ ░ ░
░ ░
░
░
Fake Roblox Ban
"""
print(Fore.LIGHTRED_EX + ascii)
time.sleep(5)
os.system('cls' if os.name == 'nt' else 'clear')
with open('template.html', 'r') as f:
html = f.read()
html = html.replace('/set name here/', input('Display name: '))
try:
verified = input('Do you want to be verified? (y/n): ')
if verified == 'y':
html = html.replace('data-hasverifiedbadge="true"', 'data-hasverifiedbadge="true"')
else:
html = html.replace('data-hasverifiedbadge="true"', 'data-hasverifiedbadge="false"')
except:
print("select a valid option. idiot.")
time.sleep(2)
exit()
date_obj = datetime.now()
date_str = date_obj.strftime('%m/%d/%Y %I:%M:%S %p (CT)')
html = html.replace('/set date here/', date_str)
html = html.replace('/set message here/', input('Moderator Note: '))
html = html.replace('/set reason here/', input('Reason: '))
html = html.replace('/set proof here/', input('Offensive Item: '))
with open('dist/creation.html', 'w') as f:
f.write(html)