Skip to content

Commit 5ebf8e9

Browse files
authored
downgrade wechaty to 0.68 (#1473)
* downgrade wechaty to 0.68 Paimon don't some features in wechat1.x (wechaty/puppet#158) * Update paimon.md
1 parent 4f228fd commit 5ebf8e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docusaurus/docs/puppet-services/paimon.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ package.json
2727
"license": "Apache-2.0",
2828
"dependencies": {
2929
"qrcode-terminal": "^0.12.0",
30-
"wechaty": "^1.0"
30+
"wechaty": "^0.68"
3131
}
3232
}
3333

@@ -39,10 +39,10 @@ bot.js
3939
const {
4040
log,
4141
ScanStatus,
42-
WechatyBuilder,
42+
Wechaty
4343
} = require('wechaty')
4444

45-
const bot = WechatyBuilder.build({
45+
const bot = new Wechaty({
4646
name: 'ding-dong-bot',
4747
puppet: 'wechaty-puppet-service',
4848
puppetOptions: {

0 commit comments

Comments
 (0)