Files
shveitechbot/config.py
2026-02-01 12:29:33 +07:00

13 lines
275 B
Python

import os
import logging
from dotenv import load_dotenv
load_dotenv(override=True)
logger = logging.getLogger(__name__)
BOT_TOKEN = os.getenv("BOT_TOKEN", "")
POSTGRES_URL = os.getenv(
"POSTGRES_URL", "postgresql+asyncpg://postgres:postgres@localhost:5432/postgres"
)