HOT_FIX_3 add blacklist

fix db init
This commit is contained in:
Andrey
2024-07-16 21:55:22 +03:00
parent 09a071c014
commit 3a30edc1ab
12 changed files with 96 additions and 69 deletions

View File

@@ -3,9 +3,11 @@ from datetime import datetime, timedelta
from aiogram import types
from aiogram.types import InputMediaPhoto
from database.db import BotDB
from helper_bot.utils.base_dependency_factory import BaseDependencyFactory
BotDB = BotDB('database/tg-bot-database')
bdf = BaseDependencyFactory()
BotDB = bdf.get_db()
def get_first_name(message: types.Message) -> str: