-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
How to link it with personal account. #693
Comments
Did you see the Getting Start Tutorial? It's in Chinese but you could follow it without any problem because it's a live coding tutorial. Also I'll suggest you have a look on Examples first at here: https://github.com/Chatie/wechaty/wiki/Example |
when I tried getting started with npm module I got these errors in console. 22:54:47 ERR PuppetWebEvent onServerDisconnect() setTimeout() bridge.init() exception: [Error: execute proxyWechaty(init) error: 503, init() without a ready angular env] (node:53719) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: watchDogReset() watchdog reset after 60 seconds, last feed:[HEARTBEAT:[heartbeat@browser]] here is my code: const { Wechaty } = require('wechaty') // import { Wechaty } from 'wechaty' const bot = Wechaty.instance() // Singleton bot.on('scan', (url, code) => console.log( |
Hello, thank you for using Wechaty. Issues are about to fire bugs & request features only, so it's not a Support Forum. To get help, ask questions and discuss with other developers, please join our Wechaty Developers' Home community in Wechat. Join Wechaty Developers' CommunityWechaty is used in many ChatBot projects by hundreds of developers. If you want to talk with other developers, just scan the following QR Code in WeChat with secret code wechaty, you can join our Wechaty Developers' Home at once. Scan now, because other Wechaty developers want to talk with you too! (secret code: wechaty) |
@huan hi, bro! I got the same problem when I first use wechaty, is there any ideas? error message: ERR PuppetWeChatBridge onLoad() exception: Error: execute proxyWechaty(init) error: 503, init() without a ready angular env
node:internal/process/promises:246 my code: // index.js
const qrTerm = require('qrcode-terminal');
const Wechaty = require('wechaty');
const { ScanStatus, WechatyBuilder, log } = Wechaty;
function onScan (qrcode, status) {
if (status === ScanStatus.Waiting || status === ScanStatus.Timeout) {
qrTerm.generate(qrcode, { small: true }); // show qrcode on console
const qrcodeImageUrl = [
'https://wechaty.js.org/qrcode/',
encodeURIComponent(qrcode),
].join('');
log.info('StarterBot', 'onScan: %s(%s) - %s', ScanStatus[status], status, qrcodeImageUrl);
} else {
log.info('StarterBot', 'onScan: %s(%s)', ScanStatus[status], status);
}
}
// get a Wechaty instance
const bot = WechatyBuilder.build({
name: 'wechat-bot',
puppet: 'wechaty-puppet-wechat',
})
// emit when the bot needs to show you a QR Code for scanning
bot.on('scan', onScan);
// start the bot
bot.start()
.then(() => log.info('StarterBot', 'Starter Bot Started.'))
.catch(e => log.error('StarterBot', e)) |
请问现在可以了没 |
请问可以了没 |
可以了,已经解决了 |
请教下如何解决的? |
I am having a little problem here that how can I link my account and dow do we configure our account with this. How will my account work as a chatbot on weChat or in short where will I send messages to test it? can anyone explain please. It will be very thankful.
Sorry for not following guidelines of issue but couldn't do so.
The text was updated successfully, but these errors were encountered: