Add [bot start]: add bot_token to start_bot & configure logger

This commit is contained in:
Kirill Samoylenkov 2025-10-19 02:11:54 +05:00
parent a8d1104bbd
commit 1de731d7bc
2 changed files with 10 additions and 0 deletions

View file

@ -1,11 +1,13 @@
__all__ = ["start_bot"]
from loguru import logger
from redis.asyncio.client import Redis
from sqlalchemy.ext.asyncio import AsyncSession
async def start_bot(
bot_token: str,
redis_client: Redis,
database_session: AsyncSession,
) -> None: ...