Commited backup

This commit is contained in:
2025-07-10 21:02:34 +03:00
parent 952c1001e3
commit da0b80823e
1310 changed files with 254133 additions and 41 deletions

View File

@@ -0,0 +1,90 @@
#
#█▀▄ ▀█ █ █▀█ █░█  █▀▀ ▄▀█ █▄█
#█▄▀ █▄ █ █▀▄ █▄█  █▄█ █▀█ ░█░
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
# meta developer: @dziru
# meta pic: https://raw.githubusercontent.com/DziruModules/assets/master/DziruModules.jpg
# meta banner: https://raw.githubusercontent.com/DziruModules/assets/master/Among.png
# scope: hikka_min 1.5.0
# scope: hikka_only
# version: 1.0
from io import BytesIO
from random import randint
from secrets import choice
from textwrap import wrap
from .. import loader, utils
from PIL import Image, ImageDraw, ImageFont
from requests import get
class AmongMod(loader.Module):
"""Create AmongUs stickers"""
strings = {
"name": "Among",
}
async def amongcmd(self, message):
"""Type message or reply"""
clrs = {
"red": 1,
"lime": 2,
"green": 3,
"blue": 4,
"cyan": 5,
"brown": 6,
"purple": 7,
"pink": 8,
"orange": 9,
"yellow": 10,
"white": 11,
"black": 12,
}
clr = randint(1, 12)
text = utils.get_args_raw(message)
reply = await message.get_reply_message()
if text in clrs:
clr = clrs[text]
text = None
if not text:
if not reply:
await utils.answer(message, message.sender)
return
if not reply.text:
await utils.answer(message, reply.sender)
return
text = utils.get_args_raw(message)
if text.split(" ")[0] in clrs:
clr = clrs[text.split(" ")[0]]
text = " ".join(text.split(" ")[1:])
if text == "colors":
await message.edit(
("Cores disponíveis:\n" + "\n".join(f"• `{i}`" for i in list(clrs.keys())))
)
return
url = "https://raw.githubusercontent.com/KeyZenD/AmongUs/master/"
font = ImageFont.truetype(BytesIO(get(url + "bold.ttf").content), 60)
imposter = Image.open(BytesIO(get(f"{url}{clr}.png").content))
text_ = "\n".join("\n".join(wrap(part, 30)) for part in text.split("\n"))
w, h = ImageDraw.Draw(Image.new("RGB", (1, 1))).multiline_textsize(
text_, font, stroke_width=2
)
text = Image.new("RGBA", (w + 30, h + 30))
ImageDraw.Draw(text).multiline_text(
(15, 15), text_, "#FFF", font, stroke_width=2, stroke_fill="#000"
)
w = imposter.width + text.width + 10
h = max(imposter.height, text.height)
image = Image.new("RGBA", (w, h))
image.paste(imposter, (0, h - imposter.height), imposter)
image.paste(text, (w - text.width, 0), text)
image.thumbnail((512, 512))
output = BytesIO()
output.name = "dziru.webp"
image.save(output)
output.seek(0)
await message.delete()
await message.client.send_file(message.to_id, output, reply_to=reply)

View File

@@ -0,0 +1,85 @@
#
#█▀▄ ▀█ █ █▀█ █░█  █▀▀ ▄▀█ █▄█
#█▄▀ █▄ █ █▀▄ █▄█  █▄█ █▀█ ░█░
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
#
# meta developer: @dziru
# meta pic: https://raw.githubusercontent.com/DziruModules/assets/master/DziruModules.jpg
# meta banner: https://raw.githubusercontent.com/DziruModules/assets/master/AutoComment.png
# scope: hikka_only
# coded by: @dziru && @penggrin
from .. import loader, utils
import logging
logger = logging.getLogger(__name__)
@loader.tds
class AutoCommentMod(loader.Module):
"""Automatically comments under any channels you want"""
strings = {
"name": "AutoComment",
"disabled": "❌ Disabled",
"enabled": "✅ Enabled",
"status_now": "👌 AutoComment was <b>{}</b>!",
"config_status": "Are we ready to comment?",
"config_channels": "Under which channels i should comment? (ids)",
"config_message": "What i will comment?",
}
strings_ru = {
"disabled": "❌ Выключен",
"enabled": "✅ Включён",
"status_now": "👌 AutoComment теперь <b>{}</b>!",
"config_status": "Комментим ли мы?",
"config_channels": "Под каким каналами я должен комментировать (айди)",
"config_message": "Как я прокомментирую?",
}
def __init__(self):
self.config = loader.ModuleConfig(
loader.ConfigValue(
"status",
True,
lambda: self.strings("config_status"),
validator=loader.validators.Boolean()
),
loader.ConfigValue(
"message",
"I'm the first! 😎",
lambda: self.strings("config_message"),
validator=loader.validators.String()
),
loader.ConfigValue(
"channels",
[],
lambda: self.strings("config_channels"),
validator=loader.validators.Series(
loader.validators.Union(
loader.validators.Integer(),
)
)
),
)
@loader.watcher(only_messages=True, only_channels=True)
async def watcher(self, message):
if not self.config["status"]:
return
chat = utils.get_chat_id(message)
if chat not in self.config["channels"]:
return
await self.client.send_message(entity=chat, message=self.config["message"], comment_to=message)
logger.debug(f"commented on {message.id} in {chat}")
async def commentcmd(self, message):
"""Toggle Module <on/off>"""
self.config["status"] = not self.config["status"]
status = self.strings("enabled") if self.config["status"] else self.strings("disabled")
await utils.answer(message, self.strings("status_now").format(status))

View File

@@ -0,0 +1,120 @@
# █ █ ▀ █▄▀ ▄▀█ █▀█ ▀
# █▀█ █ █ █ █▀█ █▀▄ █
# © Copyright 2022
# https://t.me/hikariatama
#
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
#
#█▀▄ ▀█ █ █▀█ █░█  █▀▀ ▄▀█ █▄█
#█▄▀ █▄ █ █▀▄ █▄█  █▄█ █▀█ ░█░
# edited by: @dziru
# meta pic: https://raw.githubusercontent.com/DziruModules/assets/master/DziruModules.jpg
# meta banner: https://raw.githubusercontent.com/DziruModules/assets/master/Carbon.png
# meta developer: @hikarimods
# scope: hikka_only
# scope: hikka_min 1.2.10
# requires: urllib requests
import io
import requests
from telethon.tl.types import Message
from .. import loader, utils
@loader.tds
class CarbonMod(loader.Module):
"""Create beautiful code images. Edited by @Penggrin"""
strings = {
"name": "Carbon",
"args": (
"<emoji document_id=5312526098750252863>🚫</emoji> <b>No code specified</b>"
),
"loading": "<emoji document_id=5213452215527677338>⏳</emoji> <b>Loading...</b>"
}
strings_ru = {
"args": (
"<emoji document_id=5312526098750252863>🚫</emoji> <b>Не указаны"
" код</b>"
),
"loading": (
"<emoji document_id=5213452215527677338>⏳</emoji> <b>Обработка...</b>"
),
"_cls_doc": "Создает симпатичные фотки кода. Отредактировано @Penggrin"
}
def __init__(self):
self.config = loader.ModuleConfig(
loader.ConfigValue(
"theme",
"vsc-dark-plus",
"Theme from clck.ru/33HUNM",
validator=loader.validators.String()
),
loader.ConfigValue(
"color",
"gray",
"Background color",
validator=loader.validators.String()
),
loader.ConfigValue(
"language",
"python",
"Language",
validator=loader.validators.String()
),
)
@loader.command(ru_doc="<код> - Сделать красивую фотку кода")
async def carboncmd(self, message: Message):
"""<code> - Create beautiful code image"""
args = utils.get_args_raw(message)
try:
code_from_message = (
await self._client.download_file(message.media, bytes)
).decode("utf-8")
except Exception:
code_from_message = ""
try:
reply = await message.get_reply_message()
code_from_reply = (
await self._client.download_file(reply.media, bytes)
).decode("utf-8")
except Exception:
code_from_reply = ""
args = args or code_from_message or code_from_reply
if not args:
await utils.answer(message, self.strings("args"))
return
message = await utils.answer(message, self.strings("loading"))
doc = io.BytesIO(
(
await utils.run_sync(
requests.post,
f'https://code2img.vercel.app/api/to-image?theme={self.config["theme"]}&language=python&line-numbers=true&background-color={self.config["color"]}',
headers={"content-type": "text/plain"},
data=bytes(args, "utf-8"),
)
).content
)
doc.name = "darkmodules.jpg"
await self._client.send_message(
utils.get_chat_id(message),
file=doc,
force_document=(len(args.splitlines()) > 35),
reply_to=getattr(message, "reply_to_msg_id", None),
)
await message.delete()

View File

@@ -0,0 +1,70 @@
#
#█▀▄ ▀█ █ █▀█ █░█  █▀▀ ▄▀█ █▄█
#█▄▀ █▄ █ █▀▄ █▄█  █▄█ █▀█ ░█░
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
# meta developer: @dziru
# meta pic: https://raw.githubusercontent.com/DziruModules/assets/master/DziruModules.jpg
# meta banner: https://raw.githubusercontent.com/DziruModules/assets/master/CryptoBalance.png
# scope: hikka_only
# coded by: @toxicuse && @dziru && @penggrin
from .. import loader, utils
import logging
logger = logging.getLogger(__name__)
class CryptoBalanceMod(loader.Module):
"""Check your balance in many Crypto Wallet Bots"""
strings = {
'name': 'CryptoBalance',
'balance': '<emoji document_id=5336938396507969966>🪙</emoji> <b>Your balance in @{}:</b>\n\n{}'
}
strings_ru = {
'balance': '<emoji document_id=5336938396507969966>🪙</emoji> <b>Твой баланс в @{}:</b>\n\n{}'
}
@staticmethod
async def check_balance(bot, message):
async with message.client.conversation(bot) as conv:
walletrequest = await conv.send_message('/wallet')
walletanswer = await conv.get_response()
await walletrequest.delete()
await walletanswer.delete()
return walletanswer.text
@loader.command(ru_doc="Проверить твой баланс в @CryptoBot")
async def bcrypto(self, message):
"""Check your balance in @CryptoBot"""
balance = ((await self.check_balance('CryptoBot', message))[18:])
await utils.answer(message, self.strings('balance').format('CryptoBot', balance))
@loader.command(ru_doc="Проверить твой баланс в @TonRocketBot")
async def bton(self, message):
"""Check your balance in @TonRocketBot"""
balance = (await self.check_balance('tonRocketBot', message))[21:]
await utils.answer(message, self.strings('balance').format('tonRocketBot', balance))
@loader.command(ru_doc="Проверить твой баланс в @xJetSwapBot")
async def bjet(self, message):
"""Check your balance in @xJetSwapBot"""
balance = (await self.check_balance('xJetSwapBot', message))[26:]
await utils.answer(message, self.strings('balance').format('xJetSwapBot', balance))
@loader.command(ru_doc="Проверить твой баланс в @CryptoTestNetBot")
async def btest(self, message):
"""Check your balance in @CryptoTestNetBot"""
balance = (await self.check_balance('CryptoTestnetBot', message))[18:]
await utils.answer(message, self.strings('balance').format('CryptoTestnetBot', balance))
@loader.command(ru_doc="Проверить твой баланс в @Wallet")
async def bwallet(self, message):
"""Check your balance in @Wallet"""
balance = (await self.check_balance('wallet', message))[22:]
await utils.answer(message, self.strings('balance').format('wallet', balance))

View File

@@ -0,0 +1,62 @@
#
#█▀▄ ▀█ █ █▀█ █░█  █▀▀ ▄▀█ █▄█
#█▄▀ █▄ █ █▀▄ █▄█  █▄█ █▀█ ░█░
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
# meta developer: @dziru
# meta pic: https://raw.githubusercontent.com/DziruModules/assets/master/DziruModules.jpg
# meta banner: https://raw.githubusercontent.com/DziruModules/assets/master/DziShazam.png
# scope: hikka_min 1.5.0
# scope: hikka_only
# version: 1.0
from .. import utils, loader
@loader.tds
class DziShazamMod(loader.Module):
"""Module for searching music's. Works through @lybot"""
strings = {
"name": "DziShazam",
"dwait": "<emoji document_id=5334922351744132060>😉</emoji> <b>Just wait!</b>",
"dentersong": "<emoji document_id=5335046240075784593>😠</emoji> <b>Provide the correct Song name!</b>",
"denterwrong": "<emoji document_id=5335046240075784593>😠</emoji> <b>Provide the Song name!</b>",
"dsaved": "<emoji document_id=5346032779303854340>😎</emoji> <b>Submitted successfully!</b>",
}
strings_ru = {
"dwait": "<emoji document_id=5334922351744132060>😉</emoji> <b>Просто подождите!</b>",
"dentersong": "<emoji document_id=5335046240075784593>😠</emoji> <b>Укажите правильное название песни!</b>",
"denterwrong": "<emoji document_id=5335046240075784593>😠</emoji> <b>Укажите название песни!</b>",
"dsaved": "<emoji document_id=5346032779303854340>😎</emoji> <b>Отправлено успешно!</b>",
}
strings_uz = {
"dwait": "<emoji document_id=5334922351744132060>😉</emoji> <b>Shunchaki kuting!</b>",
"dentersong": "<emoji document_id=5335046240075784593>😠</emoji> <b>To'g'ri Musiqa nomini kiriting!</b>",
"denterwrong": "<emoji document_id=5335046240075784593>😠</emoji> <b>Musiqa nomini kiriting!</b>",
"dsaved": "<emoji document_id=5346032779303854340>😎</emoji> <b>Muvaffaqiyatli yuborildi!</b>",
}
@loader.command(ru_doc="<песня> укажите название")
async def mcdcmd(self, message):
"""<song> enter name"""
args = utils.get_args_raw(message)
reply = await message.get_reply_message()
if not args:
return await message.edit(self.strings("denterwrong"))
try:
music = await message.client.inline_query("lybot", args)
await message.delete()
await message.client.send_file(
message.to_id,
music[0].result.document,
caption=self.strings("dsaved"),
reply_to=reply.id if reply else None,
)
except:
return await message.client.send_message(
message.chat_id,
self.strings("dentersong"),
)

View File

