migrate to docker
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user