Compare commits

..

No commits in common. "4ecc25239e3f567bf69bdd7fc79f22c8fa134a03" and "93d8c2187a67ed10665a22deec62d4f39cb61ea8" have entirely different histories.

View file

@ -7,20 +7,6 @@ logger = logging.getLogger(__name__)
async def handle_uwu_cmd(message: types.Message): async def handle_uwu_cmd(message: types.Message):
args = message.text.split(maxsplit=1) args = message.text.split(maxsplit=1)
if len(args) > 1 and args[1].strip() == "-h":
help_msg = (
"🐈 <b>Справка по тегам e621:</b>\n\n"
"Перечислите любые теги через пробел после команды.\n"
"• <b>rating</b>: <code>rating:safe</code> (безопасные), <code>rating:questionable</code>, <code>rating:explicit</code> (NSFW)\n"
"• <b>score</b>: <code>score:>500</code> (искать популярные посты с рейтингом больше 500)\n"
"• Исключить тег: поставьте минус, например <code>-fox</code>\n\n"
"<i>Пример:</i> <code>/uwu wolf -rating:explicit score:>100</code>\n"
"<i>По умолчанию:</i> <code>rating:safe score:>500</code>"
)
await message.reply(help_msg, parse_mode="HTML")
return
tags = "rating:safe score:>500" tags = "rating:safe score:>500"
if len(args) > 1: if len(args) > 1:
tags = args[1].strip() tags = args[1].strip()