13 lines
275 B
Python
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"
|
|
)
|