@@ -0,0 +1,58 @@
#
#█▀▄ ▀█ █ █▀█ █░█  █▀▀ ▄▀█ █▄█
#█▄▀ █▄ █ █▀▄ █▄█  █▄█ █▀█ ░█░
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
# meta developer: @dziru
# meta pic: https://raw.githubusercontent.com/DziruModules/assets/master/DziruModules.jpg
# meta banner: https://raw.githubusercontent.com/DziruModules/assets/master/FunnyText.png
# scope: hikka_only
# scope: hikka_min 1.5.0
# version: 1.0
from .. import utils, loader
class memetextmod(loader.Module):
"""Get funny text for chat"""
strings = {
"name": "FunnyText",
"dsthink": "⠀⠀⠀⠀⢀⣀⣀⣀\n⠀⠀⠀⠰⡿⠿⠛⠛⠻⠿⣷\n⠀⠀⠀⠀⠀⠀⣀⣄⡀⠀⠀⠀⠀⢀⣀⣀⣤⣄⣀⡀\n⠀⠀⠀⠀⠀⢸⣿⣿⣷⠀⠀⠀⠀⠛⠛⣿⣿⣿⡛⠿⠷\n⠀⠀⠀⠀⠀⠘⠿⠿⠋⠀⠀⠀⠀⠀⠀⣿⣿⣿⠇\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠁\n \n⠀⠀⠀⠀⣿⣷⣄⠀⢶⣶⣷⣶⣶⣤⣀\n⠀⠀⠀⠀⣿⣿⣿⠀⠀⠀⠀⠀⠈⠙⠻⠗\n⠀⠀⠀⣰⣿⣿⣿⠀⠀⠀⠀⢀⣀⣠⣤⣴⣶⡄\n ⣠⣾⣿⣿⣿⣥⣶⣶⣿⣿⣿⣿⣿⠿⠿⠛⠃\n⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄\n⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡁\n⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁\n ⠛⢿⣿⣿⣿⣿⣿⣿⡿⠟\n",
"dhide": "`\n┻┳|―-∩``\n┳┻| ヽ``\n┻┳| ● |``\n┳┻|▼) _``\n┻┳| ̄ )``\n┳ミ( ̄ ``\n┻┳T ̄|`\n<b>Hide</b>",
"dhidewall": "`\n┻┳|―-∩``\n┳┻| ヽ``\n┻┳| ● |``\n┳┻|▼) _``\n┻┳| ̄ )``\n┳ミ( ̄ ``\n┻┳T ̄|`\n<b>Hide behind a wall</b>",
"dfrog": "⠄⠄⠄⠄⠄⣀⣀⣤⣶⣿⣿⣶⣶⣶⣤⣄⣠⣴⣶⣿⣶⣦⣄⠄\n⠄⣠⣴⣾⣿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦\n⢠⠾⣋⣭⣄⡀⠄⠙⠻⣿⣿⡿⠛⠋⠉⠉⠉⠙⠛⠿⣿⣿⣿⣿\n⡎⡟⢻⣿⣷⠄⠄⠄⠄⡼⣡⣾⣿⣿⣦⠄⠄⠄⠄⠄⠈⠛⢿⣿\n⡇⣷⣾⣿⠟⠄⠄⠄⢰⠁⣿⣇⣸⣿⣿⠄⠄⠄⠄⠄⠄⠄⣠⣼\n⣦⣭⣭⣄⣤⣤⣴⣶⣿⣧⡘⠻⠛⠛⠁⠄⠄⠄⠄⣀⣴⣿⣿⣿\n⢉⣹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣶⣦⣶⣶⣶⣶⣿⣿⣿⣿⣿⣿\n⡿⠛⠛⠛⠛⠻⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\n⡇⠄⠄⢀⣀⣀⠄⠄⠄⠄⠉⠉⠛⠛⠻⠿⣿⣿⣿⣿⣿⣿⣿⣿\n⠈⣆⠄⠄⢿⣿⣿⣷⣶⣶⣤⣤⣀⣀⡀⠄⠄⠉⢻⣿⣿⣿⣿⣿\n⠄⣿⡀⠄⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠂⠄⢠⣿⣿⣿⣿⣿\n⠄⣿⡇⠄⠄⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠄⢀⣼⣿⣿⣿⣿⣿\n⠄⣿⡇⠄⠠⣿⣿⣿⣿⣿⣿⣿⡿⠋⠄⠄⣠⣾⣿⣿⣿⣿⣿⣿\n⠄⣿⠁⠄⠐⠛⠛⠛⠉⠉⠉⠉⠄⠄⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿\n⠄⠻⣦⣀⣀⣀⣀⣀⣤⣤⣤⣤⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋\n",
"dfroglol": "⣿⣿⣿⡇⠄⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\n⣿⣿⣿⡇⠄⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\n⣿⣿⣿⡇⠄⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\n⣿⣿⣿⡇⠄⣿⣿⣿⡿⠋⣉⣉⣉⡙⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿\n⣿⣿⣿⠃⠄⠹⠟⣡⣶⢟⣛⣛⡻⢿⣦⣩⣤⣬⡉⢻⣿⣿⣿⣿\n⣿⣿⣿⠄⢀⢤⣾⣿⣿⣿⡿⠿⠿⠿⢮⡃⣛⡻⢿⠈⣿⣿⣿⣿\n⣿⡟⢡⣴⣯⣿⣿⣿⠤⣤⣭⣶⣶⣶⣮⣔⡈⠛⢓⠦⠈⢻⣿⣿\n⠏⣠⣿⣿⣿⣿⣿⣿⣯⡪⢛⠿⢿⣿⣿⣿⡿⣼⣿⣿⣮⣄⠙⣿\n⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣾⡭⠴⣶⣶⣽⣽⣛⡿⠿⠿⠇⣿\n⣿⣿⣿⣿⣿⣿⣿⠿⣿⣿⣿⣿⣿⣿⣿⣷⣝⣛⢛⢋⣥⣴⣿⣿\n⣿⣿⣿⣿⣿⢿⠱⣿⣛⠾⣭⣛⡿⢿⣿⣿⣿⣿⣿⡀⣿⣿⣿⣿\n⠑⠽⡻⢿⣮⣽⣷⣶⣯⣽⣳⠮⣽⣟⣲⠯⢭⣿⣛⡇⣿⣿⣿⣿\n⠄⠄⠈⠑⠊⠉⠟⣻⠿⣿⣿⣿⣷⣾⣭⣿⠷⠶⠂⣴⣿⣿⣿⣿\n⠄⠄⠄⠄⠄⠄⠄⠁⠙⠒⠙⠯⠍⠙⢉⣡⣶⣿⣿⣿⣿⣿⣿⣿\n⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠙⣿⣿⣿⣿⣿⣿⣿⣿⣿\n",
"dtrump": "⣿⣿⣿⣿⣿⣿⡿⠿⠛⠋⠉⡉⣉⡛⣛⠿⣿⣿⣿⣿⣿⣿⣿⣿\n⣿⣿⣿⡿⠋⠁⠄⠄⠄⠄⠄⢀⣸⣿⣿⡿⠿⡯⢙⠿⣿⣿⣿⣿\n⣿⣿⡿⠄⠄⠄⠄⠄⡀⡀⠄⢀⣀⣉⣉⣉⠁⠐⣶⣶⣿⣿⣿⣿\n⣿⣿⡇⠄⠄⠄⠄⠁⣿⣿⣀⠈⠿⢟⡛⠛⣿⠛⠛⣿⣿⣿⣿⣿\n⣿⣿⡆⠄⠄⠄⠄⠄⠈⠁⠰⣄⣴⡬⢵⣴⣿⣤⣽⣿⣿⣿⣿⣿\n⣿⣿⡇⠄⢀⢄⡀⠄⠄⠄⠄⡉⠻⣿⡿⠁⠘⠛⡿⣿⣿⣿⣿⣿\n⣿⡿⠃⠄⠄⠈⠻⠄⠄⠄⠄⢘⣧⣀⠾⠿⠶⠦⢳⣿⣿⣿⣿⣿\n⣿⣶⣤⡀⢀⡀⠄⠄⠄⠄⠄⠄⠻⢣⣶⡒⠶⢤⢾⣿⣿⣿⣿⣿\n⣿⡿⠋⠄⢘⣿⣦⡀⠄⠄⠄⠄⠄⠉⠛⠻⠻⠺⣼⣿⠟⠛⠿⣿\n⠋⠁⠄⠄⠄⢻⣿⣿⣶⣄⡀⠄⠄⠄⠄⢀⣤⣾⣿⡀⠄⠄⠄⢹\n⠄⠄⠄⠄⠄⠄⢻⣿⣿⣿⣷⡤⠄⠰⡆⠄⠄⠈⠛⢦⣀⡀⡀⠄\n⠄⠄⠄⠄⠄⠄⠈⢿⣿⠟⡋⠄⠄⠄⢣⠄⠄⠄⠄⠄⠈⠹⣿⣀\n⠄⠄⠄⠄⠄⠄⠄⠘⣷⣿⣿⣷⠄⠄⢺⣇⠄⠄⠄⠄⠄⠄⠸⣿\n⠄⠄⠄⠄⠄⠄⠄⠄⠹⣿⣿⡇⠄⠄⠸⣿⡄⠄⠈⠁⠄⠄⠄⣿\n⠄⠄⠄⠄⠄⠄⠄⠄⠄⢻⣿⡇⠄⠄⠄⢹⣧⠄⠄⠄⠄⠄⠄⠘\n",
"dwelcome": "───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───\n───█▒▒░░░░░░░░░▒▒█───\n────█░░█░░░░░█░░█────\n─▄▄──█░░░▀█▀░░░█──▄▄─\n█░░█─▀▄░░░░░░░▄▀─█░░█\n█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█\n█░░╦─╦╔╗╦─╔╗╔╗╔╦╗╔╗░░█\n█░░║║║╠─║─║─║║║║║╠─░░█\n█░░╚╩╝╚╝╚╝╚╝╚╝╩─╩╚╝░░█\n█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█\n",
"dgta": "⠀⠀⠀⠀⠀⠀⠀⢀⣤⣤⡀⠀⠀⠀⠀⠀⠀\n⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀\n⠀⠀⠀⠀⠀⠀⠀⢿⣿⣿⠟⠀⠀⠀⠀⠀⠀\n⠀⠀⠀⠀⠀⠀⠀⠘⠻⣿⣷⣄⠀⠀⠀⠀⠀\n⠀⠀⠀⠀⣴⣶⣿⡆⠀⠀⠉⠉⠀⠈⣶⡆⠀\n⠀⠀⠀⢠⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⢻⣷⠀\n⠀⠀⠀⣼⣿⡿⠟⠀⠀⠀⠀⠀⠀⠀⣸⣿⡄\n⠀⠀⠀⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣷\n⠀⠀⠘⠛⠃⠀⠀⠀⠀⠀⠀⠀⠀⢰⣾⣿⠏\n⠀⢠⣧⡔⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠟⠁⠀\n⠀⢸⣿⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ <b>Ah\nShit, here we go again.</b>\n",
"dscina": "⣿⣿⣿⣿⠟⠋⢁⢁⢁⢁⢁⢁⢁⢁⠈⢻⢿⣿⣿⣿⣿⣿⣿⣿\n⣿⣿⣿⣿⠃⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠈⡀⠭⢿⣿⣿⣿⣿\n⣿⣿⣿⡟⠄⢀⣾⣿⣿⣿⣷⣶⣿⣷⣶⣶⡆⠄⠄⠄⣿⣿⣿⣿\n⣿⣿⣿⡇⢀⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠄⠄⢸⣿⣿⣿⣿\n⣿⣿⣿⣇⣼⣿⣿⠿⠶⠙⣿⡟⠡⣴⣿⣽⣿⣧⠄⢸⣿⣿⣿⣿\n⣿⣿⣿⣿⣾⣿⣿⣟⣭⣾⣿⣷⣶⣶⣴⣶⣿⣿⢄⣿⣿⣿⣿⣿\n⣿⣿⣿⣿⣿⣿⣿⡟⣩⣿⣿⣿⡏⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\n⣿⣿⣿⣿⣿⣹⡋⠘⠷⣦⣀⣠⡶⠁⠈⠁⠄⣿⣿⣿⣿⣿⣿⣿\n⣿⣿⣿⣿⣿⣍⠃⣴⣶⡔⠒⠄⣠⢀⠄⠄⠄⡨⣿⣿⣿⣿⣿⣿\n⣿⣿⣿⣿⣿⣿⣦⡘⠿⣷⣿⠿⠟⠃⠄⠄⣠⡇⠈⠻⣿⣿⣿⣿\n⣿⣿⣿⡿⠟⠋⢁⣷⣠⠄⠄⠄⠄⣀⣠⣾⡟⠄⠄⠄⠄⠉⠙⠻\n⡿⠟⠁⠄⠄⠄⢸⣿⣿⡯⢓⣴⣾⣿⣿⡟⠄⠄⠄⠄⠄⠄⠄⠄\n⠄⠄⠄⠄⠄⠄⣿⡟⣷⠄⠹⣿⣿⣿⡿⠁⠄⠄⠄⠄⠄⠄⠄⠄\n⠄⠄⠄⠄⠄⣸⣿⡷⡇⠄⣴⣾⣿⣿⠃⠄⠄⠄⠄⠄⠄⠄⠄⠄\n⠄⠄⠄⠄⠄⣿⣿⠃⣦⣄⣿⣿⣿⠇⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄\n⠄⠄⠄⠄⢸⣿⠗⢈⡶⣷⣿⣿⡏⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄\n",
}
async def dscinacmd(self, message):
"""Scina face"""
await utils.answer(message, self.strings("dscina"))
async def dsthinkcmd(self, message):
"""Thinking face"""
await utils.answer(message, self.strings("dsthink"))
async def dhidecmd(self, message):
"""Hiding pikachu"""
await utils.answer(message, self.strings("dhide"))
async def dhidewallcmd(self, message):
"""Hiding a wall"""
await utils.answer(message, self.strings("dhidewall"))
async def dfrogcmd(self, message):
"""Shocked frog"""
await utils.answer(message, self.strings("dfrog"))
async def dfroglolcmd(self, message):
"""Frog dont care"""
await utils.answer(message, self.strings("dfroglol"))
async def dtrumpcmd(self, message):
"""Trump face"""
await utils.answer(message, self.strings("dtrump"))
async def dwelcomecmd(self, message):
"""Welcome message"""
await utils.answer(message, self.strings("dwelcome"))
async def dgtacmd(self, message):
"""GTA person"""
await utils.answer(message, self.strings("dgta"))

