Commited backup
46
dorotorothequickend/DorotoroModules/01code.py
Normal file
@@ -0,0 +1,46 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/Dorotoro01code.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import loader, utils
|
||||
# https://clck.ru/32dhcu (StackOverflow)
|
||||
|
||||
@loader.tds
|
||||
class tocodedecodemod(loader.Module):
|
||||
"""Ваш персональный шифратор в двоичный код."""
|
||||
strings = {"name": "01code"}
|
||||
|
||||
|
||||
@loader.command()
|
||||
async def codeit(self, message):
|
||||
"<текст, который необходимо зашифровать> - шифрует ваш текст в двоичный код."
|
||||
args = utils.get_args_raw(message)
|
||||
def to_bits(args, encoding='utf-8', errors='surrogatepass'):
|
||||
bits = bin(int.from_bytes(args.encode(encoding, errors), 'big'))[2:]
|
||||
return bits.zfill(8 * ((len(bits) + 7) // 8))
|
||||
result = to_bits(args)
|
||||
await utils.answer(message, f"<emoji document_id=4985930888572306287>🖥</emoji> <b>Текст зашифрован:</b>\n<code>{result}</code>")
|
||||
|
||||
@loader.command()
|
||||
async def decode(self, message):
|
||||
"<код, который необходимо дешифровать> - дешифрует двоичный код."
|
||||
args = utils.get_args_raw(message)
|
||||
if not args:
|
||||
await utils.answer(message, "<emoji document_id=4985545282113503960>🖥</emoji> <b>Что декодировать то?</b>")
|
||||
return
|
||||
def from_bits(bits, encoding='utf-8', errors='surrogatepass'):
|
||||
n = int(bits, 2)
|
||||
return n.to_bytes((n.bit_length() + 7) // 8, 'big').decode(encoding, errors) or '\0'
|
||||
result = from_bits(args)
|
||||
await utils.answer(message, f"<emoji document_id=4985930888572306287>🖥</emoji> <b>Результат дешифровки:</b>\n<code>{result}</code>")
|
||||
44
dorotorothequickend/DorotoroModules/AccountDeleter.py
Normal file
@@ -0,0 +1,44 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroAccountDeleter.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import loader, utils
|
||||
import os
|
||||
import asyncio
|
||||
from telethon import functions
|
||||
from telethon.tl.functions.account import UpdateProfileRequest
|
||||
|
||||
@loader.tds
|
||||
class AccountDeleter(loader.Module):
|
||||
strings = {"name": "AccountDeleter"}
|
||||
|
||||
@loader.command()
|
||||
async def delacc(self, m):
|
||||
"- удаляет ваш аккаунт (просто меняет вашу аватарку и ник)."
|
||||
text = "Удаление аккаунта через..."
|
||||
await utils.answer(m, f"{text} <b>10</b> <emoji document_id=5296432770392791386>✈️</emoji>")
|
||||
asyncio.sleep(0.5)
|
||||
await utils.answer(m, f"{text} <b>6</b> <emoji document_id=5296432770392791386>✈️</emoji>")
|
||||
asyncio.sleep(0.7)
|
||||
await utils.answer(m, f"{text} <b>3</b> <emoji document_id=5296432770392791386>✈️</emoji>")
|
||||
asyncio.sleep(1)
|
||||
await utils.answer(m, f"{text} <b>1</b> <emoji document_id=5296432770392791386>✈️</emoji>")
|
||||
asyncio.sleep(0.8)
|
||||
photo = "https://0x0.st/oJqh.jpg"
|
||||
photo_ = await self.client.send_file("me", photo)
|
||||
avatar = await self.client.upload_file(await self.client.download_file(photo_, bytes))
|
||||
await self.client(functions.photos.UploadProfilePhotoRequest(avatar))
|
||||
await photo_.delete()
|
||||
await self._client(functions.account.UpdateProfileRequest(first_name='Deleted Account', last_name='', about='Аккаунт удалён. Вся информация на https://telegram.org/faq'))
|
||||
await utils.answer(m, "<b>Ваш аккаунт полностью удалён. <emoji document_id=6325592348529003273>😦</emoji></b>")
|
||||
57
dorotorothequickend/DorotoroModules/AutoEdit.py
Normal file
@@ -0,0 +1,57 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroAutoEdit.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import utils, loader
|
||||
import asyncio
|
||||
|
||||
@loader.tds
|
||||
class AutoEdit(loader.Module):
|
||||
"""Редактирует каждое ваше сообщение в определенное время на выбранный вами текст.\n Настройка через .config AutoEdit"""
|
||||
strings = {
|
||||
"name": "AutoEdit",
|
||||
"timechoice": "Время, за которое будет редактироваться сообщение.(в секундах)",
|
||||
"editmsg": "Текст, на который будет редактироваться ваше сообщение."
|
||||
}
|
||||
|
||||
@loader.watcher(out=True)
|
||||
async def watcher(self, message):
|
||||
if self.get("autoedit"):
|
||||
if message.text == '<b><i>AutoEdit on.</i></b>' :return
|
||||
if message.text == '@DorotoroMods' :return
|
||||
if message.text == '@AstroModules' :return
|
||||
|
||||
await asyncio.sleep(self.config['timechoice'])
|
||||
await message.edit(self.config['editmsg'])
|
||||
|
||||
async def client_ready(self, client, db):
|
||||
self._db = db
|
||||
self._me = await client.get_me()
|
||||
|
||||
def __init__(self):
|
||||
self.config = loader.ModuleConfig(
|
||||
loader.ConfigValue("timechoice", "10", doc=lambda: self.strings("timechoice")),
|
||||
loader.ConfigValue("editmsg", "<b>========\nЗасекречено</b>", doc=lambda: self.strings("editmsg"))
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def autoedit(self, message):
|
||||
"- включить/выключить AutoEdit."
|
||||
if self.get('autoedit') == True:
|
||||
self.set('autoedit', False)
|
||||
await utils.answer(message, "<b><i>AutoEdit off.</i></b>")
|
||||
return
|
||||
elif self.get('autoedit') == False or self.get('autoedit') is None:
|
||||
self.set('autoedit', True)
|
||||
await utils.answer(message, "<b><i>AutoEdit on.</i></b>")
|
||||
45
dorotorothequickend/DorotoroModules/CheckSpamBan.py
Normal file
@@ -0,0 +1,45 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
# _ __ __ _ _
|
||||
# /\ | | | \/ | | | | |
|
||||
# / \ ___| |_ _ __ ___ | \ / | ___ __| |_ _| | ___ ___
|
||||
# / /\ \ / __| __| '__/ _ \| |\/| |/ _ \ / _` | | | | |/ _ \/ __|
|
||||
# / ____ \\__ \ |_| | | (_) | | | | (_) | (_| | |_| | | __/\__ \
|
||||
# /_/ \_\___/\__|_| \___/|_| |_|\___/ \__,_|\__,_|_|\___||___/
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroCheckSpamBan.png
|
||||
# meta developer: @DorotoroMods & @AstroModules
|
||||
|
||||
from .. import loader, utils
|
||||
from ..utils import answer
|
||||
from telethon.tl.types import Message
|
||||
|
||||
@loader.tds
|
||||
class SpamBanCheckMod(loader.Module):
|
||||
"""Check spam ban for your account."""
|
||||
strings = {'name': 'CheckSpamBan'}
|
||||
|
||||
@loader.command()
|
||||
async def spamban(self, message: Message):
|
||||
"- проверяет ваш аккаунт на наличие спам-бана через бота @SpamBot."
|
||||
async with self._client.conversation("@SpamBot") as conv:
|
||||
msg = await conv.send_message("/start")
|
||||
r = await conv.get_response()
|
||||
if r.text == 'Ваш аккаунт свободен от каких-либо ограничений.':
|
||||
text = "<b>Все прекрасно!\nУ вас нет спам бана.</b>"
|
||||
else:
|
||||
kk = r.text.split('\n')[2]
|
||||
ll = r.text.split('\n')[4]
|
||||
text = f"<b>К сожалению ваш аккаунт получил спам-бан...\n\n{kk}\n\n{ll}</b>"
|
||||
await msg.delete()
|
||||
await r.delete()
|
||||
await answer(message, text)
|
||||
|
||||
32
dorotorothequickend/DorotoroModules/CringePhrases.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroCringePhrases.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
import random
|
||||
from .. import utils, loader
|
||||
from telethon.tl.types import Message
|
||||
from random import choice
|
||||
|
||||
cringefrazi = ["Рот у стоматолога открывать будешь.", "Ума как у ракушки.", "Это ты про себя?", "Еще один гудок с твоей платформы и твой зубной состав тронется.", "Засохни, гербарий!", "Чтоб ты свою свадьбу в 'McDonаlds' отмечал.", "Не зли меня, мне уже трупы прятать некуда! Да ладно, шучу я, шучу, есть еще место.", "Помолчи, жертва пьяной акушерки!", "Неважно что говорят крысы за спиной у кисы.", "Рот у моей ширинки открывать будешь.", "Дуру ты в зеркале увидишь когда утром встанешь.", "Да, красотою мир вы не спасете.", "Может перейдем на ты? А то мне в морду дать вам не удобно.", "Говорите, говорите... я всегда зеваю, когда мне интересно!", "Чао, персик-дозревай!", "Когда аист принес тебя твоим родителям — они долго смеялись и хотели сначала взять аиста.", "Эй вы, пятеро! Да, да, вы, четверо! Идите сюда, трое! Еще раз увижу вас вдвоем – отпи*дячу! Ты меня понял?!?", "Иди на кухню и руби вены топором.", "Детка, я тебя не пугаю, я же не зеркало.", "Тобой Бабайку в детстве не пугали?", "Еще один 'Вяк' в мою сторону... и твой папа зря потел.... ", "ВКонтакте — сайт для нормальных людей, а для таких отмороженных тормозов, как ты, давно пора создать новый сайт- ВТанке.", "Клизма, знай свое место.", "Клизма, знай свое место.", "В тебе есть одна хорошая черта, она делит задницу пополам.", "Дааа... не всех Чернобыль стороной обошел.", "Иди, приляг. Желательно на рельсы.", "Правильно делаешь, что хихикаешь. С такими зубами не смеются.", "Скажи мне кто я, и я скажу тебе на сколько ты меня недооценил.", "Я б вас послал, да вижу — вы оттуда.", "Извините, Вы сейчас нахамили, или просто использовали в своей речи длинные слова, смысл которых Вам не ясен?", "Бьюсь об заклад, что вас зачали на спор!", "Детка, если ты купила себе розовые стринги — это еще не значит что ты охуенная супер бейба!", "Свали в туман и прикройся тучкой", "Ума как у ракушки...", "Давай паразит, порази меня))", "Не люблю я хамов. Зачем мне конкуренты?", "Сокровище мое! Запомни один раз и до склероза!", "Из положительных качеств у тебя только 'резус-фактор'.", "С твоей интуицией угадывать только - в какой руке арбуз.", "А у тебя наверное член короткий,раз язык такой длинный!", "Сколько же ты перед зеркалом тренировалась?!", "Еще слово и ты деснами улыбаться будешь!", "Ты список потерял кого боятся?", "Миллионы лет эволюции для вас прошли напрасно", "Забейся в угол, покройся пылью!"]
|
||||
|
||||
@loader.tds
|
||||
class CringePhrases(loader.Module):
|
||||
"""Отправляет случайную мега-кринж фразу."""
|
||||
strings = {"name": "CringePhrases"}
|
||||
|
||||
@loader.command()
|
||||
async def cringephrase(self, m):
|
||||
"- фраза, от которой ваш собеседник будет испытывать мега-супер-пупер кринж."
|
||||
randomfraza = choice(cringefrazi)
|
||||
await utils.answer(m, randomfraza)
|
||||
129
dorotorothequickend/DorotoroModules/DoYouKnowAlphabet.py
Normal file
@@ -0,0 +1,129 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroDoYouKnowAlphabet.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
import re
|
||||
from .. import loader, utils
|
||||
|
||||
vowel = ["a", "а", "е", "e", "ë", "и", "u", "o", "о", "i", "я", "у", "y", "э", "ы", "ю"]
|
||||
bublik = ["ь", "ъ"]
|
||||
myagkie = ["й", "ч", "щ"]
|
||||
alwaystverdie = ["ш", "ж", "ц"]
|
||||
nevsegdatverd = ["б", "в", "г", "д", "з", "к", "л", "м", "н", "х", "п" ,"р", "с", "т", "ф"]
|
||||
zvonk = ["б", "в", "г", "д", "ж", "з", "й", "л", "м", "н", "р"]
|
||||
neslishu = ["к", "п", "ш", "щ", "с", "т", "ф", "х", "ц", "ч"]
|
||||
parnie = ["б", "п", "в", "г", "к", "д", "т", "ж", "ш", "з", "с", "ф", "щ"]
|
||||
neparn = ["х", "ц", "ч", "р", "н", "м", " й", "л" ]
|
||||
sonor = ["л", "р", "н", "й", "м"]
|
||||
consonant = ["б", "в", "г", "д", "ж", "з", "й", "к", "л", "м", "н", "ш ", "щ", "х", "п" ,"р", "с", "т", "ф", "ц", "ч", "b", "c", "d", "f", "g", "h", " k","j", "l", "m", " n", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z"]
|
||||
prefix = "<b>///Информация о Букве </b>\n"
|
||||
|
||||
@loader.tds
|
||||
class Alphabet(loader.Module):
|
||||
"""Special for Kids."""
|
||||
strings = {"name": "DoYouKnowAlphabet?"}
|
||||
|
||||
@loader.command()
|
||||
async def alphabetru(self,m):
|
||||
"- узнать русский алфавит."
|
||||
await utils.answer(m, "<code> а, б, в, г, д, е, ë, ж, з, и, й, к, л, м, н, о, п, р, с, т, у, ф, х, ц, ч, ш, щ, ъ, ы, ь, э, ю, я </code>")
|
||||
|
||||
@loader.command()
|
||||
async def consonantorvowel(self,m):
|
||||
"<буква> - узнать, гласная или согласная буква."
|
||||
args = utils.get_args_raw(m)
|
||||
for letter in vowel:
|
||||
if args == letter:
|
||||
await utils.answer(m, f"{prefix}Буква <b>{args}</b> - гласная.")
|
||||
return
|
||||
for letter in consonant:
|
||||
if args == letter:
|
||||
await utils.answer(m, f"{prefix}Буква <b>{args}</b> - согласная.")
|
||||
@loader.command()
|
||||
async def letterinfo(self,m):
|
||||
"<буква> - показывает информацию о букве."
|
||||
args = utils.get_args_raw(m)
|
||||
letter = args
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n"
|
||||
if args in consonant:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n"
|
||||
elif letter in myagkie:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Всегда мягкая\n"
|
||||
|
||||
if letter in alwaystverdie:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Всегда твёрдая\n"
|
||||
if letter in nevsegdatverd:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Твёрдая\n"
|
||||
if letter in neslishu and letter in myagkie:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Всегда мягкая\n Глухая\n"
|
||||
if letter in nevsegdatverd:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Твёрдая\n"
|
||||
if letter in zvonk and letter in nevsegdatverd:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\nСогласная\n Твердая\n Звонкая\n"
|
||||
if letter in neslishu and letter in nevsegdatverd:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\nСогласная\n Твердая\n Глухая\n"
|
||||
if letter in neslishu and letter in alwaystverdie:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Всегда твëрдая\n Глухая\n"
|
||||
if letter in zvonk and letter in alwaystverdie:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Всегда твëрдая\n Звонкая\n"
|
||||
if letter in neslishu and letter in alwaystverdie and letter in parnie:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Всегда твëрдая\n Глухая\n Парная\n"
|
||||
if letter in neslishu and letter in nevsegdatverd and letter in parnie:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\nСогласная\n Твердая\n Глухая\n Парная\n"
|
||||
if letter in neslishu and letter in alwaystverdie and letter in neparn:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Всегда твëрдая\n Глухая\n Непарная\n"
|
||||
if letter in neslishu and letter in nevsegdatverd and letter in neparn:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\nСогласная\n Твердая\n Глухая\n Непарная\n"
|
||||
if letter in zvonk and letter in nevsegdatverd and letter in parnie:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\nСогласная\n Твердая\n Парная\n"
|
||||
if letter in zvonk and letter in nevsegdatverd and letter in neparn:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\nСогласная\n Твердая\n Звонкая\n Непарная"
|
||||
if letter in zvonk and letter in alwaystverdie and letter in neparn:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Всегда твëрдая\n Звонкая\n Непарная\n"
|
||||
if letter in zvonk and letter in alwaystverdie and letter in parnie:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Всегда твëрдая\n Звонкая\n Парная\n"
|
||||
if letter in zvonk and letter in myagkie and letter in neparn:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Всегда мягкая\n Звонкая\n Непарная\n\n <b>Всегда мягкие буквы: 'й', 'ч', 'щ'. Буква Й немного баганная, а в других может не быть пункта ПАРНЫЙ/НЕПАРНЫЙ</b>"
|
||||
if letter in zvonk and letter in alwaystverdie and letter in parnie:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Согласная\n Всегда твëрдая\n Звонкая\n Парная\n"
|
||||
await utils.answer(m, text)
|
||||
|
||||
if letter in vowel:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Гласная\n"
|
||||
await utils.answer(m, text)
|
||||
if letter in bublik:
|
||||
text = f"{prefix}Буква <b>{args}</b>:\n Звука не обозначает "
|
||||
await utils.answer(m, text)
|
||||
if letter not in args:
|
||||
await utils.answer("<b>Введи букву, чорт.</b>")
|
||||
if letter == "р":
|
||||
text =f"{prefix}Буква <b>{args}</b>:\n Согласная\n Сонорная\n Непарная\n Звонкая\n Твёрдая"
|
||||
await utils.answer(m, text)
|
||||
if letter == "л":
|
||||
text =f"{prefix}Буква <b>{args}</b>:\n Согласная\n Сонорная\n Непарная\n Звонкая\n Твёрдая"
|
||||
await utils.answer(m, text)
|
||||
if letter == "н":
|
||||
text =f"{prefix}Буква <b>{args}</b>:\n Согласная\n Сонорная\n Непарная\n Звонкая\n Твёрдая"
|
||||
await utils.answer(m, text)
|
||||
if letter == "й":
|
||||
text =f"{prefix}Буква <b>{args}</b>:\n Согласная\n Сонорная\n Непарная\n Звонкая\n Всегда мягкая"
|
||||
await utils.answer(m, text)
|
||||
if letter == "м":
|
||||
text =f"{prefix}Буква <b>{args}</b>:\n Согласная\n Сонорная\n Непарная\n Звонкая\n Твёрдая"
|
||||
await utils.answer(m, text)
|
||||
|
||||
@loader.command()
|
||||
async def alphabeteng(self,m):
|
||||
"- узнать английский алфавит."
|
||||
await utils.answer(m, "<code> a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z </code>")
|
||||
698
dorotorothequickend/DorotoroModules/Dota2RandomHero.py
Normal file
@@ -0,0 +1,698 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroDota2RandomHero.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
import random
|
||||
from .. import loader, utils
|
||||
|
||||
hero1 = [
|
||||
"Abbadon",
|
||||
"Alchemist",
|
||||
"Axe",
|
||||
"Beastmaster",
|
||||
"Brewmaster",
|
||||
"Bristleback",
|
||||
"Centaur Warrunner",
|
||||
"Chaos Knight",
|
||||
"Clockwerk",
|
||||
"Dawnbreaker",
|
||||
"Doom",
|
||||
"Dragon Knight",
|
||||
"Earth Spirit",
|
||||
"Earthshaker",
|
||||
"Elder Titan",
|
||||
"Huskar",
|
||||
"Io",
|
||||
"Kunnka",
|
||||
"Legion Commander",
|
||||
"Lifestealer",
|
||||
"Lycan",
|
||||
"Magnus",
|
||||
"Marci",
|
||||
"Mars",
|
||||
"Muerta",
|
||||
"Night Stalker",
|
||||
"Omniknight",
|
||||
"Phoenix",
|
||||
"Primal Beast",
|
||||
"Pudge",
|
||||
"Sand King",
|
||||
"Slardar",
|
||||
"Snapfire",
|
||||
"Spirit Breaker",
|
||||
"Sven",
|
||||
"Tidehunter",
|
||||
"Timbersaw",
|
||||
"Tiny",
|
||||
"Treant Protector",
|
||||
"Tusk",
|
||||
"Underlord",
|
||||
"Undying",
|
||||
"Wraith King",
|
||||
"Anti-Mage",
|
||||
"Broodmother",
|
||||
"Arc Warden",
|
||||
"Bloodseeker",
|
||||
"Bounty Hunter",
|
||||
"Clinkz",
|
||||
"Drow Ranger",
|
||||
"Ember Spirit",
|
||||
"Faceless Void",
|
||||
"Gyrocopter",
|
||||
"Hoodwink",
|
||||
"Juggernaut",
|
||||
"Mirana",
|
||||
"Luna",
|
||||
"Medusa",
|
||||
"Meepo",
|
||||
"Monkey King",
|
||||
"Morphling",
|
||||
"Phantom Lancer",
|
||||
"Razor",
|
||||
"Phantom Assasin",
|
||||
"Naga Siren",
|
||||
"Nyx Assasin",
|
||||
"Pangolier",
|
||||
"Riki",
|
||||
"Slark",
|
||||
"Terrorblade",
|
||||
"Shadow Fiend",
|
||||
"Spectre",
|
||||
"Sniper",
|
||||
"Troll Warlord",
|
||||
"Ursa",
|
||||
"Vengeful Spirit",
|
||||
"Venomancer",
|
||||
"Viper",
|
||||
"Weaver",
|
||||
"Ancient Apparation",
|
||||
"Bane",
|
||||
"Batrider",
|
||||
"Chen",
|
||||
"Crystal Maiden",
|
||||
"Dark Seer",
|
||||
"Dark Willow",
|
||||
"Dazzle",
|
||||
"Death Prophet",
|
||||
"Disruptor",
|
||||
"Enchantress",
|
||||
"Enigma",
|
||||
"Grimstroke",
|
||||
"Invoker",
|
||||
"Jakiro",
|
||||
"KOTL",
|
||||
"Leshrac",
|
||||
"Lich",
|
||||
"Lina",
|
||||
"Lion",
|
||||
"Nature's Prophet",
|
||||
"Necrophos",
|
||||
"Puck",
|
||||
"Pugna",
|
||||
"QOP",
|
||||
"Rubick",
|
||||
"Skywrath Mage",
|
||||
"Shadow Shaman",
|
||||
"Shadow Demon",
|
||||
"Silencer",
|
||||
"Tinker",
|
||||
"Storm Spirit",
|
||||
"Techies",
|
||||
"Visage",
|
||||
"Warlock",
|
||||
"Void Spirit",
|
||||
"Windranger",
|
||||
"Winter Wyvern",
|
||||
"Zeus",
|
||||
"Witch Doctor",
|
||||
]
|
||||
hero2 = [
|
||||
"Abbadon",
|
||||
"Alchemist",
|
||||
"Axe",
|
||||
"Beastmaster",
|
||||
"Brewmaster",
|
||||
"Bristleback",
|
||||
"Centaur Warrunner",
|
||||
"Chaos Knight",
|
||||
"Clockwerk",
|
||||
"Dawnbreaker",
|
||||
"Doom",
|
||||
"Dragon Knight",
|
||||
"Earth Spirit",
|
||||
"Earthshaker",
|
||||
"Elder Titan",
|
||||
"Huskar",
|
||||
"Io",
|
||||
"Kunnka",
|
||||
"Legion Commander",
|
||||
"Lifestealer",
|
||||
"Lycan",
|
||||
"Magnus",
|
||||
"Marci",
|
||||
"Mars",
|
||||
"Muerta",
|
||||
"Night Stalker",
|
||||
"Omniknight",
|
||||
"Phoenix",
|
||||
"Primal Beast",
|
||||
"Pudge",
|
||||
"Sand King",
|
||||
"Slardar",
|
||||
"Snapfire",
|
||||
"Spirit Breaker",
|
||||
"Sven",
|
||||
"Tidehunter",
|
||||
"Timbersaw",
|
||||
"Tiny",
|
||||
"Treant Protector",
|
||||
"Tusk",
|
||||
"Underlord",
|
||||
"Undying",
|
||||
"Wraith King",
|
||||
"Anti-Mage",
|
||||
"Broodmother",
|
||||
"Arc Warden",
|
||||
"Bloodseeker",
|
||||
"Bounty Hunter",
|
||||
"Clinkz",
|
||||
"Drow Ranger",
|
||||
"Ember Spirit",
|
||||
"Faceless Void",
|
||||
"Gyrocopter",
|
||||
"Hoodwink",
|
||||
"Juggernaut",
|
||||
"Mirana",
|
||||
"Luna",
|
||||
"Medusa",
|
||||
"Meepo",
|
||||
"Monkey King",
|
||||
"Morphling",
|
||||
"Phantom Lancer",
|
||||
"Razor",
|
||||
"Phantom Assasin",
|
||||
"Naga Siren",
|
||||
"Nyx Assasin",
|
||||
"Pangolier",
|
||||
"Riki",
|
||||
"Slark",
|
||||
"Terrorblade",
|
||||
"Shadow Fiend",
|
||||
"Spectre",
|
||||
"Sniper",
|
||||
"Troll Warlord",
|
||||
"Ursa",
|
||||
"Vengeful Spirit",
|
||||
"Venomancer",
|
||||
"Viper",
|
||||
"Weaver",
|
||||
"Ancient Apparation",
|
||||
"Bane",
|
||||
"Batrider",
|
||||
"Chen",
|
||||
"Crystal Maiden",
|
||||
"Dark Seer",
|
||||
"Dark Willow",
|
||||
"Dazzle",
|
||||
"Death Prophet",
|
||||
"Disruptor",
|
||||
"Enchantress",
|
||||
"Enigma",
|
||||
"Grimstroke",
|
||||
"Invoker",
|
||||
"Jakiro",
|
||||
"KOTL",
|
||||
"Leshrac",
|
||||
"Lich",
|
||||
"Lina",
|
||||
"Lion",
|
||||
"Nature's Prophet",
|
||||
"Necrophos",
|
||||
"Puck",
|
||||
"Pugna",
|
||||
"QOP",
|
||||
"Rubick",
|
||||
"Skywrath Mage",
|
||||
"Shadow Shaman",
|
||||
"Shadow Demon",
|
||||
"Silencer",
|
||||
"Tinker",
|
||||
"Storm Spirit",
|
||||
"Techies",
|
||||
"Visage",
|
||||
"Warlock",
|
||||
"Void Spirit",
|
||||
"Windranger",
|
||||
"Winter Wyvern",
|
||||
"Zeus",
|
||||
"Witch Doctor",
|
||||
]
|
||||
hero3 = [
|
||||
"Abbadon",
|
||||
"Alchemist",
|
||||
"Axe",
|
||||
"Beastmaster",
|
||||
"Brewmaster",
|
||||
"Bristleback",
|
||||
"Centaur Warrunner",
|
||||
"Chaos Knight",
|
||||
"Clockwerk",
|
||||
"Dawnbreaker",
|
||||
"Doom",
|
||||
"Dragon Knight",
|
||||
"Earth Spirit",
|
||||
"Earthshaker",
|
||||
"Elder Titan",
|
||||
"Huskar",
|
||||
"Io",
|
||||
"Kunnka",
|
||||
"Legion Commander",
|
||||
"Lifestealer",
|
||||
"Lycan",
|
||||
"Magnus",
|
||||
"Marci",
|
||||
"Mars",
|
||||
"Muerta",
|
||||
"Night Stalker",
|
||||
"Omniknight",
|
||||
"Phoenix",
|
||||
"Primal Beast",
|
||||
"Pudge",
|
||||
"Sand King",
|
||||
"Slardar",
|
||||
"Snapfire",
|
||||
"Spirit Breaker",
|
||||
"Sven",
|
||||
"Tidehunter",
|
||||
"Timbersaw",
|
||||
"Tiny",
|
||||
"Treant Protector",
|
||||
"Tusk",
|
||||
"Underlord",
|
||||
"Undying",
|
||||
"Wraith King",
|
||||
"Anti-Mage",
|
||||
"Broodmother",
|
||||
"Arc Warden",
|
||||
"Bloodseeker",
|
||||
"Bounty Hunter",
|
||||
"Clinkz",
|
||||
"Drow Ranger",
|
||||
"Ember Spirit",
|
||||
"Faceless Void",
|
||||
"Gyrocopter",
|
||||
"Hoodwink",
|
||||
"Juggernaut",
|
||||
"Mirana",
|
||||
"Luna",
|
||||
"Medusa",
|
||||
"Meepo",
|
||||
"Monkey King",
|
||||
"Morphling",
|
||||
"Phantom Lancer",
|
||||
"Razor",
|
||||
"Phantom Assasin",
|
||||
"Naga Siren",
|
||||
"Nyx Assasin",
|
||||
"Pangolier",
|
||||
"Riki",
|
||||
"Slark",
|
||||
"Terrorblade",
|
||||
"Shadow Fiend",
|
||||
"Spectre",
|
||||
"Sniper",
|
||||
"Troll Warlord",
|
||||
"Ursa",
|
||||
"Vengeful Spirit",
|
||||
"Venomancer",
|
||||
"Viper",
|
||||
"Weaver",
|
||||
"Ancient Apparation",
|
||||
"Bane",
|
||||
"Batrider",
|
||||
"Chen",
|
||||
"Crystal Maiden",
|
||||
"Dark Seer",
|
||||
"Dark Willow",
|
||||
"Dazzle",
|
||||
"Death Prophet",
|
||||
"Disruptor",
|
||||
"Enchantress",
|
||||
"Enigma",
|
||||
"Grimstroke",
|
||||
"Invoker",
|
||||
"Jakiro",
|
||||
"KOTL",
|
||||
"Leshrac",
|
||||
"Lich",
|
||||
"Lina",
|
||||
"Lion",
|
||||
"Nature's Prophet",
|
||||
"Necrophos",
|
||||
"Puck",
|
||||
"Pugna",
|
||||
"QOP",
|
||||
"Rubick",
|
||||
"Skywrath Mage",
|
||||
"Shadow Shaman",
|
||||
"Shadow Demon",
|
||||
"Silencer",
|
||||
"Tinker",
|
||||
"Storm Spirit",
|
||||
"Techies",
|
||||
"Visage",
|
||||
"Warlock",
|
||||
"Void Spirit",
|
||||
"Windranger",
|
||||
"Winter Wyvern",
|
||||
"Zeus",
|
||||
"Witch Doctor",
|
||||
]
|
||||
hero4 = [
|
||||
"Abbadon",
|
||||
"Alchemist",
|
||||
"Axe",
|
||||
"Beastmaster",
|
||||
"Brewmaster",
|
||||
"Bristleback",
|
||||
"Centaur Warrunner",
|
||||
"Chaos Knight",
|
||||
"Clockwerk",
|
||||
"Dawnbreaker",
|
||||
"Doom",
|
||||
"Dragon Knight",
|
||||
"Earth Spirit",
|
||||
"Earthshaker",
|
||||
"Elder Titan",
|
||||
"Huskar",
|
||||
"Io",
|
||||
"Kunnka",
|
||||
"Legion Commander",
|
||||
"Lifestealer",
|
||||
"Lycan",
|
||||
"Magnus",
|
||||
"Marci",
|
||||
"Mars",
|
||||
"Muerta",
|
||||
"Night Stalker",
|
||||
"Omniknight",
|
||||
"Phoenix",
|
||||
"Primal Beast",
|
||||
"Pudge",
|
||||
"Sand King",
|
||||
"Slardar",
|
||||
"Snapfire",
|
||||
"Spirit Breaker",
|
||||
"Sven",
|
||||
"Tidehunter",
|
||||
"Timbersaw",
|
||||
"Tiny",
|
||||
"Treant Protector",
|
||||
"Tusk",
|
||||
"Underlord",
|
||||
"Undying",
|
||||
"Wraith King",
|
||||
"Anti-Mage",
|
||||
"Broodmother",
|
||||
"Arc Warden",
|
||||
"Bloodseeker",
|
||||
"Bounty Hunter",
|
||||
"Clinkz",
|
||||
"Drow Ranger",
|
||||
"Ember Spirit",
|
||||
"Faceless Void",
|
||||
"Gyrocopter",
|
||||
"Hoodwink",
|
||||
"Juggernaut",
|
||||
"Mirana",
|
||||
"Luna",
|
||||
"Medusa",
|
||||
"Meepo",
|
||||
"Monkey King",
|
||||
"Morphling",
|
||||
"Phantom Lancer",
|
||||
"Razor",
|
||||
"Phantom Assasin",
|
||||
"Naga Siren",
|
||||
"Nyx Assasin",
|
||||
"Pangolier",
|
||||
"Riki",
|
||||
"Slark",
|
||||
"Terrorblade",
|
||||
"Shadow Fiend",
|
||||
"Spectre",
|
||||
"Sniper",
|
||||
"Troll Warlord",
|
||||
"Ursa",
|
||||
"Vengeful Spirit",
|
||||
"Venomancer",
|
||||
"Viper",
|
||||
"Weaver",
|
||||
"Ancient Apparation",
|
||||
"Bane",
|
||||
"Batrider",
|
||||
"Chen",
|
||||
"Crystal Maiden",
|
||||
"Dark Seer",
|
||||
"Dark Willow",
|
||||
"Dazzle",
|
||||
"Death Prophet",
|
||||
"Disruptor",
|
||||
"Enchantress",
|
||||
"Enigma",
|
||||
"Grimstroke",
|
||||
"Invoker",
|
||||
"Jakiro",
|
||||
"KOTL",
|
||||
"Leshrac",
|
||||
"Lich",
|
||||
"Lina",
|
||||
"Lion",
|
||||
"Nature's Prophet",
|
||||
"Necrophos",
|
||||
"Puck",
|
||||
"Pugna",
|
||||
"QOP",
|
||||
"Rubick",
|
||||
"Skywrath Mage",
|
||||
"Shadow Shaman",
|
||||
"Shadow Demon",
|
||||
"Silencer",
|
||||
"Tinker",
|
||||
"Storm Spirit",
|
||||
"Techies",
|
||||
"Visage",
|
||||
"Warlock",
|
||||
"Void Spirit",
|
||||
"Windranger",
|
||||
"Winter Wyvern",
|
||||
"Zeus",
|
||||
"Witch Doctor",
|
||||
]
|
||||
hero5 = [
|
||||
"Abbadon",
|
||||
"Alchemist",
|
||||
"Axe",
|
||||
"Beastmaster",
|
||||
"Brewmaster",
|
||||
"Bristleback",
|
||||
"Centaur Warrunner",
|
||||
"Chaos Knight",
|
||||
"Clockwerk",
|
||||
"Dawnbreaker",
|
||||
"Doom",
|
||||
"Dragon Knight",
|
||||
"Earth Spirit",
|
||||
"Earthshaker",
|
||||
"Elder Titan",
|
||||
"Huskar",
|
||||
"Io",
|
||||
"Kunnka",
|
||||
"Legion Commander",
|
||||
"Lifestealer",
|
||||
"Lycan",
|
||||
"Magnus",
|
||||
"Marci",
|
||||
"Mars",
|
||||
"Muerta",
|
||||
"Night Stalker",
|
||||
"Omniknight",
|
||||
"Phoenix",
|
||||
"Primal Beast",
|
||||
"Pudge",
|
||||
"Sand King",
|
||||
"Slardar",
|
||||
"Snapfire",
|
||||
"Spirit Breaker",
|
||||
"Sven",
|
||||
"Tidehunter",
|
||||
"Timbersaw",
|
||||
"Tiny",
|
||||
"Treant Protector",
|
||||
"Tusk",
|
||||
"Underlord",
|
||||
"Undying",
|
||||
"Wraith King",
|
||||
"Anti-Mage",
|
||||
"Broodmother",
|
||||
"Arc Warden",
|
||||
"Bloodseeker",
|
||||
"Bounty Hunter",
|
||||
"Clinkz",
|
||||
"Drow Ranger",
|
||||
"Ember Spirit",
|
||||
"Faceless Void",
|
||||
"Gyrocopter",
|
||||
"Hoodwink",
|
||||
"Juggernaut",
|
||||
"Mirana",
|
||||
"Luna",
|
||||
"Medusa",
|
||||
"Meepo",
|
||||
"Monkey King",
|
||||
"Morphling",
|
||||
"Phantom Lancer",
|
||||
"Razor",
|
||||
"Phantom Assasin",
|
||||
"Naga Siren",
|
||||
"Nyx Assasin",
|
||||
"Pangolier",
|
||||
"Riki",
|
||||
"Slark",
|
||||
"Terrorblade",
|
||||
"Shadow Fiend",
|
||||
"Spectre",
|
||||
"Sniper",
|
||||
"Troll Warlord",
|
||||
"Ursa",
|
||||
"Vengeful Spirit",
|
||||
"Venomancer",
|
||||
"Viper",
|
||||
"Weaver",
|
||||
"Ancient Apparation",
|
||||
"Bane",
|
||||
"Batrider",
|
||||
"Chen",
|
||||
"Crystal Maiden",
|
||||
"Dark Seer",
|
||||
"Dark Willow",
|
||||
"Dazzle",
|
||||
"Death Prophet",
|
||||
"Disruptor",
|
||||
"Enchantress",
|
||||
"Enigma",
|
||||
"Grimstroke",
|
||||
"Invoker",
|
||||
"Jakiro",
|
||||
"KOTL",
|
||||
"Leshrac",
|
||||
"Lich",
|
||||
"Lina",
|
||||
"Lion",
|
||||
"Nature's Prophet",
|
||||
"Necrophos",
|
||||
"Puck",
|
||||
"Pugna",
|
||||
"QOP",
|
||||
"Rubick",
|
||||
"Skywrath Mage",
|
||||
"Shadow Shaman",
|
||||
"Shadow Demon",
|
||||
"Silencer",
|
||||
"Tinker",
|
||||
"Storm Spirit",
|
||||
"Techies",
|
||||
"Visage",
|
||||
"Warlock",
|
||||
"Void Spirit",
|
||||
"Windranger",
|
||||
"Winter Wyvern",
|
||||
"Zeus",
|
||||
"Witch Doctor",
|
||||
]
|
||||
build = [
|
||||
"Physical",
|
||||
"Magic",
|
||||
"with Aura items",
|
||||
"Support",
|
||||
"with 6 Divine Rapier's",
|
||||
"with 6 boots",
|
||||
"with 6 Blinks",
|
||||
"without items",
|
||||
"with Fluffy Hat"
|
||||
]
|
||||
randombuild = random.choice(build)
|
||||
|
||||
|
||||
@loader.tds
|
||||
class Dota2RandomHero(loader.Module):
|
||||
strings = {"name": "Dota2RandomHero"}
|
||||
|
||||
@loader.command()
|
||||
async def dota2hero(self, message):
|
||||
"- выбирает рандомного героя из Dota 2"
|
||||
randomhero = random.choice(hero1)
|
||||
await utils.answer(
|
||||
message,
|
||||
f"<b><emoji document_id=5239991179226915011>ℹ</emoji> Вам выпал герой:\n{randomhero}</b>",
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def dota2build(self, message):
|
||||
"- выбирает рандомный билд на героя из Dota 2."
|
||||
randombuild = random.choice(build)
|
||||
await utils.answer(
|
||||
message,
|
||||
f"<b><emoji document_id=5239991179226915011>ℹ</emoji> Вам выпала сборка:\n{randombuild}</b>",
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def dota2pick(self, message):
|
||||
"- рандомный пик героев."
|
||||
randompick = random.choice(hero1)
|
||||
randompick2 = random.choice(hero2)
|
||||
randompick3 = random.choice(hero3)
|
||||
randompick4 = random.choice(hero4)
|
||||
randompick5 = random.choice(hero5)
|
||||
while (
|
||||
randompick == randompick2
|
||||
or randompick == randompick3
|
||||
or randompick == randompick4
|
||||
or randompick == randompick5
|
||||
or randompick2 == randompick3
|
||||
or randompick2 == randompick4
|
||||
or randompick2 == randompick5
|
||||
or randompick3 == randompick4
|
||||
or randompick3 == randompick5
|
||||
or randompick4 == randompick5
|
||||
):
|
||||
randompick = random.choice(hero1)
|
||||
randompick2 = random.choice(hero2)
|
||||
randompick3 = random.choice(hero3)
|
||||
randompick4 = random.choice(hero4)
|
||||
randompick5 = random.choice(hero5)
|
||||
await utils.answer(
|
||||
message,
|
||||
f"<b><emoji document_id=5239991179226915011>ℹ</emoji> Вам выпали герои:\n{randompick}\n{randompick2}\n{randompick3}\n{randompick4}\n{randompick5}</b>",
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def dota2hb(self, message):
|
||||
"- рандомный герой и рандомный билд."
|
||||
randomhero = random.choice(hero1)
|
||||
randombuild = random.choice(build)
|
||||
await utils.answer(
|
||||
message,
|
||||
f"<b><emoji document_id=5239991179226915011>ℹ</emoji> Вам выпал герой:\n{randomhero}</b> со сборкой <b>{randombuild}</b>",
|
||||
)
|
||||
190
dorotorothequickend/DorotoroModules/EMJviaTEXT.py
Normal file
@@ -0,0 +1,190 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroEMJviaTEXT.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import loader, utils
|
||||
|
||||
@loader.tds
|
||||
class EMJviaTEXT(loader.Module):
|
||||
"""[ONLY FOR TG PREMIUM]\n Этот модуль создан чтобы не рыскать миллиарды стикерпаков. \n Пример использования:\n Привет BloodTrail"""
|
||||
strings = {'name': 'EMJviaTEXT'}
|
||||
|
||||
@loader.watcher(out=True)
|
||||
async def watcher(self, message):
|
||||
if self.get('emjviatext') == True:
|
||||
if "RoflanEbalo" in message.text:
|
||||
await message.edit(message.text.replace('RoflanEbalo', '<emoji document_id=5253485476844676349>😄</emoji>'))
|
||||
if "roflanebalo" in message.text:
|
||||
await message.edit(message.text.replace('roflanebalo', '<emoji document_id=5253485476844676349>😄</emoji>'))
|
||||
if "Roflanebalo" in message.text:
|
||||
await message.edit(message.text.replace('Roflanebalo', '<emoji document_id=5253485476844676349>😄</emoji>'))
|
||||
elif "BloodTrail" in message.text:
|
||||
await message.edit(message.text.replace('BloodTrail', '<emoji document_id=5256142171815288333>👍</emoji>'))
|
||||
elif "bloodtrail" in message.text:
|
||||
await message.edit(message.text.replace('bloodtrail', '<emoji document_id=5256142171815288333>👍</emoji>'))
|
||||
elif "Jebaited" in message.text:
|
||||
await message.edit(message.text.replace('Jebaited', '<emoji document_id=5456325941737298180>😮</emoji>'))
|
||||
elif "jebaited" in message.text:
|
||||
await message.edit(message.text.replace('jebaited', '<emoji document_id=5456325941737298180>😮</emoji>'))
|
||||
elif "Keepo" in message.text:
|
||||
await message.edit(message.text.replace('Keepo', '<emoji document_id=5456150582517571782>😸</emoji>'))
|
||||
elif "keepo" in message.text:
|
||||
await message.edit(message.text.replace('keepo', '<emoji document_id=5456150582517571782>😸</emoji>'))
|
||||
elif "TakeNRG" in message.text:
|
||||
await message.edit(message.text.replace('TakeNRG', '<emoji document_id=5456326650406902886>🤗</emoji>'))
|
||||
elif "takenrg" in message.text:
|
||||
await message.edit(message.text.replace('takenrg', '<emoji document_id=5456326650406902886>🤗</emoji>'))
|
||||
elif "KappaPride" in message.text:
|
||||
await message.edit(message.text.replace('KappaPride', '<emoji document_id=5456318807796620241>🏳️🌈</emoji>'))
|
||||
elif "kappapride" in message.text:
|
||||
await message.edit(message.text.replace('kappapride', '<emoji document_id=5456318807796620241>🏳️🌈</emoji>'))
|
||||
elif "DendiFace" in message.text:
|
||||
await message.edit(message.text.replace('DendiFace', '<emoji document_id=5456456946829762778>😁</emoji>'))
|
||||
elif "dendiface" in message.text:
|
||||
await message.edit(message.text.replace('dendiface', '<emoji document_id=5456456946829762778>😁</emoji>'))
|
||||
elif "LUL" in message.text:
|
||||
await message.edit(message.text.replace('LUL', '<emoji document_id=5456372550722396281>🤣</emoji>'))
|
||||
elif "lul" in message.text:
|
||||
await message.edit(message.text.replace('lul', '<emoji document_id=5456372550722396281>🤣</emoji>'))
|
||||
elif "RoflanPominki" in message.text:
|
||||
await message.edit(message.text.replace('RoflanPominki', '<emoji document_id=5253542209067687944>🕯️</emoji>'))
|
||||
elif "roflanpominki" in message.text:
|
||||
await message.edit(message.text.replace('roflanpominki', '<emoji document_id=5253542209067687944>🕯️</emoji>'))
|
||||
elif "Gigachad" in message.text:
|
||||
await message.edit(message.text.replace('Gigachad', '<emoji document_id=5465178805637226937>😎</emoji>'))
|
||||
elif "gigachad" in message.text:
|
||||
await message.edit(message.text.replace('gigachad', '<emoji document_id=5465178805637226937>😎</emoji>'))
|
||||
elif "Amogus" in message.text:
|
||||
await message.edit(message.text.replace('Amogus', '<emoji document_id=5454327849936755071>🍑</emoji>'))
|
||||
elif "ZXCat" in message.text:
|
||||
await message.edit(message.text.replace('ZXCat', '<emoji document_id=5461098861583932040>💃</emoji>'))
|
||||
elif "zxcat" in message.text:
|
||||
await message.edit(message.text.replace('zxcat', '<emoji document_id=5461098861583932040>💃</emoji>'))
|
||||
elif "ZXCcat" in message.text:
|
||||
await message.edit(message.text.replace('ZXCcat', '<emoji document_id=5461098861583932040>💃</emoji>'))
|
||||
elif "TheIlluminati" in message.text:
|
||||
await message.edit(message.text.replace('TheIlluminati', '<emoji document_id=5456498719681681736>💵</emoji>'))
|
||||
elif "theilluminati" in message.text:
|
||||
await message.edit(message.text.replace('theilluminati', '<emoji document_id=5456498719681681736>💵</emoji>'))
|
||||
elif "DoritosChips" in message.text:
|
||||
await message.edit(message.text.replace('DoritosChips', '<emoji document_id=5456163643513120377>🔺</emoji>'))
|
||||
elif "doritoschips" in message.text:
|
||||
await message.edit(message.text.replace('doritoschips', '<emoji document_id=5456163643513120377>🔺</emoji>'))
|
||||
elif "Simp" in message.text:
|
||||
await message.edit(message.text.replace('Simp', '<emoji document_id=5240295030983237831>🤭</emoji>'))
|
||||
elif "simp" in message.text:
|
||||
await message.edit(message.text.replace('simp', '<emoji document_id=5240295030983237831>🤭</emoji>'))
|
||||
elif "Lox" in message.text:
|
||||
await message.edit(message.text.replace('Lox', '<emoji document_id=5238130663818797192>😁</emoji>'))
|
||||
elif "lox" in message.text:
|
||||
await message.edit(message.text.replace('lox', '<emoji document_id=5238130663818797192>😁</emoji>'))
|
||||
elif "Sarcasm" in message.text:
|
||||
await message.edit(message.text.replace('Sarcasm', '<emoji document_id=5463303025915338248>😅</emoji>'))
|
||||
elif "sarcasm" in message.text:
|
||||
await message.edit(message.text.replace('sarcasm', '<emoji document_id=5463303025915338248>😅</emoji>'))
|
||||
elif "WutFace" in message.text:
|
||||
await message.edit(message.text.replace('WutFace', '<emoji document_id=5456640543796764131>😧</emoji>'))
|
||||
elif "wutface" in message.text:
|
||||
await message.edit(message.text.replace('wutface', '<emoji document_id=5456640543796764131>😧</emoji>'))
|
||||
elif "MonkaS" in message.text:
|
||||
await message.edit(message.text.replace('MonkaS', '<emoji document_id=5235752982808632917>😰</emoji>'))
|
||||
elif "Monkas" in message.text:
|
||||
await message.edit(message.text.replace('Monkas', '<emoji document_id=5235752982808632917>😰</emoji>'))
|
||||
elif "monkas" in message.text:
|
||||
await message.edit(message.text.replace('monkas', '<emoji document_id=5235752982808632917>😰</emoji>'))
|
||||
elif "BatemanWalk" in message.text:
|
||||
await message.edit(message.text.replace('BatemanWalk', '<emoji document_id=5240476433221953356>😎</emoji>'))
|
||||
elif "batemanwalk" in message.text:
|
||||
await message.edit(message.text.replace('batemanwalk', '<emoji document_id=5240476433221953356>😎</emoji>'))
|
||||
elif "TheRock" in message.text:
|
||||
await message.edit(message.text.replace('TheRock', '<emoji document_id=5242427215957729698>🤨</emoji>'))
|
||||
elif "therock" in message.text:
|
||||
await message.edit(message.text.replace('therock', '<emoji document_id=5242427215957729698>🤨</emoji>'))
|
||||
elif "Gachigasm" in message.text:
|
||||
await message.edit(message.text.replace('gachigasm', '<emoji document_id=5195438749026100649>🤤</emoji>'))
|
||||
elif "gachigasm" in message.text:
|
||||
await message.edit(message.text.replace('gachigasm', '<emoji document_id=5195438749026100649>🤤</emoji>'))
|
||||
elif "SuperGood" in message.text:
|
||||
await message.edit(message.text.replace('SuperGood', '<emoji document_id=5242534504240783567>🪳</emoji>'))
|
||||
elif "supergood" in message.text:
|
||||
await message.edit(message.text.replace('supergood', '<emoji document_id=5242534504240783567>🪳</emoji>'))
|
||||
elif "RoflanDovolen" in message.text:
|
||||
await message.edit(message.text.replace('RoflanDovolen', '<emoji document_id=5256071064336735168>🙂</emoji>'))
|
||||
elif "roflandovolen" in message.text:
|
||||
await message.edit(message.text.replace('roflandovolen', '<emoji document_id=5256071064336735168>🙂</emoji>'))
|
||||
elif "Scam" in message.text:
|
||||
await message.edit(message.text.replace('Scam', '<emoji document_id=5235930206044167357>☹</emoji>'))
|
||||
elif "scam" in message.text:
|
||||
await message.edit(message.text.replace('scam', '<emoji document_id=5235930206044167357>☹</emoji>'))
|
||||
elif "Cristiano" in message.text:
|
||||
await message.edit(message.text.replace('Cristiano', '<emoji document_id=5465290869923912522>🍷</emoji>'))
|
||||
elif "cristiano" in message.text:
|
||||
await message.edit(message.text.replace('cristiano', '<emoji document_id=5465290869923912522>🍷</emoji>'))
|
||||
elif "CoolStoryBob" in message.text:
|
||||
await message.edit(message.text.replace('CoolStoryBob', '<emoji document_id=5456647072147053405>👨🎨</emoji>'))
|
||||
elif "coolstorybob" in message.text:
|
||||
await message.edit(message.text.replace('coolstorybob', '<emoji document_id=5456647072147053405>👨🎨</emoji>'))
|
||||
elif "Bateman" in message.text:
|
||||
await message.edit(message.text.replace('Bateman', '<emoji document_id=5244673458083734407>😘</emoji>'))
|
||||
elif "bateman" in message.text:
|
||||
await message.edit(message.text.replace('bateman', '<emoji document_id=5244673458083734407>😘</emoji>'))
|
||||
elif "cmonBruh" in message.text:
|
||||
await message.edit(message.text.replace('cmonBruh', '<emoji document_id=5456421616428784682>🤨</emoji>'))
|
||||
elif "cmonbruh" in message.text:
|
||||
await message.edit(message.text.replace('cmonbruh', '<emoji document_id=5456421616428784682>🤨</emoji>'))
|
||||
elif "OmegaLUL" in message.text:
|
||||
await message.edit(message.text.replace('OmegaLUL', '<emoji document_id=5235437375726821884>😂</emoji>'))
|
||||
elif "omegalul" in message.text:
|
||||
await message.edit(message.text.replace('omegalul', '<emoji document_id=5235437375726821884>😂</emoji>'))
|
||||
elif "Poggers" in message.text:
|
||||
await message.edit(message.text.replace('Poggers', '<emoji document_id=5235565997112433719>😮</emoji>'))
|
||||
elif "poggers" in message.text:
|
||||
await message.edit(message.text.replace('poggers', '<emoji document_id=5235565997112433719>😮</emoji>'))
|
||||
elif "PepeHands" in message.text:
|
||||
await message.edit(message.text.replace('PepeHands', '<emoji document_id=5235672194473794817>😭</emoji>'))
|
||||
elif "pepehands" in message.text:
|
||||
await message.edit(message.text.replace('pepehands', '<emoji document_id=5235672194473794817>😭</emoji>'))
|
||||
elif "Pog" in message.text:
|
||||
await message.edit(message.text.replace('Pog', '<emoji document_id=5456646114369349279>😱</emoji>'))
|
||||
elif "pog" in message.text:
|
||||
await message.edit(message.text.replace('pog', '<emoji document_id=5456646114369349279>😱</emoji>'))
|
||||
elif "SeemsGood" in message.text:
|
||||
await message.edit(message.text.replace('SeemsGood', '<emoji document_id=5453919011999849933>👍</emoji>'))
|
||||
elif "seemsgood" in message.text:
|
||||
await message.edit(message.text.replace('seemsgood', '<emoji document_id=5453919011999849933>👍</emoji>'))
|
||||
elif "PoroSad" in message.text:
|
||||
await message.edit(message.text.replace('PoroSad', '<emoji document_id=5456358961445871838>😢</emoji>'))
|
||||
elif "porosad" in message.text:
|
||||
await message.edit(message.text.replace('porosad', '<emoji document_id=5456358961445871838>😢</emoji>'))
|
||||
elif "BibleThump" in message.text:
|
||||
await message.edit(message.text.replace('BibleThump', '<emoji document_id=5325692913701626627>😭</emoji>'))
|
||||
elif "biblethump" in message.text:
|
||||
await message.edit(message.text.replace('biblethump', '<emoji document_id=5325692913701626627>😭</emoji>'))
|
||||
|
||||
|
||||
@loader.command()
|
||||
async def emjviatext(self, message):
|
||||
"- включить/выключить автозамену текста на эмодзи."
|
||||
if self.get('emjviatext') == True:
|
||||
self.set('emjviatext', False)
|
||||
await utils.answer(message, "<b>EMJviaTEXT off. <emoji document_id=5289735335830365517>😎</emoji></b>")
|
||||
return
|
||||
elif self.get('emjviatext') == False or self.get('emjviatext') is None:
|
||||
self.set('emjviatext', True)
|
||||
await utils.answer(message, "<b>EMJviaTEXT on. <emoji document_id=5271812579038075619>😎</emoji></b>")
|
||||
|
||||
@loader.command()
|
||||
async def emjlist(self, m):
|
||||
"- список эмодзи."
|
||||
await utils.answer(m, "<emoji document_id=5253485476844676349>😄</emoji> - <code>RoflanEbalo</code>\n <emoji document_id=5256142171815288333>👍</emoji> - <code>BloodTrail</code>\n <emoji document_id=5456325941737298180>😮</emoji> - <code>Jebaited</code>\n <emoji document_id=5456150582517571782>😸</emoji> - <code>Keepo</code>\n <emoji document_id=5456326650406902886>🤗</emoji> - <code>TakeNRG</code>\n <emoji document_id=5456318807796620241>🏳️🌈</emoji> - <code>KappaPride</code>\n <emoji document_id=5456456946829762778>😁</emoji> - <code>DendiFace</code>\n <emoji document_id=5456372550722396281>🤣</emoji> - <code>LUL</code>\n <emoji document_id=5253542209067687944>🕯️</emoji> - <code>RoflanPominki</code>\n <emoji document_id=5465178805637226937>😎</emoji> - <code>Gigachad</code>\n <emoji document_id=5454327849936755071>🍑</emoji> - <code>Amogus</code>\n <emoji document_id=5461098861583932040>💃</emoji> - <code>ZXCat</code>\n <emoji document_id=5456498719681681736>💵</emoji> - <code>TheIlluminati</code>\n <emoji document_id=5456163643513120377>🔺</emoji> - <code>DoritosChips</code>\n <emoji document_id=5240295030983237831>🤭</emoji> - <code>Simp</code>\n <emoji document_id=5238130663818797192>😁</emoji> - <code>Lox</code>\n <emoji document_id=5463303025915338248>😅</emoji> - <code>Sarcasm</code>\n <emoji document_id=5456640543796764131>😧</emoji> - <code>WutFace</code>\n <emoji document_id=5235752982808632917>😰</emoji> - <code>MonkaS</code>\n <emoji document_id=5240476433221953356>😎</emoji> - <code>BatemanWalk</code>\n <emoji document_id=5242427215957729698>🤨</emoji> - <code>TheRock</code>\n <emoji document_id=5195438749026100649>🤤</emoji> - <code>Gashigasm</code>\n <emoji document_id=5242534504240783567>🪳</emoji> - <code>SuperGood</code>\n <emoji document_id=5256071064336735168>🙂</emoji> - <code>RoflanDovolen</code>\n <emoji document_id=5235930206044167357>☹</emoji> - <code>Scam</code>\n <emoji document_id=5465290869923912522>🍷</emoji> - <code>Cristiano</code>\n <emoji document_id=5456647072147053405>👨🎨</emoji> - <code>CoolStoryBob</code>\n <emoji document_id=5244673458083734407>😘</emoji> - <code>Bateman</code>\n <emoji document_id=5456421616428784682>🤨</emoji> - <code>cmonBruh</code>\n <emoji document_id=5235437375726821884>😂</emoji> - <code>OmegaLUL</code>\n <emoji document_id=5235565997112433719>😮</emoji> - <code>Poggers</code>\n <emoji document_id=5456646114369349279>😱</emoji> - <code>Pog</code>\n <emoji document_id=5453919011999849933>👍</emoji> - <code>SeemsGood</code>\n <emoji document_id=5456358961445871838>😢</emoji> - <code>PoroSad</code>\n <emoji document_id=5325692913701626627>😭</emoji> - <code>BibleThump</code> ")
|
||||
142
dorotorothequickend/DorotoroModules/ExcuseGenerator.py
Normal file
@@ -0,0 +1,142 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroExcuseGenerator.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import utils, loader
|
||||
import random
|
||||
|
||||
@loader.tds
|
||||
class ExcuseGeneratorMod(loader.Module):
|
||||
"""
|
||||
Ваш преданный помощник!
|
||||
"""
|
||||
strings = {
|
||||
"name": "ExcuseGenerator",
|
||||
"courtesy": "Обращение к человеку на ТЫ (0), обращение к человеку на ВЫ (1).",
|
||||
"sex": "Обращаться к человеку как к мужскому полу (0), обращаться к человеку как к женскому полу (1).",
|
||||
"mysex": "Пол того, кто пишет отмазку. Мужской (0), женский (1)."
|
||||
}
|
||||
|
||||
async def client_ready(self, client, db):
|
||||
self._db = db
|
||||
self._me = await client.get_me()
|
||||
|
||||
def __init__(self):
|
||||
self.config = loader.ModuleConfig(
|
||||
loader.ConfigValue("courtesy", "0", doc=lambda: self.strings("courtesy")),
|
||||
loader.ConfigValue("sex", "0", doc=lambda: self.strings("sex")),
|
||||
loader.ConfigValue("mysex", "0", doc=lambda: self.strings("mysex"))
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def excuse(self, message):
|
||||
"""<имя> - генерирует отмазку."""
|
||||
args = utils.get_args_raw(message)
|
||||
nameo = [
|
||||
"Друг","Товарищ","Дружище",
|
||||
"Приятель", "Дорогой друг", "Мой лучший друг"
|
||||
]
|
||||
nameowoman = [
|
||||
"Девушка", "Моя любимая подруга", "Подруга",
|
||||
"Пупсик", "Котик", "Милашка"
|
||||
]
|
||||
hello = [
|
||||
"привет","здравствуй","приветствую","добрый день","добрый вечер",
|
||||
"доброе утро","саламули гамаджоба", "хорошего дня",
|
||||
"салам алейкум", "hello", "здарова", "алоха"
|
||||
]
|
||||
hellovi = [
|
||||
"здравствуйте","здравствуй","добрый день","добрый вечер",
|
||||
"доброе утро","хорошего дня", "хорошего вечера", "доброго времяпрепровождения"
|
||||
]
|
||||
fail = [
|
||||
"Самолет, в котором я летел, приземлился на запаснике в Новгороде",
|
||||
"Я ехал в поезде, и кто-то сорвал стопкран, я резко упал и ударился головой, сейчас в больнице",
|
||||
"Я поймал попутку, её остановила ГИБДД, и нашли крупную партию наркотиков. Сейчас я под следствием",
|
||||
"Я вышел из дома, а дверь захлопнулась, я попытался залезть через балкон, но упал. Сейчас я в травмпункте, иду на поправку",
|
||||
"Я шел по парку, и на меня напал бомж, он украл у меня кошелек и ключи от дома. Хорошо, хоть что не изнасиловал",
|
||||
"У меня развалилась кровать во время сна, я повредил позвоночник. Сейчас иду на поправку","Я потерял паспорт",
|
||||
"Я на похоронах был, последний дедушка умер","У меня рак нашли, я по больницам ездил",
|
||||
"У меня рак печени, к сожалению, серьезно, я сейчас химиотерапию прохожу","Я потерял всё, что было в портмоне",
|
||||
"Меня избили цыгане", "У меня котик умер, я на похоронах", "Я в аэропорту, меня депортировали", "Сломал ногу. Меня положили в больницу, восстанавливаюсь",
|
||||
"Я просто в глуши был","Я просто был не в городе","Меня отправили по делам","Твой банк отклонил перевод","Мой счет заблокировали",
|
||||
"Я потерял ноутбук","У меня сломался компьютер", "Компьютер взорвался, починю и всё сделаю", "У меня передозировка кофеина. Я в больнице",
|
||||
"Меня машина сбила","Я немного не успеваю","Я сейчас работаю по фрилансу","Скоро стартап окупится","Бабушка скоро пенсию получит",
|
||||
"Деньги вернул твой банк, пишет отказ, проверь номер карты","Платеж на обработке","Платеж отклонен, буду ругаться с банком",
|
||||
"Провожаю слепую бабушку через дорогу","Сломал позвоночник", "Мои рыбки всплыли наверх, скоро похороны", "Я ослеп", "Около моего дома убили девушку, сейчас всех опрашивают",
|
||||
"Меня в армию забрали","У меня кошка рожала","У меня дочь родила",
|
||||
"У меня молоко убежало","У меня квартира сгорела","Я недооценил задачу","Я недооценил масштаб задачи",
|
||||
"Я столкнулся с непредвиденными сложностями"
|
||||
]
|
||||
failwoman = [
|
||||
"Самолет, в котором я летела, приземлился на запаснике в Новгороде",
|
||||
"Я ехала в поезде, и кто-то сорвал стопкран, я резко упала и ударилась головой, сейчас в больнице",
|
||||
"Я поймала попутку, её остановила ГИБДД, и нашли крупную партию наркотиков. Сейчас я под следствием",
|
||||
"Я вышла из дома, а дверь захлопнулась, я попыталась залезть через балкон, но упала. Сейчас я в травмпункте, иду на поправку",
|
||||
"Я шла по парку, и на меня напал бомж, он украл у меня кошелек и ключи от дома. Хорошо, хоть что не изнасиловал",
|
||||
"У меня развалилась кровать во время сна, я повредила позвоночник. Сейчас иду на поправку","Я потеряла паспорт",
|
||||
"Я на похоронах была, последний дедушка умер","У меня рак нашли, я по больницам ездила",
|
||||
"У меня рак печени, к сожалению, серьезно, я сейчас химиотерапию прохожу","Я потеряла всё, что было в портмоне",
|
||||
"Меня избили цыгане", "У меня котик умер, я на похоронах", "Я в аэропорту, меня депортировали", "Сломала ногу. Меня положили в больницу, восстанавливаюсь",
|
||||
"Я просто в глуши была","Я просто была не в городе","Меня отправили по делам","Твой банк отклонил перевод","Мой счет заблокировали",
|
||||
"Я потеряла ноутбук","У меня сломался компьютер", "Компьютер взорвался, починю и всё сделаю", "У меня передозировка кофеина. Я в больнице",
|
||||
"Меня машина сбила","Я немного не успеваю","Я сейчас работаю по фрилансу","Скоро стартап окупится","Бабушка скоро пенсию получит",
|
||||
"Деньги вернул твой банк, пишет отказ, проверь номер карты","Платеж на обработке","Платеж отклонен, буду ругаться с банком",
|
||||
"Провожаю слепую бабушку через дорогу","Сломала позвоночник", "Мои рыбки всплыли наверх, скоро похороны", "Я ослепла", "Около моего дома убили девушку, сейчас всех опрашивают",
|
||||
"Меня в армию забрали","У меня кошка рожала","У меня дочь родила",
|
||||
"У меня молоко убежало","У меня квартира сгорела","Я недооценила задачу","Я недооценила масштаб задачи",
|
||||
"Я столкнулась с непредвиденными сложностями"
|
||||
]
|
||||
action = [
|
||||
"Я сделаю всё","Вышлю часть","Постараюсь","Доберусь и всё сделаю","Смогу сделать всё","Я закончу","Я доделаю","Я исправлю","Согласую всё",
|
||||
"Объясню всё подробнее","Смогу отослать","Смогу решить этот вопрос","Смогу доделать","Смогу закончить",
|
||||
"Сделаю перевод","Переведу","Приеду","Я лично встречусь с тобой","Я разберусь с этим","Я разгребу это","Решу всё","Отправлю",
|
||||
"Скину","Доеду до дома","Приеду домой","Закрою этот вопрос","Попробую","Давай встретимся","Давай наличкой отдам",
|
||||
"Всё сделаю", "Приеду из армии"
|
||||
]
|
||||
date = [
|
||||
"сейчас","завтра","завтра вечером","завтра днем","завтра утром","как можно быстрее",
|
||||
"как можно скорее","наконец-то","чуть позже","позже","около 2 суток","в конце недели",
|
||||
"в конце месяца","в конце дня","до конца следующей недели","до завтра","послезавтра","ближе к вечеру",
|
||||
"ближе к утру","с утра","завтра крайний срок","на неделе",
|
||||
"через пару дней","скоро","сразу","сейчас, в течение 3-4 дней"
|
||||
]
|
||||
general = [
|
||||
"Хочу закрыть вопрос поскорее","Сам уже устал ждать","Я бы с радостью уже все сделал","Сам в шоке, что так всё получилось",
|
||||
"Сам в шоке, что так всё затягивается","Сам не ожидал таких событий","Надо поскорее решить этот вопрос",
|
||||
"Надо уже закрыть этот вопрос",
|
||||
"Надо уже решить эту проблему","Я, конечно, очень извиняюсь, что так вышло"]
|
||||
generalwoman = [
|
||||
"Хочу закрыть вопрос поскорее","Сама уже устала ждать","Я бы с радостью уже все сделала","Сама в шоке, что так всё получилось",
|
||||
"Сама в шоке, что так всё затягивается","Сама не ожидала таких событий","Надо поскорее решить этот вопрос",
|
||||
"Надо уже закрыть этот вопрос",
|
||||
"Надо уже решить эту проблему","Я, конечно, очень извиняюсь, что так вышло"
|
||||
]
|
||||
rnh = random.choice(hello)
|
||||
rnf = random.choice(fail)
|
||||
rna = random.choice(action)
|
||||
rnd = random.choice(date)
|
||||
rng = random.choice(general)
|
||||
if not args and self.config["sex"] == 1:
|
||||
args = random.choice(nameowoman)
|
||||
if not args and self.config["courtesy"] == 1:
|
||||
args = "Уважаемый начальник"
|
||||
if self.config["courtesy"] == 1:
|
||||
rnh = random.choice(hellovi)
|
||||
if not args:
|
||||
args = random.choice(nameo)
|
||||
if self.config["mysex"] == 1:
|
||||
rnf = random.choice(failwoman)
|
||||
rng = random.choice(generalwoman)
|
||||
await utils.answer(message, f"<b>{args}, {rnh}! {rnf}. {rna} {rnd}. {rng}.</b>")
|
||||
39
dorotorothequickend/DorotoroModules/FkinRickRoll.py
Normal file
@@ -0,0 +1,39 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroFkinRickRoll.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import loader, utils
|
||||
from telethon.tl.functions.account import UpdateProfileRequest
|
||||
|
||||
@loader.tds
|
||||
class FuckingRickRoll(loader.Module):
|
||||
"""Лучший способ зарикроллить собеседника."""
|
||||
strings = {"name": "FkinRickRoll"}
|
||||
|
||||
@loader.command()
|
||||
async def rickvid(self, message):
|
||||
"- стандартный RickRoll."
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, "https://siasky.net/AAAszL8plrdwyskshNBDBNBQx7IeQGVajIVq305Xd7w4vg", caption="<b><i>You've been Rickrolled!</i></b>")
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
await self._client(UploadProfilePhotoRequest(upload))
|
||||
|
||||
@loader.command()
|
||||
async def rickbait(self, message):
|
||||
"- отправляет видео с океаном, в конце которого вашего собеседника ждет RickRoll."
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, "https://siasky.net/_Al0XoSpEfN-aZlzdzQX2jc92xCKjlVHAC1uvcvDrRg7fw")
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
await self._client(UploadProfilePhotoRequest(upload))
|
||||
51
dorotorothequickend/DorotoroModules/FoodRecipe.py
Normal file
@@ -0,0 +1,51 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroFoodRecipe.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import loader, utils
|
||||
from ..utils import answer
|
||||
from telethon.tl.types import Message
|
||||
|
||||
|
||||
@loader.tds
|
||||
class FoodRecipe(loader.Module):
|
||||
"""Ищет рецепт блюда по его названию."""
|
||||
strings = {'name': 'FoodRecipe'}
|
||||
|
||||
@loader.command() # используем декоратор команды
|
||||
async def foodrecipecmd(self, message: Message):
|
||||
"<название блюда> - найти рецепт блюда."
|
||||
args = utils.get_args_raw(message)
|
||||
msg = await answer(message, 'Пожалуйста подождите. Рецепт в поиске...!')
|
||||
if not args:
|
||||
await answer(message, "Поедим пустоту вместе! Введи ингридиенты или название блюда, пожалуйста.")
|
||||
async with self._client.conversation("@cookinghelpbot") as conv:
|
||||
msgg = await conv.send_message(args)
|
||||
r = await conv.get_response()
|
||||
|
||||
if r.message == "Рецепт не загрузился, либо его нет":
|
||||
await answer(msg, "🔧 Рецепт не найден.")
|
||||
return
|
||||
elif r.message == "Одного из ингридиента нету":
|
||||
await answer(msg, "🔧 Один из ингредиентов отсутствует. ")
|
||||
return
|
||||
else:
|
||||
await r.click(data="cook")
|
||||
k = await conv.get_response()
|
||||
await msgg.delete()
|
||||
await r.delete()
|
||||
await k.delete()
|
||||
ingridienti = r.text[15:]
|
||||
retept = k.text
|
||||
text = f"<b>Рецепт найден!\n\n{ingridienti}\n\nРецепт:\n{retept}</b>"
|
||||
await answer(msg, text)
|
||||
427
dorotorothequickend/DorotoroModules/InlineTTS.py
Normal file
@@ -0,0 +1,427 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroInlineTTS.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from telethon.tl.types import Message
|
||||
|
||||
from .. import loader, utils
|
||||
|
||||
|
||||
@loader.tds
|
||||
class InlineTTS(loader.Module):
|
||||
"""Синтезирует текст в голос ваших любимых героев!Пример использования: .atts arthas Привет"""
|
||||
|
||||
strings = {"name": "InlineTTS"}
|
||||
|
||||
@loader.command()
|
||||
async def atts(self, message: Message):
|
||||
"<герой> <ваш текст> - синтезирует текст в голос героев из Warcraft III и обычных говорилок."
|
||||
args = utils.get_args_raw(message)
|
||||
if not args:
|
||||
await utils.answer(
|
||||
message,
|
||||
(
|
||||
"<b><emoji document_id=6327716471849878717>😱</emoji> | Чел... я"
|
||||
" пустоту не озвучиваю.</b>"
|
||||
),
|
||||
)
|
||||
return
|
||||
|
||||
reply = await message.get_reply_message()
|
||||
async with self._client.conversation("@silero_voice_bot") as conv:
|
||||
my_msg = await conv.send_message(args)
|
||||
r = await conv.get_response()
|
||||
if not r.media:
|
||||
await my_msg.delete()
|
||||
return await utils.answer(message, "<b>Пожалуйста, выполните действие в личке с @silero_voice_bot, а после используйте команду</b> <code>.atts</code>")
|
||||
await message.respond(file=r, reply_to=reply.id if reply else None)
|
||||
if message.out:
|
||||
await message.delete()
|
||||
|
||||
@loader.command()
|
||||
async def warcraftv(self, message):
|
||||
"- список голосов для синтеза (Герои Warcraft III)"
|
||||
await utils.answer(
|
||||
message,
|
||||
(
|
||||
" 💬 Warcraft III Voices:\n\n<code> arthas </code>| <code> kelthuzad"
|
||||
" </code>| <code> anubarak </code> | <code> thrall </code> | <code> "
|
||||
" grunt </code> | <code> cairne </code> | <code> rexxar </code> |"
|
||||
" <code> uther </code> | <code> jaina </code> | <code> kael | <code>"
|
||||
" garithos </code> | <code> malev </code> | <code> naisha </code> |"
|
||||
" <code> tyrande </code> | <code> furion </code> | <code> illidan"
|
||||
" </code> | <code> ladyvashj </code> | <code> narrator </code> |"
|
||||
" <code> medivh </code> | <code> villagerm </code> | <code> acolyte"
|
||||
" </code> | <code> sylvanas </code> | <code> dread_bm </code> | <code>"
|
||||
" dread_t </code> | <code> illidan_f </code> | <code> mannoroth </code>"
|
||||
" | <code> muradin </code> | <code> peasant </code> | <code> priest"
|
||||
" </code> | <code> sorceress </code> | <code> peon </code> | <code>"
|
||||
" chen </code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def silerov(self, message):
|
||||
"- список голосов для синтеза (Silero)"
|
||||
await utils.answer(
|
||||
message,
|
||||
(
|
||||
"👾 Silero Voices:\n\n<code> aidar </code> | <code> baya </code> |"
|
||||
" <code> kseniya </code> | <code> xenia </code> | <code> eugene </code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def halflifev(self, message):
|
||||
"- список голосов для синтеза (Half-Life)"
|
||||
await utils.answer(
|
||||
message,
|
||||
(
|
||||
"🔫 Half-Life Voices:\n\n<code> alyx </code> | <code> breen </code> |"
|
||||
" <code> gman_e2 </code> | <code> father </code> | <code> barney"
|
||||
" </code> | <code> gman </code> | <code> kleiner </code> | <code>"
|
||||
" vort_e2 </code> | <code> vort </code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def portalv(self, message):
|
||||
"- список голосов для синтеза (Portal 2)"
|
||||
await utils.answer(
|
||||
message,
|
||||
"🔮 Portal 2 Voices:\n\n <code> glados </code> | <code> wheatley </code>",
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def starcraftv(self, message):
|
||||
"- список голосов для синтеза (Starcraft)"
|
||||
await utils.answer(
|
||||
message,
|
||||
(
|
||||
"🪅 Starcraft Voices:\n\n<code> hanson </code> | <code> kerrigan </code>"
|
||||
" | <code> stetmann </code> | <code> tosh </code> | <code> hill </code>"
|
||||
" | <code> raynor </code> | <code> swann </code> | <code> tychus"
|
||||
" </code> | <code> valerian </code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def stalkerv(self, message):
|
||||
"- список голосов для синтеза (STALKER)"
|
||||
await utils.answer(message, "🛖 Stalker Voices:\n\n<code>bandit</code>")
|
||||
|
||||
@loader.command()
|
||||
async def dotav(self, message):
|
||||
"- список голосов для синтеза (Dota 2)"
|
||||
await utils.answer(
|
||||
message,
|
||||
(
|
||||
"<emoji document_id=5239991179226915011>ℹ</emoji> Dota 2"
|
||||
" Voices:\n\n<code>announcer</code> | <code>antimage</code> |"
|
||||
" <code>batrider</code> | <code>bloodseeker</code> |"
|
||||
" <code>bounty</code> | <code>bristle</code> | <code>clockwerk</code> |"
|
||||
" <code>doom</code> | <code>earth</code> | <code>gyro</code> |"
|
||||
" <code>huskar</code> | <code>juggernaut</code> | <code>kotl</code> |"
|
||||
" <code>kunkka</code> | <code>lancer</code> | <code>lina</code> |"
|
||||
" <code>luna</code> | <code>meepo</code> | <code>mortred</code> |"
|
||||
" <code>omni</code> | <code>pudge</code> | <code>queen</code> |"
|
||||
" <code>ranger</code> | <code>riki</code> | <code>shaker</code> |"
|
||||
" <code>skywrath</code> | <code>sniper</code> | <code>storm</code> |"
|
||||
" <code>templar</code> | <code>tide</code> | <code>treant</code> |"
|
||||
" <code>tusk</code> | <code>windranger</code> |"
|
||||
" <code>witchdoctor</code> | <code>wraith</code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def lolv(self, message):
|
||||
"- список голосов для синтеза (League of Legends)"
|
||||
await utils.answer(
|
||||
message,
|
||||
(
|
||||
"🏳️🌈 LOL Voices:\n\n<code>evelynn</code> | <code>pantheon</code> |"
|
||||
" <code>yuumi</code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def zahmv(self, message):
|
||||
"- список голосов для синтеза (Atomic Heart)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
"🫀 Atomic Heart"
|
||||
"Voices: \n\n<code>babazina</code> | <code>hraz</code> |"
|
||||
" <code>p3</code> | <code>tereshkova</code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def skyv(self, message):
|
||||
"- список голосов для синтеза (Skyrim)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
" ⚔️ Skyrim"
|
||||
" Voices:\n\n<code>ancano</code> | <code>astrid</code> |"
|
||||
" <code>aventus</code> | <code>brynjolf/<code> |"
|
||||
" <code>delphine</code> | <code>elenwen</code> |"
|
||||
" <code>emperor</code> | <code>esbern</code> |"
|
||||
" <code>felldir</code> | <code>gormlaith</code> |"
|
||||
" <code>hadvar</code> | <code>hakon</code> |"
|
||||
" <code>hermaeus</code> | <code>kodlak</code> |"
|
||||
" <code>maven</code> | <code>mercer</code> |"
|
||||
" <code>mirabelle</code> | <code>motierre</code> |"
|
||||
" <code>nazir</code> | <code>tsun</code> |"
|
||||
" <code>tullius</code> | <code>ulfric</code> |"
|
||||
" <code>vex</code> | <code>alduin</code> |"
|
||||
" <code>dragon</code> | <code>odahviing</code> |"
|
||||
" <code>paarthurnax</code> | <code>barbas</code> |"
|
||||
" <code>dremora</code> | <code>hagraven</code> |"
|
||||
" <code>f_child</code> | <code>m_child</code> |"
|
||||
" <code>arngeir</code> | <code>ebony</code> |"
|
||||
" <code>eorlund</code> | <code>falion</code> |"
|
||||
" <code>farengar</code> | <code>farkas</code> |"
|
||||
" <code>festus</code> | <code>m_argo</code> |"
|
||||
" <code>m_bandit</code> | <code>m_citizen</code> |"
|
||||
" <code>m_commander</code> | <code>m_commoner</code> |"
|
||||
" <code>m_coward</code> | <code>m_darkelf</code> |"
|
||||
" <code>m_drunk</code> | <code>m_forswon</code> |"
|
||||
" <code>m_guard</code> | <code>m_haughty</code> |"
|
||||
" <code>m_khajiit</code> | <code>m_nord</code> |"
|
||||
" <code>m_orc</code> | <code>m_soldier</code> |"
|
||||
" <code>malkoran</code> | <code>nazeem</code> |"
|
||||
" <code>sven</code> | <code>tolfdir</code> |"
|
||||
" <code>elisif</code> | <code>f_argo</code> |"
|
||||
" <code>f_commander</code> | <code>f_commoner</code> |"
|
||||
" <code>f_coward</code> | <code>f_darkelf</code> |"
|
||||
" <code>f_haughty</code> | <code>f_haughty</code> |"
|
||||
" <code>f_nord</code> | <code>f_orc</code> |"
|
||||
" <code>f_shrill</code> | <code>f_sultry</code> |"
|
||||
" <code>grelka</code> | <code>grelod</code> |"
|
||||
" <code>lydia</code> | <code>olava</code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def fallv(self, message):
|
||||
"- список голосов для синтеза (Fallout 1 & 2)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
"💣 Fallout"
|
||||
"Voices:\n\n<code>dick</code> | <code>dornan</code> |"
|
||||
" <code>elder</code> | <code>frank</code> |"
|
||||
" <code>hakunin</code> | <code>harold</code> |"
|
||||
" <code>marcus</code> | <code>master</code> |"
|
||||
" <code>officer</code> | <code>overseer</code> |"
|
||||
" <code>set</code> | <code>sulik</code> |"
|
||||
" <code>aradesh</code> | <code>cabbot</code> |"
|
||||
" <code>gizmo</code> | <code>harris</code> |"
|
||||
" <code>harry</code> | <code>jain</code> |"
|
||||
" <code>killian</code> | <code>laura</code> |"
|
||||
" <code>lieutenant</code> | <code>loxley</code> |"
|
||||
" <code>maxson</code> | <code>morpheus</code> |"
|
||||
" <code>nicole</code> | <code>rhombus</code> |"
|
||||
" <code>tandi</code> | <code>vree</code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def postalv(self, message):
|
||||
"- список голосов для синтеза (Postal 2)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
"🔫 Postal 2"
|
||||
"Voices:\n\n<code>dude</code> | <code>dude_cartoon</code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def tfv(self, message):
|
||||
"- список голосов для синтеза (Team Fortress)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
"🔫 Team Fortress"
|
||||
"Voices:\n\n<code>demoman</code> | <code>engineer</code> |"
|
||||
" <code>heavy</code> | <code>medic</code> |"
|
||||
" <code>scout</code> | <code>sniper_tf</code> |"
|
||||
" <code>soldier</code> | <code>spy</code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def heartv(self, message):
|
||||
"- список голосов для синтеза (Hearthstone)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
"💣 Hearthstone"
|
||||
"Voices:\n\n<code>akazamzarak</code> | <code>aranna</code> |"
|
||||
" <code>arwyn</code> | <code>azalina</code> |"
|
||||
" <code>brann</code> | <code>bob</code> |"
|
||||
" <code>deathwhisper</code> | <code>dr_boom</code> |"
|
||||
" <code>eudora</code> | <code>elise</code> |"
|
||||
" <code>goya</code> | <code>greymane</code> |"
|
||||
" <code>innkeeper</code> | <code>hancho</code> |"
|
||||
" <code>kazakus</code> | <code>moroes</code> |"
|
||||
" <code>omu</code> | <code>omnotron</code> |"
|
||||
" <code>pollark</code> | <code>reno</code> |"
|
||||
" <code>togwaggle</code> | <code>stelina</code> |"
|
||||
" <code>vargoth</code> | <code>wagtoggle</code> |"
|
||||
" <code>anarii</code> | <code>applebough</code> |"
|
||||
" <code>floop</code> | <code>edra</code> |"
|
||||
" <code>loti</code> | <code>malfurion</code> |"
|
||||
" <code>tala</code> | <code>squeamlish</code> |"
|
||||
" <code>zenda</code> | <code>arha</code> |"
|
||||
" <code>arha</code> | <code>avozu</code> |"
|
||||
" <code>belnaara</code> | <code>cardish</code> |"
|
||||
" <code>draemus</code> | <code>flark</code> |"
|
||||
" <code>lunara</code> | <code>putricide</code> |"
|
||||
" <code>slate</code> | <code>shaw</code> |"
|
||||
" <code>smiggs</code> | <code>brukan</code> |"
|
||||
" <code>disidra</code> | <code>fireheart</code> |"
|
||||
" <code>hesutu</code> | <code>hagatha</code> |"
|
||||
" <code>ozara</code> | <code>rastakhan</code> |"
|
||||
" <code>siamat</code> | <code>rhogi</code> |"
|
||||
" <code>thunderking</code> | <code>zentimo</code> |"
|
||||
" <code>dr_sezavo</code> | <code>zibb</code> |"
|
||||
" <code>jolene</code> | <code>lanathel</code> |"
|
||||
" <code>tekahn_boss</code> | <code>sthara</code> |"
|
||||
" <code>jeklik</code> | <code>karastamper</code> |"
|
||||
" <code>tekahn</code> | <code>marei</code> |"
|
||||
" <code>aki</code> | <code>willow</code> |"
|
||||
" <code>bolan</code> | <code>belloc</code> |"
|
||||
" <code>glowtron</code> | <code>george</code>"
|
||||
" <code>rasil</code> | <code>tarkus</code> |"
|
||||
" <code>turalyon</code> | <code>timothy</code> |"
|
||||
" <code>valdera</code> | <code>yrel_hs</code> |"
|
||||
" <code>anduin</code> | <code>baechao</code> |"
|
||||
" <code>illucia</code> | <code>haro</code> |"
|
||||
" <code>lazul</code> | <code>oshi</code> |"
|
||||
" <code>talanji</code> | <code>tyrande_hs</code> |"
|
||||
" <code>awilo</code> | <code>zole</code> |"
|
||||
" <code>biggs</code> | <code>chu</code> |"
|
||||
" <code>dagg</code> | <code>dovo</code> |"
|
||||
" <code>hannigan</code> | <code>ilza</code> |"
|
||||
" <code>kizi</code> | <code>kasa</code> |"
|
||||
" <code>kyriss</code> | <code>saurfang</code> |"
|
||||
" <code>voone</code> | <code>tierra</code> |"
|
||||
" <code>candlebeard</code> | <code>gallywix</code> |"
|
||||
" <code>hooktusk</code> | <code>gnomenapper</code> |"
|
||||
" <code>lilian</code> | <code>maiev_hs</code> |"
|
||||
" <code>ol_toomba</code> | <code>myra</code> |"
|
||||
" <code>thrud</code> | <code>valeera_hs</code> |"
|
||||
" <code>isiset</code> | <code>kalec</code> |"
|
||||
" <code>khadgar</code> | <code>katrana</code> |"
|
||||
" <code>lilayell</code> | <code>malacrass</code> |"
|
||||
" <code>norroa</code> | <code>mozaki</code> |"
|
||||
" <code>robold</code> | <code>sinclari</code> |"
|
||||
" <code>stargazer</code> | <code>wendy</code> |"
|
||||
" <code>xurios</code> | <code>whirt</code> |"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def metrov(self, message):
|
||||
"- список голосов для синтеза (Metro)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
"🚝 Metro"
|
||||
"Voices:\n\n<code>bandit2</code> | <code>bandit3</code> |"
|
||||
" <code>bridger2</code> | <code>bridger1</code> |"
|
||||
" <code>bridger3</code> | <code>forest1</code> |"
|
||||
" <code>forest3</code> | <code>forest2</code> |"
|
||||
" <code>slave1</code> | <code>slave2</code> |"
|
||||
" <code>tribal1</code> | <code>slave3</code> |"
|
||||
" <code>tribal3</code> | <code>krest</code> |"
|
||||
" <code>cannibal2</code> | <code>miller</code> |"
|
||||
" <code>cannibal3</code> | <code>merc1</code> |"
|
||||
" <code>merc2</code> | <code>blackheart</code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def hotsv(self, message):
|
||||
"- список голосов для синтеза (HotS)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
"💣 Heroes of the Storm"
|
||||
"Voices:\n\n<code>angel</code> | <code>barbarian</code> |"
|
||||
" <code>deckard</code> | <code>crusader</code> |"
|
||||
" <code>demon</code> | <code>demonhunter</code> |"
|
||||
" <code>witchdoctor_H</code> | <code>ana</code> |"
|
||||
" <code>lucio</code> | <code>dva</code> |"
|
||||
" <code>zarya</code> | <code>abathur</code> |"
|
||||
" <code>kerrigan_h</code> | <code>alarak</code> |"
|
||||
" <code>mechatassadar</code> | <code>mira</code> |"
|
||||
" <code>adjutant</code> | <code>athena</code> |"
|
||||
" <code>gardensdayannouncer</code> | <code>blackheart</code> |"
|
||||
" <code>drekthar</code> | <code>ladyofthorns</code> |"
|
||||
" <code>toy18</code> | <code>necromancer</code> |"
|
||||
" <code>volskaya</code> | <code>erik</code> |"
|
||||
" <code>orphea</code> | <code>olaf</code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def overv(self, message):
|
||||
"- список голосов для синтеза (Overwatch)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
"💣 Overwatch"
|
||||
"Voices:\n\n<code>doomfist</code> | <code>dva_ov</code> |"
|
||||
" <code>roadhog</code> | <code>junker</code> |"
|
||||
" <code>sigma</code> | <code>winston</code> |"
|
||||
" <code>witchdoctor_H</code> | <code>zarya</code> |"
|
||||
" <code>ana</code> | <code>baptiste</code> |"
|
||||
" <code>zarya</code> | <code>brigitte</code> |"
|
||||
" <code>kiriko</code> | <code>lucio_ov</code> |"
|
||||
" <code>moira</code> | <code>mercy</code> |"
|
||||
" <code>training_robot</code> | <code>zenyatta</code> |"
|
||||
" <code>ashe</code> | <code>echo</code> |"
|
||||
" <code>genji</code> | <code>cassidy</code> |"
|
||||
" <code>hanzo</code> | <code>junkrat</code> |"
|
||||
" <code>reaper</code> | <code>pharah</code> |"
|
||||
" <code>sojourn</code> | <code>soldier_76</code> |"
|
||||
" <code>sombra</code> | <code>symmetra</code> |"
|
||||
" <code>widowmaker</code> | <code>tracer</code> |"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def ritav(self, message):
|
||||
"- список голосов для синтеза (Rita)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
"💣 Rita"
|
||||
"Voices:\n\n<code>rita</code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def evilv(self, message):
|
||||
"- список голосов для синтеза (Evil Islands)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
"💣 Evil Islands"
|
||||
"Voices:\n\n<code>zak</code>"
|
||||
),
|
||||
)
|
||||
|
||||
@loader.command()
|
||||
async def valv(self, message):
|
||||
"- список голосов для синтеза (Valorant)"
|
||||
await utils.answer(
|
||||
message, (
|
||||
"💣 Valorant"
|
||||
"Voices:\n\n<code>brimstone</code> | <code>sage</code> |"
|
||||
" <code>harbor</code> | <code>sova</code>"
|
||||
),
|
||||
)
|
||||
674
dorotorothequickend/DorotoroModules/LICENSE
Normal file
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
301
dorotorothequickend/DorotoroModules/LessonHelper.py
Normal file
@@ -0,0 +1,301 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroLessonHelper.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import loader, utils
|
||||
|
||||
# чтоб вы понимали какие формулы "скрываются" за ссылками
|
||||
# геометрия
|
||||
skvadrata = "https://siasky.net/AABnq3U_b4CxYkVjVh87jE3mau4SjnKntiU0782cRsx3NA"
|
||||
spryamougolnik = "https://siasky.net/CAAgSZbTSdM8UeCgfnDZVYhXujqSLOcPSW81dSQME_j0JQ"
|
||||
sparallelogram = "https://siasky.net/IADZ9EjuHlGu60fHS1HvOo0dApOlx4T93dA0zXiS4DCwcA"
|
||||
streugolnik = "https://siasky.net/EAAwSn4Xwii1dNtYF_CLGV1udyFWPdG1whoibXQ5WpEL9w"
|
||||
spryamougotreugolnik = "https://siasky.net/KADH3gN4f1REnLL5L4WLSXhdA-CbIcWGYn1ODKGHMsm91w"
|
||||
pkrug = "https://siasky.net/KADidC2s2cIBNW5p6GbjW7vRIdFrIbgJpHOkOugSgT6kVw"
|
||||
ppryamougol = "https://siasky.net/KABSyyC1Axb2EMDzf_xlmYXNUSh4MROAEz8ii38PxSO_uQ"
|
||||
ptrapecia = "https://siasky.net/KACwTXDBUpMqzrpqKzL8dXdyZJqDmmG2E-kFZ4fLAYSTqA"
|
||||
promb = "https://siasky.net/KABxZSMP9XVVIatBWqBINTMNiogEk4JW7jW3c5RG-23i3A"
|
||||
trigonmetrfunctions = "https://siasky.net/IAAXyaHWrUGzq2TZWUk5ATzlyT_YCkS2G1trn8mMN0V3NQ"
|
||||
cosandsin = "https://siasky.net/GAByXi2bfHBIuS5Gp0oY5su4t-aRJzCwQOUGgONRavi5PA"
|
||||
grade11 = "https://siasky.net/zADEX_GSzVU0QsHHzfraIGbq_HoeNOhXtU9HmKDf2r97wQ"
|
||||
trigontojdestvo = "https://siasky.net/NACOJn-CdHgWityIyCOu5vjnOz5VNYdgw3b8Nm6qhPSUHQ"
|
||||
ninegrade9 = "https://siasky.net/TAAoqT4XPiUYCJBJzvLp0zlcO3piJgoIcZ2u4u7petdVFA"
|
||||
teorematarkovskogo = "https://siasky.net/XABTwgCZpcQm2YimIwSWi7cMgHYUXBCKfB7uKEgQvvM0Bg"
|
||||
teoremabelogo = "https://siasky.net/zABJOodp7aNRPaXdP6ua7gm7MyN1I-cmXyyFC19aYAWU1A"
|
||||
teoremabogomolova = "https://siasky.net/zAB-eonLFG-lupBvdyWopdd2nlF1uqY4eDEhAppKgtcCmA"
|
||||
|
||||
|
||||
# алгебра
|
||||
kvadratniykoren = "https://siasky.net/GABCbrtX3OiRbQDDucHaGaaplFBhYUbebLppdLdojEY5XA"
|
||||
modulechisla = "https://siasky.net/EACFgp7NigsJ3e-xi99PRnX3_mqfY9rLHM6ZQdEzh46u2g"
|
||||
logarifmhuev = "https://siasky.net/GAAvsMBOtQAXAumnLK8jv1VlWD8vucA7PEBqJirS9NstFg"
|
||||
nmnojiteley = "https://siasky.net/IABN5_zf1U63V8ECsEVtF74QmekGv-XVQmnSyc4gaxUGMw"
|
||||
naturpokazatstepen = "https://siasky.net/BADMhyN4iuLrsJVG_g9J6d-n7rIsgEz0WxWEXZw4A5xNmA"
|
||||
chleni = "https://siasky.net/VACH8Jf2S_13l7r_IcdFPbe21RB7sw9c_ilYBW2CGoZ2sA"
|
||||
skobkiopen = "https://siasky.net/DABKW6spjCK2NyMZ_uGF_r95AfHo_Qp5lStwJv_7RapTHQ"
|
||||
sokrumnoj = "https://siasky.net/bAD0FecwgEqcB5BEVpLDB61sP03SDLOyQp1c1VfS1U4MCQ"
|
||||
razlojeniemnojochlena = "https://siasky.net/ZADivN0aYnZLj5kGWi_zfUUd3GgRcw_SFsQA7Z5FI8Tupw"
|
||||
pifagoravatablica = "https://siasky.net/RADrCFxTNBWiwFnKsmM7ZkoHNwVD00dIJLlVA8vS3cHYPA"
|
||||
tablicaumnojenialol = "https://siasky.net/RAATbPvyU9CkjHZbzjizhuSan6nSB0dTpEr48fAIiunEpQ"
|
||||
subfactorial = "https://siasky.net/AACA3CnnFKRl3UVQEXc5tvLdqXHwY9vFNgGWZtvm0lirpA"
|
||||
|
||||
# русский язык (пока маловато)
|
||||
newithpolniikratkipril = "https://siasky.net/ZABLtZReoShkUzRQw4WR66JO0sJRjqHWGzrS3lxol6xu9g"
|
||||
slitnanddeficenapispril = "https://siasky.net/jACJ1PRXCU3w2qyu_TwR5E7Zfz4RHmitqaiGJdRFgFw_KQ"
|
||||
consonantinprichast = "https://siasky.net/VACAvcyCKLNS-4wvszVkQxsS4N33x7HvJWC3mf816EzyJw"
|
||||
ayavprichastotglagolovatyat = "https://siasky.net/RACEYa_CzvB-NQR2rtBZW2QlkL6BRF9CnmBZMLj0NwN56w"
|
||||
eieyovprichastiyax = "https://siasky.net/RACEYa_CzvB-NQR2rtBZW2QlkL6BRF9CnmBZMLj0NwN56w"
|
||||
ninnvsuffpolnixstradat = "https://siasky.net/VABf4V4B8DcGKUzXfmF5OBfB-zd4dO4_EQAmF-oU8Zg53g"
|
||||
newithglagol = "https://siasky.net/TAA4TgkaRvPtbe5z1vwoX3ox5mPpzfQouFXGiSUC2bowvw"
|
||||
nvsuffkratkixstradatprich = "https://siasky.net/LACaIqH5llLiz2VwUsw2SmlDqbL746B_7HmCsjgeidFrJw"
|
||||
|
||||
# физика гдз по физике перышкин 8 класс (potom eshe dobavly)
|
||||
kolvoteploti = "https://siasky.net/BAA3xTqPl5qtN5DUSolZX-PVA0QB6qnNYTtnP6lxCBRm6g"
|
||||
teplotilol = "https://siasky.net/FAAXFoK7AL0QtaY7KHggM7qwNCuZooOu_xkPupoLYm3iHA"
|
||||
electronapryajandsilatoka = "https://siasky.net/OACjpGcIYMYVvk76fUWR_oIRsLoeiqMkz0pPOeMXM8rXoQ"
|
||||
soprotyavlenieprovodnika = "https://siasky.net/IABGbvljXqNVd72u8KUCgQSxVy7eOWWtMzpopFtX3bHMBQ"
|
||||
zakonoma = "https://siasky.net/IAD1oAhP2_O8qbS5IsNrCluawjIskGseNaFJiql4nuiBcA"
|
||||
|
||||
|
||||
@loader.tds
|
||||
class LessonHelper(loader.Module):
|
||||
"""Ваш личный репетитор!"""
|
||||
strings = {"name": "LessonHelper"}
|
||||
|
||||
@loader.command()
|
||||
async def mathformcmd(self, message):
|
||||
"<формула/list> - базовые формулы по алгебре и геометрии.\n\nЧтобы посмотреть список формул и теорем введите:\n.mathform list"
|
||||
args = utils.get_args_raw(message)
|
||||
if not args:
|
||||
await utils.answer(message, "<i>Введите точное название формулы/правила/теоремы или же проверьте правильность написание.</i>\n<code>.mathform list</code> <b>чтобы посмотреть список формул.</b>")
|
||||
else:
|
||||
await utils.answer(message, '<b>Ищу...</b>')
|
||||
text = f"🎫 <b>Кое-что нашел:</b>\n<b><i>{args}</i></b>"
|
||||
if args == "list":
|
||||
await utils.answer(message, "<b><i>Список формул и теорем:</i></b>\n\n<b>Геометрия:</b>\n\nПлощадь квадрата\nПлощадь прямоугольника\nПлощадь параллелограма\nПлощадь треугольника\nПериметр круга\nПериметр прямоугольника\nПериметр трапеции\nПериметр ромба\nТригонометрические функции\nКосинус и синус\nФормулы за 11 класс\nТригонометрическое тождество\nФормулы за 9 Класс\nТеорема Тарковского\nТеорема Белого\nТеорема Богомолова\n\n<b>Алгебра:</b>\n\nКвадратный Корень\nМодуль числа\nЛогарифм\nN множителей\nСвойства степеней с натуральными показателями\nМногочлены и одночлены\nПравило раскрытия скобок\nФормулы сокращенного умножения\nРазложение многочлена\nТаблица Пифагора\nТаблица Умножения\nСубфакториал")
|
||||
elif args == "Площадь квадрата" or args == "площадь квадрата" or args == "площадь Квадрата" or args == "gkjoflm rdflhfnf":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, skvadrata, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Площадь прямоугольника" or args == "S прямоугольника" or args == "gkjoflm ghzvjeujkmybrf" or args == "Gkjoflm ghzvjeukmybrf" or args == "площадь прямоугольника" or args == "кто это читает лошпед" or args == "ПЛОЩАДЬ ПРЯМОУГОЛЬНИКА":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, spryamougolnik, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Площадь параллелограма" or args == "площадь параллелограма" or args == "Площадь паралеллограма" or args == "площадь паралеллограма" or args == "ПЛОЩАДЬ ПАРАЛЛЕЛОГРАМА" or args == "Gkjoflm gfhfkktkjuhfvf":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, sparallelogram, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Площадь треугольника" or args == "Gkjoflm nhteujkmybrf" or args == "gkjoflm nhteujkmybrf" or args == "площадь треугольника" or args == "Треугольника площадь" or args == "S треугольника" or args == "s треугольника":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, streugolnik, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Периметр круга" or args == "диаметр круга" or args == "периметр Круга" or args == "Периметр Круга" or args == "ПЕРИМЕТР КРУГА" or args == "Диаметр круга":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, pkrug, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Периметр прямоугольника" or args == "площадь прямоугольника" or args == "геометрия говно" or args == "Площадь Прямоугольника" or args == "ПЛОЩАДЬ ПРЯМОУГОЛЬНИКА" or args == "площадь Прямоугольника" or args == "Площаль ПРЯМОУГОЛЬНИКА":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, ppryamougol, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Периметр трапеции" or args == "периметр трапеции" or args == "ПЕРИМЕТР ТРАПЕЦИИ" or args == "миша сосет член" or args == "P трапеции" or args == "периметр Трапеции" or args == "Периметр ТРАПЕЦИИ":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, ptrapecia, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Периметр ромба" or args == "периметр ромба" or args == "ПЕРИМЕТР РОМБА" or args == "периметр Ромба" or args == "gthbvtnh hjv,f" or args == "@DorotoroMods" or args == "периметр хуйни":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, promb, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Субфакториал" or args == "субфакториал" or args == "!" or args == "субФАКТОРИАЛ" or args == "СУБФАКТОРИАЛ" or args == "восклицательный знак" or args == "ясосучлен":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, subfactorial, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Тригонометрические Функции" or args == "Тригонометрические функции" or args == "тригонометрические функции" or args == "тригонометрические Функции" or args == "ТРИГОНОМЕТРИЧЕСКИЕ функции" or args == "Тригенометрич" or args == "Триган" or args == "кста некст будет обнова эмджвиатекст" or args == "ТРИГОНОМЕТРИЧЕСКИЕ ФУНКЦИИ":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, trigonmetrfunctions, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Синус" or args == "Косинус" or args == "Синус и Косинус" or args == "синус и косинус" or args == "косинус" or args == "синус" or args == "СИНУС" or args == "КОСИНУС" or args == "Косинус и синус" or args == "косинус и синус":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, cosandsin, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Формулы 11 класс" or args == "11 класс" or args == "формулы 11 класс" or args == "формулы 11" or args == "формулы класс 11" or args == "Формулы за 11 класс" or args == "ФОРМУЛЫ ЗА 11 КЛАСС" or args == "формулы за 11 класс" or args == "11 класс епта":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, grade11, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "тригонометрическое тождество" or args == "Тригонометрическое тождество" or args == "тождество" or args == "Тригонометрическое Тождество" or args == "Тождество тригонометрическое" or args == "Тригонометрическое" or args == "тригонометрическое тожд" or args == "триган д" or args == "тригонометрическое Тождество":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, trigontojdestvo, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "9 класс" or args == "Формулы за 9 класс" or args == "формулы 9 класс" or args == "формулы огэ" or args == "формулы за 9 класс" or args == "9 класс формулы" or args == "9 класс формулы геометрия" or args == "9 класс Формулы" or args == "Формулы 9" or args == "Формулы за 9 Класс":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, ninegrade9, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Теорема Тарковского" or args == "тарковский" or args == "теорема тарковского":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, teorematarkovskogo, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Теорема Белого" or args == "белый" or args == "теорема белого":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, teoremabelogo, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Теорема Богомолова" or args == "богомолов" or args == "теорема богомолов":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, teoremabogomolova, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "квадратный корень" or args == "Квадратный корень" or args == "корень" or args == "Корень" or args == "корень квадратный" or args == "√" or args == "Квадратный Корень":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, kvadratniykoren, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Модуль числа" or args == "модуль" or args == "модуль числа" or args == "||" or args == "числовой модуль":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, modulechisla, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "ЛОГАРИФМ" or args == "Логарифм" or args == "логорифм" or args == "ЛОГОРИФМ" or args == "логарифм":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, logarifmhuev, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "множителей" or args == "N множителей" or args == "n" or args == "N" or args == "n множителей" or args == "Множителей":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, nmnojiteley, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "свойства степеней" or args == "Свойства Степеней" or args == "свойства степеней с натуральными показателями" or args == "Свойства степеней с натуральными показателями" or args == "Степени с натуральными показателями" or args == "свойства степеней":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, naturpokazatstepen, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Многочлен" or args == "Одночлен" or args == "Многочлены" or args == "Одночлены" or args == "одночлены" or args == "многочлены" or args == "многочлен" or args == "одночлен" or args == "Многочлены и одночлены" or args == "многочлены и одночлены" or args == "Одночлены и многочлены" or args == "одночлены и многочлены":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, chleni, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Правило открытия скобок" or args == "открытие скобок" or args == "раскрытие скобок" or args == "Открытие скобок" or args == "правило открытия скобок" or args == "правило раскрытия скобок" or args == "Скобки" or args == "скобки" or args == "Открытие скобок" or args == "открытие Скобок" or args == "открытие скобок" or args == "Правило раскрытия скобок" or args == "правило раскрытия скобок":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, skobkiopen, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "формулы сокращенного умножения" or args == "сокращенное умножение" or args == "Сокращенное умножение" or args == "Формула сокращенного умножения" or args == "формула сокращенного умножения" or args == "умножение" or args == "Формула умножения" or args == "формула умножения" or args == "умнажение" or args == "Умнажение" or args == "Формулы сокращенного умножения" or args == "формулы сокращенного умножения":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, sokrumnoj, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Разложение многочлена" or args == "розложение многочлена" or args == "разложение многочлена" or args == "Разложение" or args == "раложение многочлен":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, razlojeniemnojochlena, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Таблица Пифагора" or args == "Таблица пифагора" or args == "таблица пифагора" or args == "таблица Пифагора" or args == "пифагорова таблица" or args == "табло пифагора" or args == "Пифагор" or args == "пифогоровы штаны во все стороны равны" or args == "тоблица пифагора" or args == "Пифагора таблица":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, pifagoravatablica, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Таблица умножения" or args == "таблица умножения" or args == "таблица Умножения" or args == "ТАБЛИЦА УМНОЖЕНИЯ" or args == "Таблица Умножения":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, tablicaumnojenialol, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
else:
|
||||
await utils.answer(message, "<i>Ничего не найдено.\nПроверьте правильность написания названия правила или орфограммы.</i>\n<tg-spoiler>Или же введите .mathform list\nчтобы посмотреть список доступных правил.</tg-spoiler>")
|
||||
|
||||
|
||||
@loader.command()
|
||||
async def physformcmd(self, message):
|
||||
"<формула/list> - базовые формулы по физике.\n\nЧтобы посмотреть список формул и теорем введите:\n.physform list"
|
||||
args = utils.get_args_raw(message)
|
||||
text = f"🎫 <b>Кое-что нашел:</b>\n<b><i>{args}</i></b>"
|
||||
if not args:
|
||||
await utils.answer(message, "<i>Введите точное название формулы/правила/теоремы или же проверьте правильность написание.</i>\n<code>.physform list</code> <b>чтобы посмотреть список формул.</b>")
|
||||
else:
|
||||
await utils.answer(message, '<b>Ищу...</b>')
|
||||
if args == "list":
|
||||
await utils.answer(message, "<b>Физика:</b>\n\nКоличество теплоты при нагревании\nТеплота сгорания\nТеплота плавления\nТеплота парообразования\nСила электрического тока\nЭлектрическое напряжение\nЗакон Ома")
|
||||
elif args == "Закон Ома" or args == "закон ома" or args == "Закон" or args == "закон Ома":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, zakonoma, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Теплота сгорания" or args == "теплота сгорания" or args == "Теплота плавления" or args == "теплота плавления" or args == "Теплота парообразования" or args == "теплота парообразования":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, teplotilol, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Сила электрического тока" or args == "электрический ток" or args == "сила электрического тока" or args == "Электрическое напряжение" or args == "электрическое напряжение":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, tablicaumnojenialol, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Количество теплоты при нагревании" or args == "колво теплоты при нагревании" or args == "теплота при нагревании" or args == "количество теплоты при нагревании":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, kolvoteploti, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
else:
|
||||
await utils.answer(message, "<i>Ничего не найдено.\nПроверьте правильность написания названия правила или орфограммы.</i>\n<tg-spoiler>Или же введите .physform list\nчтобы посмотреть список доступных правил.</tg-spoiler>")
|
||||
|
||||
@loader.command()
|
||||
async def rusformcmd(self, message):
|
||||
"<орфограмма/правило/list> - базовые правила и орфограммы по русскому языку. Будет пополняться.\n\nЧтобы узнать список доступных правил и орфограмм, введите:\n.rusform list"
|
||||
args = utils.get_args_raw(message)
|
||||
text = f"🎫 <b>Кое-что нашел:</b>\n<b><i>{args}</i></b>"
|
||||
if not args:
|
||||
await utils.answer(message, "<i>Введите точное название формулы/правила/теоремы или же проверьте правильность написание.</i>\n<code>.rusform list</code> <b>чтобы посмотреть список формул.</b>")
|
||||
if args == "list":
|
||||
await utils.answer(message, "<b>Русский язык:</b>\n\n'НЕ' с полными и краткими прилагательными\nГласные в причастиях\nА-Я в причастиях образованных от глаголов на АТЬ-ЯТЬ\n'НЕ' с глаголом\nН в суффиксах кратких страдательных причастий")
|
||||
return
|
||||
else:
|
||||
await utils.answer(message, '<b>Ищу...</b>')
|
||||
if args == "НЕ с полными и краткими прилагательными" or args == "не с полными и краткими прилагательными" or args == "не с полными и краткими" or args == "не с краткими и полными прилагательными" or args == "НЕ с краткими и полными прилагательными" or args == "'НЕ' с полными и краткими прилагательными":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, newithpolniikratkipril, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Гласные в причастиях" or args == "гласные в причастиях" or args == "Гласные в Причастиях" or args == "ГЛАСНЫЕ В ПРИЧАСТИЯХ" or args == "Гластные в причастиях":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, consonantinprichast, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "А-Я в причастиях" or args == "А-я в причастиях" or args == "а-я в причастиях" or args == "АЯ в причастиях" or args == "ая в причастиях" or args == "А-Я в причастиях образованных от глаголов на АТЬ-ЯТЬ":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, ayavprichastotglagolovatyat, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "не с глаголом" or args == "НЕ с глаголом" or args == "" or args == "'НЕ' с глаголом" or args == "'не' с глаголом" or args == "НЕ С ГЛАГОЛОМ":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, newithglagol, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
elif args == "Н в суффиксах кратких страдательных причастий" or args == "н в суффиксах причастий" or args == "н в суффиксах кратких страдательных причастий" or args == "н в суффиксах причастий" or args == "Н в суффиксах страдательных причастий" or args == "Н В СУФФИКСАХ КРАТКИХ СТРАДАТЕЛЬНЫХ ПРИЧАСТИЙ":
|
||||
if message.out:
|
||||
await message.delete()
|
||||
photo = await self._client.send_file(message.to_id, nvsuffkratkixstradatprich, caption=text)
|
||||
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
|
||||
else:
|
||||
await utils.answer(message, "<i>Ничего не найдено.\nПроверьте правильность написания названия правила или орфограммы.</i>\n<tg-spoiler>Или же введите .rusform list\nчтобы посмотреть список доступных правил.</tg-spoiler>")
|
||||
45
dorotorothequickend/DorotoroModules/PasswordGenerator.py
Normal file
@@ -0,0 +1,45 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroPasswordGenerator.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import utils, loader
|
||||
import random
|
||||
|
||||
# password letters
|
||||
eng_caps = "QWERTYUOIPASDFGHJKLZXCVBNMQWERTYUOIPASDFGHJKLZXCVBNMQWERTYUOIPASDFGHJKLZXCVBNMQWERTYUOIPASDFGHJKLZXCVBNM"
|
||||
eng_noncaps = "qwertyouipasdfghjklzxcvbnmqwertyouipasdfghjklzxcvbnmqwertyouipasdfghjklzxcvbnmqwertyouipasdfghjklzxcvbnmqwertyouipasdfghjklzxcvbnm"
|
||||
cifri = "123456789123456789123456789123456789123456789"
|
||||
special_letters = "~[]{};\:/*^$#~[]{};\:/*^$#~[]{};\:/*^$#~[]{};\:/*^$#~[]{};\:/*^$#"
|
||||
|
||||
@loader.tds
|
||||
class passwordgeneratormod(loader.Module):
|
||||
"""Ваш персональный генератор паролей."""
|
||||
strings = {"name": "PasswordGenerator"}
|
||||
|
||||
@loader.command()
|
||||
async def gnrtpass(self, message):
|
||||
"<кол-во символов> - генерировать пароль"
|
||||
args = utils.get_args_raw(message)
|
||||
# закомментировал нижние строки потому что if not args какого то хера не работают с пастой (первые 14 строк), если разберусь из-за чего это то пофикшу в некст апдейте
|
||||
# if not args:
|
||||
# await utils.answer(message, "<b>Что-то пошло не так.</b>")
|
||||
arg1 = args.split(" ")[0]
|
||||
kolvobukav = int(arg1)
|
||||
usefor = eng_caps + eng_noncaps + cifri + special_letters
|
||||
text = "<emoji document_id=5379894627883032944>➡️</emoji> <b>Я сгенерировал пароль с </b><code>{}</code> символами:\n<code>{}</code>"
|
||||
if kolvobukav > 100:
|
||||
kolvobukav = 100
|
||||
text = "<emoji document_id=5379894627883032944>➡️</emoji> <b>Так как вы выбрали слишком большое количество символов, я сгенерировал пароль со </b><code>{}</code> символами:\n<code>{}</code>"
|
||||
psw = "".join(random.sample(usefor, kolvobukav))
|
||||
await utils.answer(message, text.format(kolvobukav, psw))
|
||||
2
dorotorothequickend/DorotoroModules/README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# Links
|
||||
https://t.me/dorotoromods
|
||||
120
dorotorothequickend/DorotoroModules/RandomHuman.py
Normal file
@@ -0,0 +1,120 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# ---------------------------------------------------------------------------------
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroGenerateHuman.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import loader, utils
|
||||
from telethon.tl.types import Message
|
||||
from ..utils import answer
|
||||
|
||||
@loader.tds
|
||||
class RandomHuman(loader.Module):
|
||||
"""Отправляет рандомное имя, фамилию, дату рождения, email, пароль и телефон."""
|
||||
strings = {'name': 'GenerateHuman'}
|
||||
|
||||
@loader.command()
|
||||
async def generatehumancmd(self, message: Message):
|
||||
"- сгенерировать человека."
|
||||
msg = await answer(message, '<b><i>Подбираю человека...</i></b>')
|
||||
async with self._client.conversation("@randomdatatools_bot") as conv:
|
||||
popo4ka = await conv.send_message("👤 Пользователь")
|
||||
r = await conv.get_response()
|
||||
await popo4ka.delete()
|
||||
await r.delete()
|
||||
dsopthx = r.text.split('\n')
|
||||
dsopthx.remove('👤 Пользователь')
|
||||
dsopthx.remove('<i>(Нажмите на значение, чтобы скопировать его)</i>')
|
||||
chel = '\n'.join(dsopthx)
|
||||
text = f"<b>Человек сгенерирован. Кое-что про него:\n\n{chel}\n\n<tg-spoiler><i>RandomHuman</i></tg-spoiler></b>"
|
||||
await answer(msg, text)
|
||||
|
||||
@loader.command()
|
||||
async def generatepasscmd(self, message: Message):
|
||||
"- сгенерировать паспорт."
|
||||
msg = await answer(message, "<b><i>Ищу паспорта...</i></b>")
|
||||
async with self._client.conversation("@randomdatatools_bot") as conv:
|
||||
jdun = await conv.send_message("🛂 Паспорт")
|
||||
r = await conv.get_response()
|
||||
await jdun.delete()
|
||||
await r.delete()
|
||||
udalit = r.text.split('\n')
|
||||
udalit.remove("🛂 Паспорт")
|
||||
udalit.remove("<i>(Нажмите на значение, чтобы скопировать его)</i>")
|
||||
papa = '\n'.join(udalit)
|
||||
text = f"<b>Паспорт сгенерирован. Вот что я нарыл:\n\n{papa}\n\n<tg-spoiler><i>RandomHuman</i></tg-spoiler></b>"
|
||||
await answer(msg, text)
|
||||
|
||||
@loader.command()
|
||||
async def generateschlcmd(self, message: Message):
|
||||
"- сгенерировать инф-цию об образовании."
|
||||
msg = await answer(message, "<b><i>Пробиваю документы...</i></b>")
|
||||
async with self._client.conversation("@randomdatatools_bot") as conv:
|
||||
jdun = await conv.send_message("🏫 Образование")
|
||||
r = await conv.get_response()
|
||||
await jdun.delete()
|
||||
await r.delete()
|
||||
udalit = r.text.split('\n')
|
||||
udalit.remove("🏫 Образование")
|
||||
udalit.remove("<i>(Нажмите на значение, чтобы скопировать его)</i>")
|
||||
papa = '\n'.join(udalit)
|
||||
text = f"<b>Образование сгенерировано. Вот что я нарыл:\n\n{papa}\n\n<tg-spoiler><i>RandomHuman</i></tg-spoiler></b>"
|
||||
await answer(msg, text)
|
||||
|
||||
@loader.command()
|
||||
async def generatedocscmd(self, message: Message):
|
||||
"- сгенерировать документы."
|
||||
msg = await answer(message, "<b><i>Пробиваю документы...</i></b>")
|
||||
async with self._client.conversation("@randomdatatools_bot") as conv:
|
||||
jdun = await conv.send_message("📄 Документы")
|
||||
r = await conv.get_response()
|
||||
await jdun.delete()
|
||||
await r.delete()
|
||||
udalit = r.text.split('\n')
|
||||
udalit.remove("📄 Документы")
|
||||
udalit.remove("<i>(Нажмите на значение, чтобы скопировать его)</i>")
|
||||
papa = '\n'.join(udalit)
|
||||
text = f"<b>Документы сгенерированы. Вот что я нарыл:\n\n{papa}\n\n<tg-spoiler><i>RandomHuman</i></tg-spoiler></b>"
|
||||
await answer(msg, text)
|
||||
|
||||
@loader.command()
|
||||
async def generateauto(self, message: Message):
|
||||
"- сгенерировать инф-цию об авто."
|
||||
msg = await answer(message, "<b><i>Пробиваю номера авто...</i></b>")
|
||||
async with self._client.conversation("@randomdatatools_bot") as conv:
|
||||
jdun = await conv.send_message("🚙 Автомобиль")
|
||||
r = await conv.get_response()
|
||||
await jdun.delete()
|
||||
await r.delete()
|
||||
udalit = r.text.split('\n')
|
||||
udalit.remove("🚙 Автомобиль")
|
||||
udalit.remove("<i>(Нажмите на значение, чтобы скопировать его)</i>")
|
||||
papa = '\n'.join(udalit)
|
||||
text = f"<b>Автомобиль сгенерирован. Вот что я нарыл:\n\n{papa}\n\n<tg-spoiler><i>RandomHuman</i></tg-spoiler></b>"
|
||||
await answer(msg, text)
|
||||
|
||||
@loader.command()
|
||||
async def generatebank(self, message: Message):
|
||||
"- сгенерировать платежную инф-цию."
|
||||
msg = await answer(message, "<b><i>Пробиваю банковские карты...</i></b>")
|
||||
async with self._client.conversation("@randomdatatools_bot") as conv:
|
||||
jdun = await conv.send_message("🏦 Банк")
|
||||
r = await conv.get_response()
|
||||
await jdun.delete()
|
||||
await r.delete()
|
||||
udalit = r.text.split('\n')
|
||||
udalit.remove("🏦 Платежная информация")
|
||||
udalit.remove("<i>(Нажмите на значение, чтобы скопировать его)</i>")
|
||||
papa = '\n'.join(udalit)
|
||||
text = f"<b>Платежная инф-ция сгенерирована. Вот что я нарыл:\n\n{papa}\n\n<tg-spoiler><i>RandomHuman</i></tg-spoiler></b>"
|
||||
await answer(msg, text)
|
||||
33
dorotorothequickend/DorotoroModules/RandomJumoreska.py
Normal file
97
dorotorothequickend/DorotoroModules/SimpleRolePlay.py
Normal file
@@ -0,0 +1,97 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/Dor%D0%BEtoroSimpleRoleplay.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import loader, utils
|
||||
import random
|
||||
|
||||
@loader.tds
|
||||
class SimpleRolePlay(loader.Module):
|
||||
"""Базовые команды для текстовых ролевых игр."""
|
||||
|
||||
strings = {
|
||||
"name": "Simple RolePlay",
|
||||
"symbol": "Символ который используется в конце и в начале /me. (например, звезда)",
|
||||
"not_args": "<emoji document_id=6325733670132909953>😰</emoji> <b>Вы неправильно вписали действие или же не указали его вовсе. Попробуйте еще раз.</b>",
|
||||
}
|
||||
|
||||
def __init__(self):
|
||||
self.config = loader.ModuleConfig(
|
||||
loader.ConfigValue(
|
||||
"symbol",
|
||||
None,
|
||||
doc=lambda: self.strings("symbol")
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
@loader.command()
|
||||
async def me(self, message):
|
||||
"<действие> - сообщает об исполнителе команды от первого лица. Пример использования: .me открыл браузер. Также есть доп. настройка в .config"
|
||||
args = utils.get_args_raw(message)
|
||||
if not args:
|
||||
return await utils.answer(message, self.strings("not_args"))
|
||||
|
||||
me = self.client.hikka_me
|
||||
nickname = f'{me.first_name} {me.last_name if me.last_name else ""}'
|
||||
|
||||
cfg = self.config["symbol"]
|
||||
|
||||
if cfg:
|
||||
await utils.answer(message, f"<emoji document_id=5785175271011259591>🌀</emoji> <b>{cfg}{nickname}</b> <i>{args}</i><b>{cfg}</b>")
|
||||
else:
|
||||
await utils.answer(message, f"<emoji document_id=5785175271011259591>🌀</emoji> <b>{nickname}</b> <i>{args}</i><b>")
|
||||
|
||||
@loader.command()
|
||||
async def do(self, message):
|
||||
"<действие> - предназначена для описания событий и подробностей игрового мира в настоящем времени, не относящихся конкретно к определённым людям. Пример использования: .do В кармане Дороторо лежит пистолет и пара гранат."
|
||||
args = utils.get_args_raw(message)
|
||||
if not args:
|
||||
await utils.answer(message, self.strings("not_args"))
|
||||
|
||||
me = self.client.hikka_me
|
||||
nickname = f'{me.first_name} {me.last_name if me.last_name else ""}'
|
||||
|
||||
await utils.answer(message, f"<emoji document_id=5785175271011259591>🌀</emoji> <i>{args}</i> - | <b>{nickname}</b>")
|
||||
|
||||
@loader.command()
|
||||
async def otry(self, message):
|
||||
"<действие> - предназначена для решения спорных и неоднозначных ситуаций, где события могут развиваться по нескольким сценариям, либо если требуется случайная вероятность удачи того или иного действия. Пример использования: .try завёл машину."
|
||||
args = utils.get_args_raw(message)
|
||||
if not args:
|
||||
await utils.answer(message, self.strings("not_args"))
|
||||
|
||||
me = self.client.hikka_me
|
||||
nickname = f'{me.first_name} {me.last_name if me.last_name else ""}'
|
||||
|
||||
tryr = random.choice([
|
||||
"<b><emoji document_id=6334758581832779720>✅</emoji> Удачно </b>",
|
||||
"<b><emoji document_id=6334578700012488415>❌</emoji> Неудачно </b>"
|
||||
])
|
||||
|
||||
await utils.answer(message, f"<emoji document_id=5785175271011259591>🌀</emoji> <b>{nickname}</b> <i>{args}</i> - | {tryr}")
|
||||
|
||||
@loader.command()
|
||||
async def todo(self, message):
|
||||
"<действие> <фраза>- совмещает описание окружающей обстановки, действие от 3го лица (см. описание .do) с одновременной фразой своего персонажа. Пример использования: .todo Спокойной ночи. засыпая"
|
||||
args = utils.get_args(message)
|
||||
if not args:
|
||||
await utils.answer(message, self.strings("not_args"))
|
||||
arg1, arg2 = args[0], " ".join(args[1:])
|
||||
|
||||
me = self.client.hikka_me
|
||||
nickname = f'{me.first_name} {me.last_name if me.last_name else ""}'
|
||||
|
||||
await utils.answer(message, f"<emoji document_id=5785175271011259591>🌀</emoji> <i>'{arg1}', - сказал </i><b>{nickname}</b>, <i>{arg2}.</i>")
|
||||
|
||||
36
dorotorothequickend/DorotoroModules/WhataWord_.py
Normal file
@@ -0,0 +1,36 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# Copyright 2022 t.me/Dorotoro
|
||||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||||
#
|
||||
# ---------------------------------------------------------------------------------
|
||||
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroWhataWord.png
|
||||
# meta developer: @DorotoroMods
|
||||
|
||||
from .. import utils, loader
|
||||
|
||||
@loader.tds
|
||||
class whataword(loader.Module):
|
||||
"""Ищет определение слова."""
|
||||
strings = {"name": "What a Word?"}
|
||||
|
||||
@loader.command()
|
||||
async def wawcmd(self, message):
|
||||
"<слово> - ищет определение вашего слова."
|
||||
args = utils.get_args_raw(message)
|
||||
ktoetochitaetlox = await utils.answer(message, '<b><i>Открываю свой словарик...</i></b>')
|
||||
if not args: return
|
||||
async with self._client.conversation("@definerBot") as conv:
|
||||
perdunmsg = await conv.send_message(args)
|
||||
jdun = await conv.get_response()
|
||||
await perdunmsg.delete()
|
||||
await jdun.delete()
|
||||
text = f"<b>Я нашел кое-что в словаре:</b>\n{jdun.text}"
|
||||
await utils.answer(ktoetochitaetlox, text)
|
||||
BIN
dorotorothequickend/DorotoroModules/banners/Dorotoro01code.png
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
BIN
dorotorothequickend/DorotoroModules/banners/DorotoroAutoEdit.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
BIN
dorotorothequickend/DorotoroModules/banners/DorotoroSimpleMe.png
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
19
dorotorothequickend/DorotoroModules/full.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
CringePhrases
|
||||
Dota2RandomHero
|
||||
CheckSpamBan
|
||||
GloryTo
|
||||
InlineTTS
|
||||
FoodRecipe
|
||||
DoYouKnowAlphabet
|
||||
AccountDeleter
|
||||
RandomJumoreska
|
||||
EMJviaTEXT
|
||||
AutoEdit
|
||||
RandomHuman
|
||||
WhataWord?
|
||||
FkinRickRoll
|
||||
LessonHelper
|
||||
SimpleRolePlay
|
||||
01code
|
||||
PasswordGenerator
|
||||
ExcuseGenerator
|
||||