diff --git a/CHANGELOG.md b/CHANGELOG.md index f2983a4..0c76e43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## 更新日志 -## V5.0.13(2024-11-29) +## V5.0.14(2024-11-29) 1、更新插件版本,添加企微api发群消息支持@ 2、修复查找好友问题 diff --git a/package.json b/package.json index 0cdc1c5..d65feb1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wechat-assistant", - "version": "5.0.13", + "version": "5.0.14", "description": "智能微秘书,一个全能的微信机器人管理平台,最简单的方式接入 ChatGPT,FastGPT,Dify,Coze知识库,支持绘图,联网查询,语音识别,各种定时任务,支持企微、个微、公众号、5G 消息、WhatsApp", "main": "index.js", "type": "module", diff --git a/src/index.js b/src/index.js index 245874e..5fe3db9 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -import {WechatyMessageRecordPlugin, WechatyWebPanelPlugin} from 'wechaty-web-panel' +import {WechatyMessageRecordPlugin, WechatyWebPanelPlugin, WechatyMessageCallBackPlugin} from 'wechaty-web-panel' import {startWorkpro} from "./workpro.js"; import {startPadlocal} from "./padlocal.js"; import {startWechat4u} from "./wechat4u.js"; @@ -66,5 +66,6 @@ bot.use(WechatyWebPanelPlugin({ apiKey: '填入微秘书平台apikey', apiSecret: '填入微秘书平台apisecret', })) bot.use(WechatyMessageRecordPlugin()) +bot.use(WechatyMessageCallBackPlugin()) bot.start() .catch((e) => console.error(e));