# Decompiled with PyLingual (https://pylingual.io)
# Internal filename: Kler Cloner - Developed by klerlow.py
# Bytecode version: 3.10.0rc2 (3439)
# Source timestamp: 1970-01-01 00:00:00 UTC (0)
mytitle = 'Kler Cloner - Developed by klerlow'
from os import system
system('title ' + mytitle)
import psutil
import time
import sys
client_id = 'Your Account ID'
import discord
import asyncio
import colorama
from colorama import Fore, init, Style
import platform
client = discord.Client()
os = platform.system()
if os == 'Windows':
system('cls')
else: # inserted
system('clear')
print(chr(27) + '[2J')
print(f'{Fore.RED}\n\n ██╗ ██╗██╗ ███████╗██████╗\n ██║ ██╔╝██║ ██╔════╝██╔══██╗\n █████═╝ ██║ █████╗ ██████╔╝\n ██╔═██╗ ██║ ██╔══╝ ██╔══██╗\n ██║ ╚██╗███████╗███████╗██║ ██║\n ╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝\n\n{Style.RESET_ALL}\n {Fore.MAGENTA}Developed by: klerlow#9005{Style.RESET_ALL}\n ')
token = input(f'{Fore.GREEN}[{Fore.RED}>{Style.RESET_ALL}0{Fore.GREEN}]{Style.RESET_ALL} Tokeninizi Girin : ')
guild_s = input(f'{Fore.GREEN}[{Fore.RED}>{Style.RESET_ALL}0{Fore.GREEN}]{Style.RESET_ALL} Kopyalayacağınız Sunucu IDsini Girin : ')
guild = input(f'{Fore.GREEN}[{Fore.RED}>{Style.RESET_ALL}0{Fore.GREEN}]{Style.RESET_ALL} Yapıştıracağınız Sunucu IDsini Girin : ')
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ş Yapıldı : {client.user}0')
print('Sunucu Kopyalanmaya 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}0\n\n\n ██╗ ██╗ █████╗ ██████╗ ██╗ ██╗ █████╗ ██╗ █████╗ ███╗ ██╗██████╗ ██╗\n ██║ ██╔╝██╔══██╗██╔══██╗╚██╗ ██╔╝██╔══██╗██║ ██╔══██╗████╗ ██║██╔══██╗██║\n █████═╝ ██║ ██║██████╔╝ ╚████╔╝ ███████║██║ ███████║██╔██╗██║██║ ██║██║\n ██╔═██╗ ██║ ██║██╔═══╝ ╚██╔╝ ██╔══██║██║ ██╔══██║██║╚████║██║ ██║██║\n ██║ ╚██╗╚█████╔╝██║ ██║ ██║ ██║███████╗██║ ██║██║ ╚███║██████╔╝██║\n ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚══╝╚═════╝ ╚═╝\n\n\n {Style.RESET_ALL}')
await asyncio.sleep(5)
client.close()
def print_add(message):
print(f'{Fore.GREEN}[+]{Style.RESET_ALL} {message}')
def print_delete(message):
print(f'{Fore.RED}[-]{Style.RESET_ALL} {message}')
def print_warning(message):
print(f'{Fore.RED}[UYARI]{Style.RESET_ALL} {message}')
def print_error(message):
print(f'{Fore.RED}[HATA]{Style.RESET_ALL} {message}')
class Clone:
@staticmethod
async def roles_delete(guild_to: discord.Guild):
for role in guild_to.roles:
try:
if role.name!= '@everyone':
await role.delete()
print_delete(f'Silinen Rol: {role.name}0')
except discord.Forbidden:
print_error(f'Rol Silinirken Hata Oluştu: {role.name}0')
except discord.HTTPException:
print_error(f'Rol Silinemiyor: {role.name}0')
@staticmethod
async def roles_create(guild_to: discord.Guild, guild_from: discord.Guild):
roles = []
for role in guild_from.roles:
if role.name!= '@everyone':
roles.append(role)
roles = roles[::(-1)]
for role in roles:
try:
await guild_to.create_role(name=role.name, permissions=role.permissions, colour=role.colour, hoist=role.hoist, mentionable=role.mentionable)
print_add(f'Oluşturulan rol: {role.name}0')
except discord.Forbidden:
print_error(f'Rol Oluşturulurken Hata Oluştu: {role.name}0')
except discord.HTTPException:
print_error(f'Rol Oluşturulamıyor: {role.name}0')
@staticmethod
async def channels_delete(guild_to: discord.Guild):
for channel in guild_to.channels:
try:
await channel.delete()
print_delete(f'Silinen Kanal: {channel.name}0')
except discord.Forbidden:
print_error(f'Kanal Silinirken Hata Oluştu: {channel.name}0')
except discord.HTTPException:
print_error(f'Kanal Silinemiyor: {channel.name}0')
@staticmethod
async def categories_create(guild_to: discord.Guild, guild_from: discord.Guild):
channels = guild_from.categories
for channel in channels:
try:
overwrites_to = {}
for key, value in channel.overwrites.items():
role = discord.utils.get(guild_to.roles, name=key.name)
overwrites_to[role] = value
new_channel = await guild_to.create_category(name=channel.name, overwrites=overwrites_to)
await new_channel.edit(position=channel.position)
print_add(f'Oluşturulan Kategori: {channel.name}0')
except discord.Forbidden:
print_error(f'Kategori Silinirken Hata Oluştu: {channel.name}0')
except discord.HTTPException:
print_error(f'Kategori Silinemiyor: {channel.name}0')
@staticmethod
async def channels_create(guild_to: discord.Guild, guild_from: discord.Guild):
category = None
for channel_text in guild_from.text_channels:
try:
for category in guild_to.categories:
try:
if category.name == channel_text.category.name:
break
except AttributeError:
print_warning(f'Channel {channel_text.name} doesn\'t have any category!')
category = None
continue
overwrites_to = {}
for key, value in channel_text.overwrites.items():
role = discord.utils.get(guild_to.roles, name=key.name)
overwrites_to[role] = value
try:
new_channel = await guild_to.create_text_channel(name=channel_text.name, overwrites=overwrites_to, position=channel_text.position, topic=channel_text.topic, slowmode_delay=channel_text.slowmode_delay, nsfw=channel_text.nsfw)
except:
new_channel = await guild_to.create_text_channel(name=channel_text.name, overwrites=overwrites_to, position=channel_text.position)
if category is not None:
await new_channel.edit(category=category)
print_add(f'Oluşturulan Metin Kanalı: {channel_text.name}0')
except discord.Forbidden:
print_error(f'Metin Kanalı Oluşturulurken Hata Oluştu: {channel_text.name}0')
except discord.HTTPException:
print_error(f'Metin Kanalı Oluşturulamıyor: {channel_text.name}0')
except:
print_error(f'Metin Kanalı Oluşturulurken Hata Oluştu: {channel_text.name}0')
category = None
for channel_voice in guild_from.voice_channels:
try:
for category in guild_to.categories:
try:
if category.name == channel_voice.category.name:
break
except AttributeError:
print_warning(f'Kanal {channel_voice.name} herhangi bir kategorisi yok!')
category = None
continue
overwrites_to = {}
for key, value in channel_voice.overwrites.items():
role = discord.utils.get(guild_to.roles, name=key.name)
overwrites_to[role] = value
try:
new_channel = await guild_to.create_voice_channel(name=channel_voice.name, overwrites=overwrites_to, position=channel_voice.position, bitrate=channel_voice.bitrate, user_limit=channel_voice.user_limit)
except:
new_channel = await guild_to.create_voice_channel(name=channel_voice.name, overwrites=overwrites_to, position=channel_voice.position)
if category is not None:
await new_channel.edit(category=category)
print_add(f'Oluşturulan ses kanalı: {channel_voice.name}0')
except discord.Forbidden:
print_error(f'Ses Kanalı Oluşturulurken Hata Oluştu: {channel_voice.name}0')
except discord.HTTPException:
print_error(f'Ses Kanalı Oluşturulamıyor: {channel_voice.name}0')
except:
print_error(f'Ses Kanalı Oluşturulurken Hata Oluştu: {channel_voice.name}0')
@staticmethod
async def emojis_delete(guild_to: discord.Guild):
for emoji in guild_to.emojis:
try:
await emoji.delete()
print_delete(f'silinen Emoji: {emoji.name}0')
except discord.Forbidden:
print_error(f'Emojiyi Silerken Hata Oluştu: {emoji.name}0')
except discord.HTTPException:
print_error(f'Emojiyi Silerken Hata Oluştu: {emoji.name}0')
@staticmethod
async def emojis_create(guild_to: discord.Guild, guild_from: discord.Guild):
for emoji in guild_from.emojis:
try:
emoji_image = await emoji.url.read()
await guild_to.create_custom_emoji(name=emoji.name, image=emoji_image)
print_add(f'Oluşturulan Emoji: {emoji.name}0')
except discord.Forbidden:
print_error(f'Emoji Oluştururken Hata Oluştu: {emoji.name} ')
except discord.HTTPException:
print_error(f'Emoji Oluştururken Hata Oluştu: {emoji.name}0')
@staticmethod
async def guild_edit(guild_to: discord.Guild, guild_from: discord.Guild):
try:
try:
icon_image = await guild_from.icon_url.read()
except discord.errors.DiscordException:
print_error(f'Simge görüntüsü okunamıyor: {guild_from.name}0')
icon_image = None
await guild_to.edit(name=f'{guild_from.name}')
if icon_image is not None:
try:
await guild_to.edit(icon=icon_image)
print_add(f'Sunucu Simgesi Değiştirildi: {guild_to.name}0')
except:
print_error(f'Sunucu Simgesini Değiştirirken Hata Oluştu: {guild_to.name}0')
except discord.Forbidden:
print_error(f'Sunucu Simgesini Değiştirirken Hata Oluştu: {guild_to.name}0')
client.run(token, bot=False)
güvenli miobf basmamış kod buPython:# Decompiled with PyLingual (https://pylingual.io) # Internal filename: Kler Cloner - Developed by klerlow.py # Bytecode version: 3.10.0rc2 (3439) # Source timestamp: 1970-01-01 00:00:00 UTC (0) mytitle = 'Kler Cloner - Developed by klerlow' from os import system system('title ' + mytitle) import psutil import time import sys client_id = 'Your Account ID' import discord import asyncio import colorama from colorama import Fore, init, Style import platform client = discord.Client() os = platform.system() if os == 'Windows': system('cls') else: # inserted system('clear') print(chr(27) + '[2J') print(f'{Fore.RED}\n\n ██╗ ██╗██╗ ███████╗██████╗\n ██║ ██╔╝██║ ██╔════╝██╔══██╗\n █████═╝ ██║ █████╗ ██████╔╝\n ██╔═██╗ ██║ ██╔══╝ ██╔══██╗\n ██║ ╚██╗███████╗███████╗██║ ██║\n ╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝\n\n{Style.RESET_ALL}\n {Fore.MAGENTA}Developed by: klerlow#9005{Style.RESET_ALL}\n ') token = input(f'{Fore.GREEN}[{Fore.RED}>{Style.RESET_ALL}0{Fore.GREEN}]{Style.RESET_ALL} Tokeninizi Girin : ') guild_s = input(f'{Fore.GREEN}[{Fore.RED}>{Style.RESET_ALL}0{Fore.GREEN}]{Style.RESET_ALL} Kopyalayacağınız Sunucu IDsini Girin : ') guild = input(f'{Fore.GREEN}[{Fore.RED}>{Style.RESET_ALL}0{Fore.GREEN}]{Style.RESET_ALL} Yapıştıracağınız Sunucu IDsini Girin : ') 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ş Yapıldı : {client.user}0') print('Sunucu Kopyalanmaya 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}0\n\n\n ██╗ ██╗ █████╗ ██████╗ ██╗ ██╗ █████╗ ██╗ █████╗ ███╗ ██╗██████╗ ██╗\n ██║ ██╔╝██╔══██╗██╔══██╗╚██╗ ██╔╝██╔══██╗██║ ██╔══██╗████╗ ██║██╔══██╗██║\n █████═╝ ██║ ██║██████╔╝ ╚████╔╝ ███████║██║ ███████║██╔██╗██║██║ ██║██║\n ██╔═██╗ ██║ ██║██╔═══╝ ╚██╔╝ ██╔══██║██║ ██╔══██║██║╚████║██║ ██║██║\n ██║ ╚██╗╚█████╔╝██║ ██║ ██║ ██║███████╗██║ ██║██║ ╚███║██████╔╝██║\n ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚══╝╚═════╝ ╚═╝\n\n\n {Style.RESET_ALL}') await asyncio.sleep(5) client.close() def print_add(message): print(f'{Fore.GREEN}[+]{Style.RESET_ALL} {message}') def print_delete(message): print(f'{Fore.RED}[-]{Style.RESET_ALL} {message}') def print_warning(message): print(f'{Fore.RED}[UYARI]{Style.RESET_ALL} {message}') def print_error(message): print(f'{Fore.RED}[HATA]{Style.RESET_ALL} {message}') class Clone: @staticmethod async def roles_delete(guild_to: discord.Guild): for role in guild_to.roles: try: if role.name!= '@everyone': await role.delete() print_delete(f'Silinen Rol: {role.name}0') except discord.Forbidden: print_error(f'Rol Silinirken Hata Oluştu: {role.name}0') except discord.HTTPException: print_error(f'Rol Silinemiyor: {role.name}0') @staticmethod async def roles_create(guild_to: discord.Guild, guild_from: discord.Guild): roles = [] for role in guild_from.roles: if role.name!= '@everyone': roles.append(role) roles = roles[::(-1)] for role in roles: try: await guild_to.create_role(name=role.name, permissions=role.permissions, colour=role.colour, hoist=role.hoist, mentionable=role.mentionable) print_add(f'Oluşturulan rol: {role.name}0') except discord.Forbidden: print_error(f'Rol Oluşturulurken Hata Oluştu: {role.name}0') except discord.HTTPException: print_error(f'Rol Oluşturulamıyor: {role.name}0') @staticmethod async def channels_delete(guild_to: discord.Guild): for channel in guild_to.channels: try: await channel.delete() print_delete(f'Silinen Kanal: {channel.name}0') except discord.Forbidden: print_error(f'Kanal Silinirken Hata Oluştu: {channel.name}0') except discord.HTTPException: print_error(f'Kanal Silinemiyor: {channel.name}0') @staticmethod async def categories_create(guild_to: discord.Guild, guild_from: discord.Guild): channels = guild_from.categories for channel in channels: try: overwrites_to = {} for key, value in channel.overwrites.items(): role = discord.utils.get(guild_to.roles, name=key.name) overwrites_to[role] = value new_channel = await guild_to.create_category(name=channel.name, overwrites=overwrites_to) await new_channel.edit(position=channel.position) print_add(f'Oluşturulan Kategori: {channel.name}0') except discord.Forbidden: print_error(f'Kategori Silinirken Hata Oluştu: {channel.name}0') except discord.HTTPException: print_error(f'Kategori Silinemiyor: {channel.name}0') @staticmethod async def channels_create(guild_to: discord.Guild, guild_from: discord.Guild): category = None for channel_text in guild_from.text_channels: try: for category in guild_to.categories: try: if category.name == channel_text.category.name: break except AttributeError: print_warning(f'Channel {channel_text.name} doesn\'t have any category!') category = None continue overwrites_to = {} for key, value in channel_text.overwrites.items(): role = discord.utils.get(guild_to.roles, name=key.name) overwrites_to[role] = value try: new_channel = await guild_to.create_text_channel(name=channel_text.name, overwrites=overwrites_to, position=channel_text.position, topic=channel_text.topic, slowmode_delay=channel_text.slowmode_delay, nsfw=channel_text.nsfw) except: new_channel = await guild_to.create_text_channel(name=channel_text.name, overwrites=overwrites_to, position=channel_text.position) if category is not None: await new_channel.edit(category=category) print_add(f'Oluşturulan Metin Kanalı: {channel_text.name}0') except discord.Forbidden: print_error(f'Metin Kanalı Oluşturulurken Hata Oluştu: {channel_text.name}0') except discord.HTTPException: print_error(f'Metin Kanalı Oluşturulamıyor: {channel_text.name}0') except: print_error(f'Metin Kanalı Oluşturulurken Hata Oluştu: {channel_text.name}0') category = None for channel_voice in guild_from.voice_channels: try: for category in guild_to.categories: try: if category.name == channel_voice.category.name: break except AttributeError: print_warning(f'Kanal {channel_voice.name} herhangi bir kategorisi yok!') category = None continue overwrites_to = {} for key, value in channel_voice.overwrites.items(): role = discord.utils.get(guild_to.roles, name=key.name) overwrites_to[role] = value try: new_channel = await guild_to.create_voice_channel(name=channel_voice.name, overwrites=overwrites_to, position=channel_voice.position, bitrate=channel_voice.bitrate, user_limit=channel_voice.user_limit) except: new_channel = await guild_to.create_voice_channel(name=channel_voice.name, overwrites=overwrites_to, position=channel_voice.position) if category is not None: await new_channel.edit(category=category) print_add(f'Oluşturulan ses kanalı: {channel_voice.name}0') except discord.Forbidden: print_error(f'Ses Kanalı Oluşturulurken Hata Oluştu: {channel_voice.name}0') except discord.HTTPException: print_error(f'Ses Kanalı Oluşturulamıyor: {channel_voice.name}0') except: print_error(f'Ses Kanalı Oluşturulurken Hata Oluştu: {channel_voice.name}0') @staticmethod async def emojis_delete(guild_to: discord.Guild): for emoji in guild_to.emojis: try: await emoji.delete() print_delete(f'silinen Emoji: {emoji.name}0') except discord.Forbidden: print_error(f'Emojiyi Silerken Hata Oluştu: {emoji.name}0') except discord.HTTPException: print_error(f'Emojiyi Silerken Hata Oluştu: {emoji.name}0') @staticmethod async def emojis_create(guild_to: discord.Guild, guild_from: discord.Guild): for emoji in guild_from.emojis: try: emoji_image = await emoji.url.read() await guild_to.create_custom_emoji(name=emoji.name, image=emoji_image) print_add(f'Oluşturulan Emoji: {emoji.name}0') except discord.Forbidden: print_error(f'Emoji Oluştururken Hata Oluştu: {emoji.name} ') except discord.HTTPException: print_error(f'Emoji Oluştururken Hata Oluştu: {emoji.name}0') @staticmethod async def guild_edit(guild_to: discord.Guild, guild_from: discord.Guild): try: try: icon_image = await guild_from.icon_url.read() except discord.errors.DiscordException: print_error(f'Simge görüntüsü okunamıyor: {guild_from.name}0') icon_image = None await guild_to.edit(name=f'{guild_from.name}') if icon_image is not None: try: await guild_to.edit(icon=icon_image) print_add(f'Sunucu Simgesi Değiştirildi: {guild_to.name}0') except: print_error(f'Sunucu Simgesini Değiştirirken Hata Oluştu: {guild_to.name}0') except discord.Forbidden: print_error(f'Sunucu Simgesini Değiştirirken Hata Oluştu: {guild_to.name}0') client.run(token, bot=False)
temiz duruyor ama ufak hatalar var gibigüvenli mi
nasıl ufak hatalar vartemiz duruyor ama ufak hatalar var gibi
Kanka sakin ol bi sey yok bu kadar kasmanasıl ufak hatalar var