added config.port

This commit is contained in:
Alexey Sokolov
2022-02-10 16:27:27 +03:00
parent 4739b8963a
commit 125198a0e2
4 changed files with 14 additions and 3 deletions

View File

@@ -7,3 +7,6 @@ from config import config
telegram_bot = Bot(token=config.teletoken)
telegram_dispatcher = Dispatcher(telegram_bot)
telegram_dispatcher.middleware.setup(LoggingMiddleware())
__all__ = ('telegram_bot', telegram_dispatcher)