migrate to docker

This commit is contained in:
hhh
2025-01-21 00:24:19 +02:00
parent e4d38868b7
commit 14b183fe3a
19 changed files with 175 additions and 114 deletions

View File

@@ -3,11 +3,11 @@ from rich.console import Console
from bot.modules.fsm import InDbStorage
from .utils.config import config
from .utils import env
bot = Bot(token=config.telegram.bot_token)
bot = Bot(token=env.BOT_TOKEN)
dp = Dispatcher(storage=InDbStorage())
console = Console()
__all__ = ["bot", "dp", "config", "console"]
__all__ = ["bot", "dp", "console"]