first com2
This commit is contained in:
@@ -6,10 +6,13 @@ from dotenv import load_dotenv
|
||||
load_dotenv(override=True)
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
class settings(BaseSettings):
|
||||
bot_token: str = Field(alias="BOT_TOKEN")
|
||||
postgres_url: str = Field(alias="POSTGRES_URL")
|
||||
proxy: Optional[str] = Field(None, alias="PROXY")
|
||||
admin_group_id: int = Field(alias="ADMIN_GROUP_ID")
|
||||
remnawave_url: str = Field(alias="REMNAWAVE_URL")
|
||||
remnawave_token: str = Field(alias="REMNAWAVE_TOKEN")
|
||||
|
||||
|
||||
settings = Settings() # type: ignore
|
||||
settings = settings() # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user