Revert "Бот + прокси"

This reverts commit 5dc9c8f0d1.
This commit is contained in:
2026-06-04 16:00:35 +03:00
parent 5dc9c8f0d1
commit 63044be106
11 changed files with 19 additions and 129 deletions

View File

@@ -5,7 +5,6 @@ import os
import re
from typing import Optional
from aiogram import Bot
from colorama import Fore
from config import config
@@ -41,11 +40,9 @@ def format_date(date: datetime) -> datetime:
def parse_task_id(tag: str) -> int:
return int(re.search(r"^(?P<task_id>\d{5})", tag).group("task_id"))
async def db_update(bot: Bot = None, user_id: int = None):
def db_update():
from config import clock, db, red
logger.info(Fore.YELLOW + "Обновление базы данных..." + Fore.RESET)
if bot:
await bot.send_message(user_id, "Обновление базы данных...")
try:
# Обновление Тегов