-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathmain.py
More file actions
66 lines (58 loc) · 2.11 KB
/
main.py
File metadata and controls
66 lines (58 loc) · 2.11 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
mytitle = "cimidi Sunucu Klonlama Aracı"
from os import system
system("title "+mytitle)
import psutil
from pypresence import Presence
import time
import sys
client_id = 'Your Account ID'
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.RED}<
██████╗██╗███╗ ███╗██╗██████╗ ██╗
██╔════╝██║████╗ ████║██║██╔══██╗██║
██║ ██║██╔████╔██║██║██║ ██║██║
██║ ██║██║╚██╔╝██║██║██║ ██║██║
╚██████╗██║██║ ╚═╝ ██║██║██████╔╝██║
╚═════╝╚═╝╚═╝ ╚═╝╚═╝╚═════╝ ╚═╝
cimidi - Biz bu sporu yapıyoruz kankam <3
{Style.RESET_ALL}
""")
token = input(f'Token Url:\n >')
guild_s = input('Aktarılan Sunucu ID:\n >')
guild = input('Aktarım Sağlanan Sunucu ID:\n >')
input_guild_id = guild_s
output_guild_id = guild
token = token
print(" ")
print(" ")
@client.event
async def on_ready():
extrem_map = {}
print(f"Olarak giriş yaptı : {client.user}")
print("Aktarım Başladı...")
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}
Aktarım Tamamlandı...
{Style.RESET_ALL}""")
await asyncio.sleep(5)
client.close()
client.run(token, bot=False)