We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
环境 macos
code: cat mybot.js
const { Wechaty } = require('wechaty') const bot = Wechaty.instance() bot .on('scan', (url, code) => console.log(`Scan QR Code to login: ${code}\n${url}`)) .on('login', user => console.log(`User ${user} logined`)) .on('message', message => console.log(`Message: ${message}`)) .init()
运行后,会启动 chrome 并打开 https://wx.qq.com/, 扫码后终端提示登录成功。 但关闭chrome后,命令行也报错了。
是这样的吗?能完全的在终端运行吗? 不启动chrome。
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
环境 macos
code:
cat mybot.js
运行后,会启动 chrome 并打开 https://wx.qq.com/, 扫码后终端提示登录成功。 但关闭chrome后,命令行也报错了。
是这样的吗?能完全的在终端运行吗? 不启动chrome。
The text was updated successfully, but these errors were encountered: