Merge pull request #18 from HYY1116/main

chore:修改toml配置文件位置,增加默认配置文件,修改docs
This commit is contained in:
SengokuCola
2025-03-01 21:16:55 +08:00
committed by GitHub
9 changed files with 47 additions and 35 deletions

View File

@@ -108,7 +108,7 @@ class BotConfig:
return config
global_config = BotConfig.load_config("./src/plugins/chat/bot_config.toml")
global_config = BotConfig.load_config(".bot_config.toml")
from dotenv import load_dotenv
current_dir = os.path.dirname(os.path.abspath(__file__))