From 95d9e7ebf34388ae39888a8e1822e3447f982d70 Mon Sep 17 00:00:00 2001 From: Bijin <38134380+sliverp@users.noreply.github.com> Date: Thu, 29 Jan 2026 16:33:03 +0800 Subject: [PATCH] update doc --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d6abf61..c105501 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,10 @@ QQ 官方机器人 API 的 Moltbot 渠道插件,支持 C2C 私聊、群聊 @ - **系统提示词**:可配置自定义系统提示词注入到 AI 请求 - **错误提示**:AI 无响应时自动提示用户检查配置 +## 使用示例: +image + + ## 安装 在插件目录下执行: @@ -65,12 +69,7 @@ clawdbot channels add --channel qqbot --token "102146862:xxxxxxxx" } ``` -### 4. 环境变量配置(可选) -```bash -export QQBOT_APP_ID="你的AppID" -export QQBOT_CLIENT_SECRET="你的AppSecret" -``` ## 配置项说明 @@ -96,10 +95,16 @@ export QQBOT_CLIENT_SECRET="你的AppSecret" ### 启动 +后台启动 ```bash clawdbot gateway restart ``` +前台启动, 方便试试查看日志 +```bash +clawdbot gateway --port 18789 --verbose +``` + ### CLI 配置向导 ```bash