From 0d0967001a8aefd4039fee4d17dafc6158f05752 Mon Sep 17 00:00:00 2001 From: q Date: Sun, 22 Feb 2026 21:02:36 +0300 Subject: [PATCH] fix old staff --- main.py | 21 +-------------------- requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/main.py b/main.py index d8b723f..e25ef15 100644 --- a/main.py +++ b/main.py @@ -787,25 +787,6 @@ def main(): async def on_startup(bot: Bot): # Выставляем меню команд в интерфейсе Telegram. try: -<<<<<<< HEAD - await bot.set_my_commands( - [ - BotCommand(command="start", description="Приветствие"), - BotCommand(command="help", description="Подсказки по командам"), - BotCommand(command="maket", description="Вписать текст в макет 1"), - BotCommand(command="gen_mem", description="Мем из фото (ответом)"), - BotCommand(command="break", description="Сколько минут до перекура"), - BotCommand(command="size", description="хуй"), - BotCommand(command="penis", description="миниигра 1 раз в 24ч"), - BotCommand(command="top_penis", description="топ по длине"), - BotCommand(command="prices", description="цены x-server"), - BotCommand(command="fetch", description="цены (новый источник)"), - BotCommand(command="zvetok", description="Цветянский бля"), - BotCommand(command="talk", description="Побазарить"), - BotCommand(command="svodka", description="СВО: итоги"), - - ] -======= commands = [ BotCommand(command="start", description="Приветствие"), BotCommand(command="help", description="Подсказки по командам"), @@ -819,13 +800,13 @@ def main(): BotCommand(command="fetch", description="цены (новый источник)"), BotCommand(command="zvetok", description="Цветянский бля"), BotCommand(command="talk", description="Побазарить"), + BotCommand(command="svodka", description="СВО: итоги"), ] # Явно задаём команды для default/private/group, чтобы меню через "/" появлялось стабильно. scopes = ( BotCommandScopeDefault(), BotCommandScopeAllPrivateChats(), BotCommandScopeAllGroupChats(), ->>>>>>> Zhirik1337-wpng ) for scope in scopes: await bot.set_my_commands(commands, scope=scope) diff --git a/requirements.txt b/requirements.txt index 6a7667f..816b45e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,5 @@ aiogram>=3.4.1 pillow>=10.3.0 requests>=2.31.0 beautifulsoup4 -lxml \ No newline at end of file +lxml +pysqlite3-binary>=0.5.3