View File

@@ -0,0 +1,40 @@
#
#█▀▄ ▀█ █ █▀█ █░█  █▀▀ ▄▀█ █▄█
#█▄▀ █▄ █ █▀▄ █▄█  █▄█ █▀█ ░█░
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
# meta developer: @dziru
# meta pic: https://raw.githubusercontent.com/DziruModules/assets/master/DziruModules.jpg
# meta banner: https://raw.githubusercontent.com/DziruModules/assets/master/GitInfo.png
# scope: hikka_only
# version: 1.0
import requests
from .. import utils, loader
class GitInfoMod(loader.Module):
"""Get Github user info, simply type username"""
strings = {
"name": "GitInfo",
}
async def gitinfocmd(self, message):
"""<username>"""
args = utils.get_args_raw(message)
gitapi = "https://api.github.com/users/{}".format(args)
s = requests.get(gitapi)
if s.status_code != 404:
b = s.json()
avatar_url = b["avatar_url"]
html_url = b["html_url"]
name = b["name"]
blog = b["blog"]
location = b["location"]
bio = b["bio"]
created_at = b["created_at"]
await self._client.send_file(message.chat_id, caption="<emoji document_id=5974038293120027938>👤</emoji> <b>Name: </b><code>{}</code>\n<emoji document_id=5974492756494519709>🔗</emoji> <b>Link: </b><code>{}</code>\n\n<emoji document_id=5972183258090179945>💬</emoji> <b>Blog: </b><code>{}</code>\n<emoji document_id=5979027086612892618>📍</emoji> <b>Location: </b><code>{}</code>\n\n<emoji document_id=5972158252790582632>🗒</emoji> <b>Bio: </b><code>{}</code>\n<emoji document_id=6039550820855319523>🔎</emoji> <b>Profile Created: </b><code>{}</code>".format(name, html_url, blog, location, bio, created_at), file=avatar_url, force_document=False, allow_cache=False, reply_to=message)
await message.delete()
else:
await message.edit("<emoji document_id=5974097404754922968>🚫</emoji> <b>Username </b><code> {} </code><b>is not available</b>".format(args, s.text))

