Files
limoka/thomasmod/hikkamods/cdeanon.py
2025-07-10 21:02:34 +03:00

219 lines
9.7 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

__version__ = (2, 4, 0)
# ▀█▀ █ █ █▀█ █▀▄▀█ ▄▀█ █▀
# █  █▀█ █▄█ █ ▀ █ █▀█ ▄█
# https://t.me/netuzb
#
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
# meta desc: Деанон пользователей со всех сетях
# meta pic: https://te.legra.ph/file/fb9f08e6256915a729a12.png
# meta banner: https://te.legra.ph/file/d50815f35c08b9c3dcc90.jpg
# meta developer: @wilsonmods
# scope: hikka_only
# scope: hikka_min 1.3.0
from telethon import events
from .. import loader, utils
from asyncio import sleep
from ..inline.types import InlineCall
from telethon.tl.types import Message
import random
# EMOJI PLACE
emoji_sirena = "🚨 "
emoji_fire = "🔥 "
emoji_close = "🔻 "
emoji_more = "💌 "
emoji_coffee = ""
emoji_up = "↗️ "
class CDeanonMod(loader.Module):
"""Anyone can be deanoned, just enter your Telegram username"""
strings = {
"name": "🚨 CDeanon",
"bajarilmoqda": emoji_fire + "<b>Деанон пользователя <code>{}</code>...</b>",
"bajarildi": emoji_sirena + (
"<b>User <code>{}</code> has been successfully deanonymized,"
" \n — I remind you that the name of the user. must be written without «@»"
" \n\n🎨 We are here</b>:"
" <a href='t.me/wilsonmods'>Wilson Hikkamods</a>"
),
"info": emoji_sirena + (
"<b>Well, its not as serious as you think. There wont be any deanons,"
" just the name you enter will be attached to all existing links"
" \n— Please dont panic.\n\n🎨 Were here</b>:"
" <a href='https://t.me/wilsonmods'>Wilson Hikkamods</a>"
),
"notext": emoji_sirena + "<b>Please enter username</b>",
"x": emoji_close + "Close",
"ok": emoji_coffee + "I understand",
"more_mods": emoji_more + "More modules",
"how": emoji_up + "How it works?",
}
strings_ru = {
"bajarilmoqda": emoji_fire + "<b>Деанон пользователя <code>{}</code>...</b>",
"bajarildi": emoji_sirena + (
"<b>Пользователь <code>{}</code> успешно деанонирован</b>"
" \n — напоминаю что имя польз. нужно писать без «@»"
" \n\n🎨 <b>Мы тут</b>:"
" <a href='t.me/wilsonmods'>Wilson Hikkamods</a>"
),
"info": emoji_sirena + (
"<b>Ну, это не так серьезно, как вы думаете. Тут не будет никаких деанонов,"
" просто введенное вами имя будет прикреплено ко всем существующим ссылкам"
" \nНе паникуйте пожалуйста.\n\n🎨 Мы тут</b>:"
" <a href='https://t.me/wilsonmods'>Wilson Hikkamods</a>"
),
"notext": emoji_sirena + "<b>Пожалуйста, введите имя пользователя</b>",
"x": emoji_close + "Закрыть",
"ok": emoji_coffee + "Понятно",
"more_mods": emoji_more + "Больше модули",
"how": emoji_up + "Как это работает?",
}
strings_uz = {
"bajarilmoqda": emoji_fire + "<b>Foydalanuvchi <code>{}</code> deanonlanmoqda...</b>",
"bajarildi": emoji_sirena + (
"<b>Foydalanuvchi <code>{}</code> muvaffaqiyatli deanonlandi</b>"
" \n — eslatib otamanki, foydalanuvchi nomi «@»siz yozilishi kerak."
" \n\n🎨 <b>Biz shu yerdamiz</b>:"
" <a href='https://t.me/wilsonmods'>Wilson Hikkamods</a>"
),
"info": emoji_sirena + (
"<b>Xosh, bu siz oylaganchalik jiddiy emas. Umuman hackerlik bo'lmaydi,"
" siz kiritgan ism barcha mavjud havolalarga biriktiriladi"
" \n - Iltimos, vahimaga tushmang.\n\n🎨 Biz bu yerdamiz</b>:"
" <a href='t.me/wilsonmods'>Wilson Hikkamods</a>"
),
"notext": emoji_sirena + "<b>Iltimos, foydalanuvchi nomini kiriting</b>",
"x": emoji_close + "Yopish",
"ok": emoji_coffee + "Tushundim",
"more_mods": emoji_more + "Qoshimcha modullar",
"how": emoji_up + "Bu qanday ishlaydi?",
}
@loader.command(ru_doc=("[юзернейм] - Без «@»"))
async def deanon(self, message):
"""[username] - Without «@»"""
text = utils.get_args_raw(message)
if not text:
await message.edit(self.strings("notext", message))
else:
deanon = f"{self.strings('bajarildi').format(utils.get_args_raw(message))}"
await self.inline.form(
text = deanon,
reply_markup=[
[{
"text": "👶 Reddit",
"url": f"https://www.reddit.com/user/{utils.get_args_raw(message)}"
},{
"text": "🗳 Telegram",
"url": f"https://telegram.me/{utils.get_args_raw(message)}"
},{
"text": "📺 Youtube",
"url": f"https://youtube.com/{utils.get_args_raw(message)}"
}],
[{
"text": "😺 Github",
"url": f"https://github.com/{utils.get_args_raw(message)}"
},{
"text": "🔞 PornHub",
"url": f"https://pornhub.com/users/{utils.get_args_raw(message)}"
},{
"text": "♀️ OnlyFans",
"url": f"https://onlyfans.com/{utils.get_args_raw(message)}"
}],
[{
"text": "🐦 Twitter",
"url": f"https://www.twitter.com/{utils.get_args_raw(message)}"
},{
"text": "📸 Instagram",
"url": f"https://instagram.com/{utils.get_args_raw(message)}"
},{
"text": "🧢 VK.com",
"url": f"https://vk.com/{utils.get_args_raw(message)}"
}],
[{
"text": "🎨 Blogspot",
"url": f"https://{utils.get_args_raw(message)}.blogspot.com"
},{
"text": "🐚 Gitlab",
"url": f"https://gitlab.com/{utils.get_args_raw(message)}"
},{
"text": "🎧 SoundCloud",
"url": f"https://soundcloud.com/{utils.get_args_raw(message)}"
}],
[{
"text": "🌇 Pinterest",
"url": f"https://www.pinterest.com/{utils.get_args_raw(message)}"
},{
"text": "👥 OK.ru",
"url": f"https://ok.ru/{utils.get_args_raw(message)}"
},{
"text": "💻 Steam",
"url": f"https://steamcommunity.com/id/{utils.get_args_raw(message)}"
}],
[{
"text": "⭐ Dumpor",
"url": f"https://dumpor.com/v/{utils.get_args_raw(message)}"
},{
"text": "🤖 Roblox",
"url": f"https://www.roblox.com/user.aspx?username={utils.get_args_raw(message)}"
},{
"text": "🍀 Nitter",
"url": f"https://nitter.net/{utils.get_args_raw(message)}"
}],
[{
"text": "🎙️ Smule",
"url": f"https://www.smule.com/{utils.get_args_raw(message)}"
},{
"text": "📝 TamTam",
"url": f"https://tamtam.chat/{utils.get_args_raw(message)}"
},{
"text": "🎮 Twitch",
"url": f"https://www.twitch.tv/{utils.get_args_raw(message)}"
}],
[{
"text": "🍙 TikTok",
"url": f"https://vm.tiktok.com/{utils.get_args_raw(message)}"
},{
"text": "🍑 Likee",
"url": f"https://likee.video/@{utils.get_args_raw(message)}"
},{
"text": "🖼️ Freepik",
"url": f"https://www.freepik.com/{utils.get_args_raw(message)}"
}],
[{
"text": self.strings("how"),
"callback": self.how
}],
[{
"text": self.strings("x"),
"action": "close"
}],
], **{"photo": "https://te.legra.ph/file/d50815f35c08b9c3dcc90.jpg"},
message=message,
)
async def how(self, call: InlineCall) -> None:
await call.edit(
text = f"{self.strings('info')}",
reply_markup=[
[{
"text": f"{self.strings('more_mods')}",
"url": "t.me/wilsonmods"
}],
[{
"text": self.strings("ok"),
"action": "close"
}]],
**{"photo": "https://te.legra.ph/file/d50815f35c08b9c3dcc90.jpg"},
)