Initial Commit
This commit is contained in:
12
config.py
Normal file
12
config.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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"
|
||||
)
|
||||
Reference in New Issue
Block a user