View File

@@ -0,0 +1,46 @@
#
#█▀▄ ▀█ █ █▀█ █░█  █▀▀ ▄▀█ █▄█
#█▄▀ █▄ █ █▀▄ █▄█  █▄█ █▀█ ░█░
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
# meta developer: @dziru
# meta pic: https://raw.githubusercontent.com/DziruModules/assets/master/DziruModules.jpg
# meta banner: https://raw.githubusercontent.com/DziruModules/assets/master/GoodWishes.png
# scope: hikka_min 1.5.0
# scope: hikka_only
# version: 1.0
from random import choice
from .. import loader
class GoodWishesMod(loader.Module):
"""Good wishes for the day"""
strings = {
"name": "GoodWishes",
}
async def gdmcmd(self, message):
"""Good Morning"""
gdmwish = ["Life is a mystery and things always look impossible until it is made. Do not stop, move ahead and kill it. Good Morning, have a nice day!", "A very Good Morning! I hope this morning brings a bright smile on your face. May you have a beautiful and rewarding day! Always keep smiling.", "Good Morning! It is a bright day. Wake up every morning with an assurance that you can do it. Think positive, stay happy and keep going.", "Wishing you a very Good Morning! A new blessing, a new hope, a new light and a new day is waiting for you to conquer it.", "Good morning! Always see the positive side of everything happening in your life."]
randomgdmwish = choice(gdmwish)
await message.edit(f"<b>{randomgdmwish}</b>")
async def gdacmd(self, message):
"""Good Afternoon"""
gdawish = ["Over my head is a deep blue sky, and a relaxing wind. The significant and only thing, out of other things, Im missing at the moment is your presence. Your company is GOLDEN to me. Have a pleasant afternoon.", "The afternoon comes with the brightness of the sun; the brightness which the sun brings reminds me of the light you have brought to my life. You are my happiness. I cant wait any longer to have you in my arms again. I miss you so much, this afternoon.", "The gentle wind which comes with the afternoon feel like a warm and sweet hug from you, my Love. Theres nothing else in my thoughts apart from you, this bright afternoon. Hope you are having a great time?", "Do you know the time the sun shines at its fullness? Its in the afternoon. It shows me how you brought light into my life, ever since I met you. I love you. Good afternoon.", "This is the time of the day when nature looks beautiful. Im sure you wouldnt want to miss the beauty displayed at this time. Wishing you a sweet afternoon."]
randomgdmwish = choice(gdawish)
await message.edit(f"<b>{randomgdmwish}</b>")
async def gdecmd(self, message):
"""Good Evening"""
gdewish = ["Good evening! I hope you had a good and productive day. Cheer up!", "No matter how bad your day has been, the beauty of the setting sun will make everything serene. Good evening.", "Good evening dear. Thank you for making my evenings so beautiful and full of love.", "May the setting sun take down all your sufferings with it and make you hopeful for a new day. Good evening!", "Evening is a good time to look back at your day and think about all the things that you have done. Enjoy your evening with positive thoughts."]
randomgdewish = choice(gdewish)
await message.edit(f"<b>{randomgdewish}</b>")
async def gdncmd(self, message):
"""Good Night"""
gdnwish = ["No matter how bad the day was, always try to end it with positive thoughts. Try to focus on the next day and hope for a sweet dream. Good night.", "No need to be upset or feel lonely tonight. Feel the calmness of this night with all your heart. Relax and have a tight sleep. Good night.", "You have so many reasons to thank God, but first thank him for such a peaceful night like this. What a blissful night for a good sleep. Good night!", "May you have sound sleep and wake up tomorrow with new hopes and a lot of positive energy. Good night to you!", "For me, the only truth in life is you and your love. When I wake up every morning, all I want is you to start over a new day. Good night!"]
randomgdewish = choice(gdnwish)
await message.edit(f"<b>{randomgdewish}</b>")

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2023 Dark Modules
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,68 @@
#
#█▀▄ ▀█ █ █▀█ █░█  █▀▀ ▄▀█ █▄█
#█▄▀ █▄ █ █▀▄ █▄█  █▄█ █▀█ ░█░
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
# meta developer: @dziru
# meta pic: https://raw.githubusercontent.com/DziruModules/assets/master/DziruModules.jpg
# meta banner: https://raw.githubusercontent.com/DziruModules/assets/master/PinSaver.png
# scope: hikka_only
# version: 1.0
from .. import utils, loader
class PinSaverMod(loader.Module):
"""Pinterest saver via @TopSaverBot"""
strings = {
"name": "Pin saver",
"dwait": "<emoji document_id=5334922351744132060>😉</emoji> <b>Just wait!</b>",
"denterlink": "<emoji document_id=5335046240075784593>😠</emoji> <b>Provide the correct Pin-Link!</b>",
"dsaved": "<emoji document_id=5346032779303854340>😎</emoji> <b>Submitted successfully!</b>",
}
strings_ru = {
"dwait": "<emoji document_id=5334922351744132060>😉</emoji> <b>Просто подождите!</b>",
"denterlink": "<emoji document_id=5335046240075784593>😠</emoji> <b>Укажите правильную ссылку на Pin!</b>",
"dsaved": "<emoji document_id=5346032779303854340>😎</emoji> <b>Отправлено успешно!</b>",
}
strings_uz = {
"dwait": "<emoji document_id=5334922351744132060>😉</emoji> <b>Shunchaki kuting!</b>",
"denterlink": "<emoji document_id=5335046240075784593>😠</emoji> <b>To'g'ri Pin havola kiriting!</b>",
"dsaved": "<emoji document_id=5346032779303854340>😎</emoji> <b>Muvaffaqiyatli yuborildi!</b>",
}
strings_de = {
"dwait": "<emoji document_id=5334922351744132060>😉</emoji> <b>Warte einfach!</b>",
"denterlink": "<emoji document_id=5335046240075784593>😠</emoji> <b>Geben Sie den richtigen Pin-Link an!</b>",
"dsaved": "<emoji document_id=5346032779303854340>😎</emoji> <b>Erfolgreich gesendet</b></b>",
}
strings_jp = {
"dwait": "<emoji document_id=5334922351744132060>😉</emoji> <b>ちょっと待って!</b>",
"denterlink": "<emoji document_id=5335046240075784593>😠</emoji> <b>有効な PIN リンクを提供してください。!</b>",
"dsaved": "<emoji document_id=5346032779303854340>😎</emoji> <b>正常に送信されました!</b></b>",
}
strings_tr = {
"dwait": "<emoji document_id=5334922351744132060>😉</emoji> <b>Sadece bekle!</b>",
"denterlink": "<emoji document_id=5335046240075784593>😠</emoji> <b>Doğru Pin-adresi gönderin!</b>",
"dsaved": "<emoji document_id=5346032779303854340>😎</emoji> <b>Başariyla gönderildi!</b></b>",
}
async def pincmd(self, message):
"""LINK from Pinterest"""
link = utils.get_args_raw(message)
if not link:
await utils.answer(message, self.strings("denterlink", message))
return
message = await utils.answer(message, self.strings("dwait"))
async with self._client.conversation('@TopSaverBot') as bot:
act = []
act += [await bot.send_message(link)]
ignore = await bot.get_response()
work = await bot.get_response()
await message.delete()
await self._client.send_file(message.peer_id, work.media, caption=self.strings("dsaved"), reply_to=message.reply_to_msg_id,)
await self.client.delete_dialog('@TopSaverBot')

