Some little changes
This commit is contained in:
@@ -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
@@ -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()
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user