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
- wechaty: - wechaty-puppet: - wechaty-puppet-service: - wechaty-plugin-contrib: - token type: padlocal|wxwork|xp - the version of wechaty docker container: [0.65]
Error: WatchdogAgent reset: lastFood: "{"data":"heartbeat@browserbridge ding","timeoutMilliseconds":60000}" 每隔一段时间以后,就会报这个错误,死掉了,只能手动重启服务。
const bot = WechatyBuilder.build({ name: 'wechat-bot-' + wechatBotId, puppet: 'wechaty-puppet-wechat', // 默认 wechaty-puppet-wechat puppetOptions: { uos: true // 开启uos协议 }, });
bot.on('scan', onScan) bot.on('login', onLogin) bot.on('logout', onLogout) bot.on('message', onMessage) bot.on('heartbeat', onHeartbeat) bot.on('error', onError)
bot.start() .then(() => { log.info('启动机器人:', 'Starter Bot Started.') }) .catch(e => { log.error('启动时异常:', e) })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Description
Minimum reproducible code
const bot = WechatyBuilder.build({
name: 'wechat-bot-' + wechatBotId,
puppet: 'wechaty-puppet-wechat', // 默认 wechaty-puppet-wechat
puppetOptions: {
uos: true // 开启uos协议
},
});
bot.on('scan', onScan)
bot.on('login', onLogin)
bot.on('logout', onLogout)
bot.on('message', onMessage)
bot.on('heartbeat', onHeartbeat)
bot.on('error', onError)
bot.start()
.then(() => {
log.info('启动机器人:', 'Starter Bot Started.')
})
.catch(e => {
log.error('启动时异常:', e)
})
The text was updated successfully, but these errors were encountered: