-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathElwind.py
67 lines (61 loc) · 3.06 KB
/
Elwind.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
mytitle = "Made by horsewithnoname#6743 | @onurrzy"
from os import system
system("title "+mytitle)
import psutil
from pypresence import Presence
import time
import sys
start_time=time.time()
import discord
import asyncio
import colorama
from colorama import Fore, init, Style
import platform
from serverclone import Clone
client = discord.Client()
os = platform.system()
if os == "Windows":
system("cls")
else:
system("clear")
print(chr(27) + "[2J")
print(f"""{Fore.WHITE}
███████╗██╗ ██╗ ██╗██╗███╗ ██╗██████╗
██╔════╝██║ ██║ ██║██║████╗ ██║██╔══██╗
█████╗ ██║ ██║ █╗ ██║██║██╔██╗ ██║██║ ██║
██╔══╝ ██║ ██║███╗██║██║██║╚██╗██║██║ ██║
███████╗███████╗╚███╔███╔╝██║██║ ╚████║██████╔╝
╚══════╝╚══════╝ ╚══╝╚══╝ ╚═╝╚═╝ ╚═══╝╚═════╝
{Style.RESET_ALL}
""")
guild_s = input('\n[>] Server to Copy ID: ')
guild = input('\n[>] Your Server ID: ')
input_guild_id = guild_s
output_guild_id = guild
token = "" ## ENTER YOUR TOKEN HERE
print(" ")
print(" ")
@client.event
async def on_ready():
extrem_map = {}
print(f"{client.user}")
print("Copying Server...")
guild_from = client.get_guild(int(input_guild_id))
guild_to = client.get_guild(int(output_guild_id))
await Clone.guild_edit(guild_to, guild_from)
await Clone.roles_delete(guild_to)
await Clone.channels_delete(guild_to)
await Clone.roles_create(guild_to, guild_from)
await Clone.categories_create(guild_to, guild_from)
await Clone.channels_create(guild_to, guild_from)
print(f"""{Fore.GREEN}
███████╗██╗███╗ ██╗██╗███████╗██╗ ██╗ ██╗ ██╗██████╗
██╔════╝██║████╗ ██║██║██╔════╝██║ ██║ ╚██╗██╔╝██╔══██╗
█████╗ ██║██╔██╗ ██║██║███████╗███████║ ╚███╔╝ ██║ ██║
██╔══╝ ██║██║╚██╗██║██║╚════██║██╔══██║ ██╔██╗ ██║ ██║
██║ ██║██║ ╚████║██║███████║██║ ██║ ██╔╝ ██╗██████╔╝
╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚═════╝
{Style.RESET_ALL}""")
await asyncio.sleep(5)
client.close()
client.run(token, bot=False)