Some little changes

This commit is contained in:
Pyhtagodzilla 2025-07-31 00:51:36 +08:00
parent aa824d3257
commit dd880b49fb
3 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ from dotenv import load_dotenv
from ncatbot.core import BotClient, GroupMessage, PrivateMessage
from ncatbot.utils import get_log
load_dotenv(dotenv_path=r"../.env")
load_dotenv(dotenv_path=r".env")
bot = BotClient()
_log = get_log()

View File

@ -4,7 +4,7 @@ from sqlmodel import Field, SQLModel, create_engine
from dotenv import load_dotenv
from pathlib import Path
load_dotenv("../../../.env")
load_dotenv("../../.env")
class ConnectDatabase(SQLModel, table=True):