Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么获取bot.start()之后打印在控制台中的登录二维码 #428

Closed
qcfengdaai opened this issue Apr 17, 2024 · 3 comments
Closed
Assignees
Labels
workpro Wechaty Puppet Service WorkPro

Comments

@qcfengdaai
Copy link

const bot = WechatyBuilder.build({
puppet: 'wechaty-puppet-service',
puppetOptions: {
token,
tls: {
disable: true
// currently we are not using TLS since most puppet-service versions does not support it. See: wechaty/puppet-service#160
}
}
})
//怎么获取打印在控制台中的二维码
bot.start()

@qcfengdaai qcfengdaai added the workpro Wechaty Puppet Service WorkPro label Apr 17, 2024
@su-chang
Copy link
Member

qrcode-terminal 可以用这个包来处理二维码显示的问题

@qcfengdaai
Copy link
Author

qcfengdaai commented Apr 18, 2024

好的,已经会了!!谢谢!!qrcode 替换 qrcode-terminal,生成图片!

@heyiqian0831
Copy link

请问遇到的问题是:有二维码地址但是没有二维码吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workpro Wechaty Puppet Service WorkPro
Projects
None yet
Development

No branches or pull requests

4 participants