gcry13067381632-jpg/dsh-qqbot ↗★ 0
@zaofan/dsh-qqbot
提供QQ机器人通道及Web可视化设置面板
AI 分析
适合需要将DSH接入QQ群聊或私聊,并进行可视化配置的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:gcry13067381632-jpg/dsh-qqbot说明文档
阅读完整 README ↗配置项
| 配置 | 类型 | 默认值 | 说明 |
|---|---|---|---|
appId | string | 必填 | QQ Bot AppID(或通过 QQBOT_APPID 环境变量) |
appSecret | string | 必填 | QQ Bot AppSecret(或通过 QQBOT_SECRET 环境变量) |
provider | string | deepseek-official | LLM 提供商名称 |
model | string | deepseek-chat | 模型名称 |
preset | string | - | Agent preset id |
cwd | string | process.cwd() | Agent 工作目录(不是数据目录) |
dataRoot | string | {cwd}/dshqqbot | 插件数据根(表情包 / .qqbot / .qqbot-extensions)。默认就在 {cwd}/dshqqbot —— 工作目录保持干净; 想放别处显式配置; 老数据首次启动自动迁入 |
requireMention | boolean | true | 群聊是否需要 @bot 才触发 |
groupPrompt | string | - | 群聊额外 system prompt |
directPrompt | string | - | 私聊额外 system prompt |
textChunkLimit | number | 4500 | 单条消息最大字符数 |
sessionIdleTimeout | number | 1800000 | 会话闲置超时(ms),默认 30 分钟 |
debug | boolean | false | 调试模式 |
groupAdmin.enabled | boolean | false | 群管理总开关(需机器人为群管理员) |
groupAdmin.owners | string[] | [] | 可操作群管理的主人 openid 白名单(空=不校验) |
groupAdmin.manageGroup | string | '' | 对话内默认管理群 openid(web/非群会话时用) |
groupAdmin.watchJoinRequests | boolean | false | 订阅入群申请事件(改后需重启) |
groupAdmin.notifyInGroup | boolean | true | 收到申请时在群内发提醒 |
🔧 新版 Web 面板把群管理单开成「⑥ QQ 群管理」卡片(入群审批/禁言/成员信息/黑名单), 与上方
groupAdmin.*配置同一份数据。