chore:修改toml配置文件位置,增加默认配置文件,修改docs
This commit is contained in:
@@ -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__))
|
||||
|
||||
Reference in New Issue
Block a user