#Interface: QQBridgeConfig
Defined in: node/config/index.ts:47
QQ 桥接配置(configs/qq_config.json)。
#Indexable
[key: string]: unknown#Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
public_server? | { address?: string; port?: number; version?: string; } | 仅用于向玩家公开展示;version 为实际版本不可用时的备用说明。 | node/config/index.ts:49 |
public_server.address? | string | - | node/config/index.ts:49 |
public_server.port? | number | - | node/config/index.ts:49 |
public_server.version? | string | - | node/config/index.ts:49 |
qq_enabled? | boolean | - | node/config/index.ts:50 |
qq_backend? | QQBackend | 后端选择;缺省按 DEFAULT_QQ_CONFIG(official) | node/config/index.ts:52 |
official? | { transport?: "websocket" | "webhook"; app_id?: string; app_secret?: string; sandbox?: boolean; group_openid?: string; group_panel_id?: string; sync_menu_panel?: boolean; admin_openids?: string[]; webhook?: { port?: number; path?: string; }; tunnel?: { enabled?: boolean; host?: string; remotePort?: number; }; } | QQ 开放平台 Bot 设置;Webhook 模式由云端 bridge 接收。 | node/config/index.ts:54 |
official.transport? | "websocket" | "webhook" | - | node/config/index.ts:55 |
official.app_id? | string | - | node/config/index.ts:56 |
official.app_secret? | string | - | node/config/index.ts:57 |
official.sandbox? | boolean | - | node/config/index.ts:58 |
official.group_openid? | string | - | node/config/index.ts:59 |
official.group_panel_id? | string | - | node/config/index.ts:60 |
official.sync_menu_panel? | boolean | - | node/config/index.ts:61 |
official.admin_openids? | string[] | - | node/config/index.ts:62 |
official.webhook? | { port?: number; path?: string; } | - | node/config/index.ts:63 |
official.webhook.port? | number | - | node/config/index.ts:63 |
official.webhook.path? | string | - | node/config/index.ts:63 |
official.tunnel? | { enabled?: boolean; host?: string; remotePort?: number; } | 云端 Webhook 回连本机 db-server 的 SSH 反向隧道,由 SFMC CLI 托管。 | node/config/index.ts:65 |
official.tunnel.enabled? | boolean | - | node/config/index.ts:65 |
official.tunnel.host? | string | - | node/config/index.ts:65 |
official.tunnel.remotePort? | number | - | node/config/index.ts:65 |
llbot? | { enabled?: boolean; path?: string; cwd?: string; host?: string; port?: number; token?: string; http?: string; ws_port?: number; group_id?: string; } | LLBot OneBot 设置。 | node/config/index.ts:68 |
llbot.enabled? | boolean | - | node/config/index.ts:69 |
llbot.path? | string | - | node/config/index.ts:70 |
llbot.cwd? | string | - | node/config/index.ts:71 |
llbot.host? | string | - | node/config/index.ts:72 |
llbot.port? | number | - | node/config/index.ts:73 |
llbot.token? | string | - | node/config/index.ts:74 |
llbot.http? | string | - | node/config/index.ts:75 |
llbot.ws_port? | number | - | node/config/index.ts:76 |
llbot.group_id? | string | - | node/config/index.ts:77 |
db_host? | string | - | node/config/index.ts:79 |
db_port? | number | - | node/config/index.ts:80 |
qq_events? | QqEventsConfig | 上下线/死亡/BDS 启停推群(实时) | node/config/index.ts:82 |