Skip to content

Commit

Permalink
add plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Nov 29, 2024
1 parent 73fe6f2 commit 4549dd3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 更新日志

## V5.0.13(2024-11-29)
## V5.0.14(2024-11-29)
1、更新插件版本,添加企微api发群消息支持@
2、修复查找好友问题

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -66,5 +66,6 @@ bot.use(WechatyWebPanelPlugin({
apiKey: '填入微秘书平台apikey', apiSecret: '填入微秘书平台apisecret',
}))
bot.use(WechatyMessageRecordPlugin())
bot.use(WechatyMessageCallBackPlugin())
bot.start()
.catch((e) => console.error(e));

0 comments on commit 4549dd3

Please sign in to comment.