Skip to content

简单配置

config.json:

json
{
  "protocol": "OneBot",
  "owner": [],
  "black_list": [],
  "silents": [],
  "connection": {
    "mode": "FWS",
    "ob_auto_startup": true,
    "ob_exec": "./Lagrange.OneBot/Lagrange.OneBot.exe",
    "ob_startup_path": "./Lagrange.OneBot/",
    "ob_log_output": false,
    "host": "127.0.0.1",
    "port": 5004,
    "retries": 5,
    "token": null
  },
  "log_level": "INFO",
  "uin": 0,
  "others": {}
}