mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-12-01 01:05:30 +08:00
feat: 拓展中心加入机器人
This commit is contained in:
1 parent
116989a091
commit
f16067d6d0
31 files changed
+3510
-566
No files matched your search
@@ -1,19 +1,21 @@
|
||||
# 扩展示例
|
||||
|
||||
两个可直接安装的示例,用来验证扩展中心从安装到发送的完整链路。
|
||||
三个可直接安装的官方模板示例,用来验证扩展中心从安装到发送的完整链路。
|
||||
|
||||
| 目录 | 用途 | 申请权限 |
|
||||
| --- | --- | --- |
|
||||
| `keyword-bot/` | 消息事件、关键词匹配、Gateway 发送、自动化动作 | `messages.subscribe`、`contacts.list`、`wechat.send.text`、`storage`、`automation.action` |
|
||||
| `group-chat-bot/` | 多套群聊人格、单群长期与短期记忆、结合 TraceMemo 音色随机回复文字或发送语音 | `messages.subscribe`、`messages.query`、`contacts.list`、`wechat.send.text`、`wechat.send.voice`、`ai.chat`、`storage` |
|
||||
| `douyin-sender/` | @我 发抖音链接 → 解析 → 下载 → 发回视频;配置页可测试发送 | `messages.subscribe`、`contacts.list`、`wechat.send.video`、`wechat.send.text`、`storage` |
|
||||
|
||||
## 安装
|
||||
|
||||
TraceMemo → 左侧「扩展」→「安装目录」,选择对应目录即可。
|
||||
TraceMemo → 左侧「扩展」→「官方模板」一键安装,或点「安装目录」选择对应目录。
|
||||
|
||||
安装后扩展默认**未启用**:
|
||||
|
||||
- `keyword-bot` 的 `enabled` 为 `false`,需要在配置页手动打开才会回复;
|
||||
- `group-chat-bot` 需要本机已配置 AI Provider(需要语音回复时在「设置 → 文字转语音」配置音色),并在配置页勾选生效群聊;
|
||||
- `douyin-sender` 依赖本机的 `python3`、Chrome 和抖音解析脚本,安装前先看它自己的 README。
|
||||
|
||||
## 测试建议
|
||||
|
||||
Reference in new issue
Block a user