Skip to content

Commit

Permalink
fix(模块): fastGPT单独配置
Browse files Browse the repository at this point in the history
  • Loading branch information
leochen-g committed Oct 16, 2023
1 parent 3f19132 commit a61f2d0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## 更新日志

## V4.6.22(2023-10-16)

1、单独fastGPT配置
2、非web协议支持发布群公告

## V4.6.10(2023-09-19)

1、修复h5链接图片不展示
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wechat-assistant",
"version": "4.6.10",
"description": "智能微秘书4.6.10",
"version": "4.6.11",
"description": "智能微秘书4.6.11",
"main": "index.js",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -40,7 +40,7 @@
"wechaty-puppet-padlocal": "^1.20.1",
"wechaty-puppet-service": "^1.18.2",
"wechaty-puppet-wechat4u": "^1.14.1",
"wechaty-web-panel": "^1.6.20"
"wechaty-web-panel": "^1.6.22"
},
"devDependencies": {
"pm2": "^4.2.3"
Expand Down
6 changes: 5 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@ bot.use(WechatyWebPanelPlugin({
apiKey: '***', apiSecret: '****',
}))
bot.start()
.catch((e) => console.error(e));
.catch((e) => console.error(e));

bot.on('login', ()=> {
bot.logout()
})

0 comments on commit a61f2d0

Please sign in to comment.