init
This commit is contained in:
12
settings.py
Normal file
12
settings.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
model_config = SettingsConfigDict(env_file='.env', env_file_encoding='utf-8')
|
||||
|
||||
telegram_bot_token: str
|
||||
telegram_chat_id: str
|
||||
telegram_message_thread_id: int
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user