Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Commit

Permalink
fix(模块): 修复添加依赖问题
Browse files Browse the repository at this point in the history
  • Loading branch information
leochen-g committed Jan 30, 2023
1 parent 1194b60 commit 2fecb29
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ npm install

## 更新日志

2023-01-30

- 切换puppet为wechat4u,减少安装时的报错

2022-07-15

- 升级Wechaty 到1.x,支持UOS协议
Expand Down
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,7 @@ async function initDay() {

const bot = WechatyBuilder.build({
name: 'WechatEveryDay',
puppet: 'wechaty-puppet-wechat', // 如果有token,记得更换对应的puppet
puppetOptions: {
uos: true
}
puppet: 'wechaty-puppet-wechat4u', // 如果有token,记得更换对应的puppet
})

bot.on('scan', onScan);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wechatbot",
"version": "1.0.1",
"version": "1.0.2",
"description": "",
"superagent": "index.js",
"scripts": {
Expand All @@ -23,6 +23,6 @@
"qrcode-terminal": "^0.12.0",
"superagent": "^4.1.0",
"wechaty": "^1.20.2",
"wechaty-puppet-wechat": "^1.18.4"
"wechaty-puppet-wechat4u": "^1.13.12"
}
}

0 comments on commit 2fecb29

Please sign in to comment.