chore:修改toml配置文件位置,增加默认配置文件,修改docs

This commit is contained in:
HYY1116
2025-03-01 21:07:54 +08:00
parent ab08481edc
commit f501f7d218
4 changed files with 29 additions and 28 deletions

View File

@@ -107,7 +107,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__))