mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 20:14:36 +00:00
110 lines
2.8 KiB
JSON
110 lines
2.8 KiB
JSON
{
|
|
"platform-adapters": [
|
|
{
|
|
"adapter": "nakuru",
|
|
"enable": false,
|
|
"host": "127.0.0.1",
|
|
"ws_port": 8080,
|
|
"http_port": 5700,
|
|
"token": ""
|
|
},
|
|
{
|
|
"adapter": "aiocqhttp",
|
|
"enable": true,
|
|
"host": "0.0.0.0",
|
|
"port": 2280,
|
|
"access-token": ""
|
|
},
|
|
{
|
|
"adapter": "qq-botpy",
|
|
"enable": false,
|
|
"appid": "",
|
|
"secret": "",
|
|
"intents": [
|
|
"public_guild_messages",
|
|
"direct_message"
|
|
]
|
|
},
|
|
{
|
|
"adapter": "qqofficial",
|
|
"enable": false,
|
|
"appid": "1234567890",
|
|
"secret": "xxxxxxx",
|
|
"port": 2284,
|
|
"token": "abcdefg"
|
|
},
|
|
{
|
|
"adapter": "wecom",
|
|
"enable": false,
|
|
"host": "0.0.0.0",
|
|
"port": 2290,
|
|
"corpid": "",
|
|
"secret": "",
|
|
"token": "",
|
|
"EncodingAESKey": "",
|
|
"contacts_secret": ""
|
|
},
|
|
{
|
|
"adapter": "lark",
|
|
"enable": false,
|
|
"app_id": "cli_abcdefgh",
|
|
"app_secret": "XXXXXXXXXX",
|
|
"bot_name": "LangBot",
|
|
"enable-webhook": false,
|
|
"port": 2285,
|
|
"encrypt-key": "xxxxxxxxx"
|
|
},
|
|
{
|
|
"adapter": "discord",
|
|
"enable": false,
|
|
"client_id": "1234567890",
|
|
"token": "XXXXXXXXXX"
|
|
},
|
|
{
|
|
"adapter": "gewechat",
|
|
"enable": false,
|
|
"gewechat_url": "http://your-gewechat-server:2531",
|
|
"gewechat_file_url": "http://your-gewechat-server:2532",
|
|
"port": 2286,
|
|
"callback_url": "http://your-callback-url:2286/gewechat/callback",
|
|
"app_id": "",
|
|
"token": ""
|
|
},
|
|
{
|
|
"adapter":"officialaccount",
|
|
"enable": false,
|
|
"token": "",
|
|
"EncodingAESKey":"",
|
|
"AppID":"",
|
|
"AppSecret":"",
|
|
"host": "0.0.0.0",
|
|
"port": 2287
|
|
},
|
|
{
|
|
"adapter":"dingtalk",
|
|
"enable": false,
|
|
"client_id":"",
|
|
"client_secret":"",
|
|
"robot_code":"",
|
|
"robot_name":""
|
|
},
|
|
{
|
|
"adapter":"telegram",
|
|
"enable": false,
|
|
"token":""
|
|
}
|
|
],
|
|
"track-function-calls": true,
|
|
"quote-origin": false,
|
|
"at-sender": false,
|
|
"force-delay": {
|
|
"min": 0,
|
|
"max": 0
|
|
},
|
|
"long-text-process": {
|
|
"threshold": 2560,
|
|
"strategy": "forward",
|
|
"font-path": ""
|
|
},
|
|
"hide-exception-info": true
|
|
} |