fix bot config
This commit is contained in:
@@ -74,8 +74,6 @@ class Config(BaseSettings):
|
||||
self._check_default_secret("SECRET_KEY", self.SECRET_KEY)
|
||||
self._check_default_secret("DB_PASSWORD", self.DB_PASSWORD)
|
||||
self._check_default_secret("TELEGRAM_BOT_TOKEN", self.TELEGRAM_BOT_TOKEN)
|
||||
if self.USE_NGROK:
|
||||
self._check_default_secret("NGROK_AUTH_TOKEN", self.NGROK_AUTH_TOKEN)
|
||||
|
||||
return self
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ from aiogram.utils.i18n import I18n
|
||||
from fastapi import FastAPI
|
||||
from fastapi.applications import Lifespan, AppType
|
||||
from fastapi.datastructures import State
|
||||
from secrets import token_hex
|
||||
from logging import getLogger
|
||||
|
||||
from quickbot.utils.main import clear_state
|
||||
|
||||
Reference in New Issue
Block a user