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
+6
View File
@@ -0,0 +1,6 @@
BOT_ACCOUNT="Your-bot-account"
ROOT_ACCOUNT="Your-root-account"
WS_URI="ws://Your-uri:port"
WS_TOKEN="Your-token"
WEBUI_URI="http://Your-uri:port"
WEBUI_TOKEN="Your-token
+1 -1
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()
+1 -1
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):