1
0
forked from bot/app

添加新的配置加载器,支持从YAML、TOML、JSON和环境变量加载配置,并修改默认主机地址

This commit is contained in:
2024-12-02 21:46:29 +08:00
parent fd3f6272f1
commit 93c17b6026
3 changed files with 49 additions and 2 deletions

View File

@ -1,9 +1,10 @@
nonebot:
host: 127.0.0.1
host: 0.0.0.0
port: 20216
command_start: ["", "/"]
nickname: [ "liteyuki" ]
default_language: zh
driver: ~fastapi+~httpx+~websockets
alconna_use_command_start: true
gotify_token: "empty token"
gotify_token: "empty token"