Description
Hello to developers who are using Wechaty,
We have excellent news for you: Wechaty New Puppet System is going to ready for testing!, and Alpha Testing Volunteers are open to applications now.
We have launched a new puppet wechaty-puppet-padpro
few weeks ago, now we are launching alpha test for wechaty-puppet-padpro
.
New puppet wechaty-puppet-padpro
is the new version of wechaty-puppet-padchat
which solves some problems from architecture level. Comparing with wechaty-puppet-padchat
, the new puppet has improvement in some aspects below:
- Able to get the weixin id with
Contact.weixin()
function for those who set a custom weixin id for themselves - Send and receive 60s voice
- Send and receive large images
- Room announcement feature
Below is some difference between wechaty-puppet-padchat
and wechaty-puppet-padpro
wechaty-puppet-padpro
establishes connection with Wechat server from client side- Auto reconnect data stored in cloud, each token has its own storage for the auth data
Start from today; we need some volunteers who are interested in joining the alpha testing. If you are one of them, please leave a comments under this issue, introduce yourself about who you are and what you want to do(please DO follow the following TEMPLATE and fill it in details, or you might not be able to be selected), so that we can be able to add you to the alpha testers list if you are qualified.
If you want to benefit from all the new features, and cannot wait for the next v0.24 release, then you are welcomed to apply for joining the v0.23 Alpha Tester List!
How to run wechaty-puppet-padpro
Install
npm install wechaty
npm install wechaty-puppet-padpro
Example
import { Wechaty } from 'wechaty'
const WECHATY_PUPPET_PADPRO_TOKEN = 'your-token-here'
const puppet = 'wechaty-puppet-padpro' // 使用ipad 的方式接入。
const puppetOptions = {
token: WECHATY_PUPPET_PADPRO_TOKEN,
}
const bot = new Wechaty({
puppet,
puppetOptions,
})
// 设置完成
// 运行 wechaty
bot
.on('scan', (qrcode, status) => console.log(`Scan QR Code to login: ${status}\nhttps://api.qrserver.com/v1/create-qr-code/?data=${encodeURIComponent(qrcode)}`))
.on('login', user => console.log(`User ${user} logined`))
.on('message', message => console.log(`Message: ${message}`))
.start()
see more: https://github.com/botorange/wechaty-puppet-padpro
contact:
Wechaty Puppet Padpro Alpha Tester Apply Template
1. Introduce Yourself(who you are):
2. Explain the Problem You Want to Solve:(what you do):
3. Are Your Bot Related with the Following Tasks? (YES/NO)
- Gambling
- Adault & Sex