feat: auto remove old skim user
This commit is contained in:
@ -1,10 +1,12 @@
|
||||
from motor.motor_asyncio import AsyncIOMotorClient
|
||||
from dotenv import load_dotenv
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
load_dotenv()
|
||||
env_path = Path(__file__).parent.parent / ".env"
|
||||
load_dotenv(dotenv_path=env_path)
|
||||
|
||||
MONGO_URI = os.getenv("MONGO_URI", "mongodb://localhost:32768")
|
||||
MONGO_URI = os.getenv("MONGO_URI")
|
||||
DB_NAME = "minecraft_auth"
|
||||
|
||||
client = AsyncIOMotorClient(MONGO_URI)
|
||||
|
Reference in New Issue
Block a user