Questions tagged [wechaty]
The wechaty tag has no usage guidance.
7
questions
0
votes
0
answers
16
views
wechaty fileBox.toFile raise exception 'uncaughtException Error: The stream is not readable. Maybe has already been consumed, and now it was drained
I am trying to save image if wechat receive an image.
Following is my code:
async function onMessage(msg: Message) {
if (msg.type() === bot.Message.Type.Image) {
const fileBox = await msg....
0
votes
0
answers
73
views
WatchdogAgent reset: lastFood: "{"data":"heartbeat@browserbridge ding","timeoutMilliseconds":60000}"
I am making a wechat rebot base on wechaty package.
However, if nothing is done for a while, it will happen.
How to fixed it?
WARN PuppetWatchdogAgent start() reset() reason: {"data":"...
0
votes
0
answers
67
views
Wechaty Error: WatchdogAgent reset: lastFood
This error is that when I am using the WeChat robot WeChat package and there is no message for a period of time, sending a message again will trigger
WARN PuppetWatchdogAgent start() reset() reason: {&...
1
vote
0
answers
357
views
React import problem, 'Module not found: Can't resolve' while import package wechaty
I'm new to nodejs and react. In my project, I use a package "wechaty". And it works fine when my project is a pure nodejs.
Then when I try to integrate "wechaty" with react, it ...
2
votes
0
answers
92
views
Wechaty-padlocal Python ding-dong-bot example only responses when rerun
I am trying Wechaty-Padlocal with ding-dong-bot example from https://github.com/wechaty/python-wechaty-getting-started/tree/master/examples:
"""doc"""
# pylint: disable=...
4
votes
2
answers
145
views
Wechaty: possible to re-trigger login on logout event?
I switched to wechaty padplus puppet from the wechaty-puppet-puppeteer and found it stops more often than wechaty-puppet-puppeteer. I.e., wechaty-puppet-puppeteer normally stays up 10 times longer ...
0
votes
1
answer
112
views
Can I customize Wechaty UrlLink title
Wechaty is a Bot SDK for Wechat Individual Account which can help you create a bot in 6 lines of javascript, with cross-platform support including Linux, Windows, Darwin(OSX/Mac) and Docker. see: ...