View File

@@ -0,0 +1,72 @@
#
#█▀▄ ▀█ █ █▀█ █░█  █▀▀ ▄▀█ █▄█
#█▄▀ █▄ █ █▀▄ █▄█  █▄█ █▀█ ░█░
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
# meta developer: @dziru
# meta pic: https://raw.githubusercontent.com/DziruModules/assets/master/DziruModules.jpg
# meta banner: https://raw.githubusercontent.com/DziruModules/assets/master/RepoSaver.png
# scope: hikka_only
# version: 1.0
from .. import utils, loader
class RepoSaverMod(loader.Module):
"""GitHub Repository saver via @githubrepo_download_bot"""
strings = {
"name": "Reposaver",
"dwait": "<emoji document_id=5283042475408106112>🙏</emoji> <b>Just wait!</b>",
"denterlink": "<emoji document_id=5276516294076669922>⛔️</emoji> <b>Provide the correct Repository link!</b>",
"dsaved": "<emoji document_id=5240446815127477236>😎</emoji> <b>Submitted successfully!</b>",
}
strings_ru = {
"dwait": "<emoji document_id=5283042475408106112>🙏</emoji> <b>Просто подождите!</b>",
"denterlink": "<emoji document_id=5276516294076669922>⛔️</emoji> <b>Укажите правильную ссылку на Repository!</b>",
"dsaved": "<emoji document_id=5240446815127477236>😎</emoji> <b>Отправлено успешно!</b>",
}
strings_uz = {
"dwait": "<emoji document_id=5283042475408106112>🙏</emoji> <b>Shunchaki kuting!</b>",
"denterlink": "<emoji document_id=5276516294076669922>⛔️</emoji> <b>To'g'ri Repository havola kiriting!</b>",
"dsaved": "<emoji document_id=5240446815127477236>😎</emoji> <b>Muvaffaqiyatli yuborildi!</b>",
}
strings_de = {
"dwait": "<emoji document_id=5283042475408106112>🙏</emoji> <b>Warte einfach!</b>",
"denterlink": "<emoji document_id=5276516294076669922>⛔️</emoji> <b>Geben Sie den richtigen Repository link an!</b>",
"dsaved": "<emoji document_id=5240446815127477236>😎</emoji> <b>Erfolgreich gesendet</b></b>",
}
strings_jp = {
"dwait": "<emoji document_id=5283042475408106112>🙏</emoji> <b>ちょっと待って!</b>",
"denterlink": "<emoji document_id=5276516294076669922>⛔️</emoji> <b>有効な Repository リンクを提供してください。!</b>",
"dsaved": "<emoji document_id=5240446815127477236>😎</emoji> <b>正常に送信されました!</b></b>",
}
strings_tr = {
"dwait": "<emoji document_id=5283042475408106112>🙏</emoji> <b>Sadece bekle!</b>",
"denterlink": "<emoji document_id=5276516294076669922>⛔️</emoji> <b>Doğru Repository adresi gönderin!</b>",
"dsaved": "<emoji document_id=5240446815127477236>😎</emoji> <b>Başariyla gönderildi!</b></b>",
}
async def repocmd(self, message):
"""enter Repository link from GitHub"""
link = utils.get_args_raw(message)
if not link:
await utils.answer(message, self.strings("denterlink", message))
return
message = await utils.answer(message, self.strings("dwait"))
async with self._client.conversation('@githubrepo_download_bot') as bot:
act = []
act += [await bot.send_message(link)]
ignore = await bot.get_response()
secignore = await bot.get_response()
work = await bot.get_response()
await message.delete()
await self._client.send_file(message.peer_id, work.media, caption=self.strings("dsaved"), reply_to=message.reply_to_msg_id,)
await self.client.delete_dialog('@githubrepo_download_bot')

View File

@@ -0,0 +1,10 @@
Among
FunnyText
GoodWishes
Pinsaver
AutoComment
Carbon
Reposaver
Gitinfo
CryptoBalance
ShazamDark