puppet-wechat icon indicating copy to clipboard operation
puppet-wechat copied to clipboard

Wechaty Puppet Provider for WeChat

Results 93 puppet-wechat issues
Sort by recently updated
recently updated
newest added

这个问题出现的概率不大,但出现必然导致进程退出。 logs: ``` 2018-12-22 16:37:03.690 { Error: connect ETIMEDOUT 223.166.152.108:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14) errno: 'ETIMEDOUT', code: 'ETIMEDOUT', syscall: 'connect', address: '223.166.152.108', port: 80 } Error: connect ETIMEDOUT 223.166.152.108:80...

### Description When forwarding a sticker (大表情) message, an error will be thrown (even not terminate the process). ### Environments - Wechaty 0.40.10 - wechaty-puppet-puppeteer (default) - Node.js v12.16.2 -...

bug

### Description When anyone nudges (拍一拍) anyone in a group, an error will be thrown (even not terminate the process). ### Environments - Wechaty 0.40.10 - wechaty-puppet-puppeteer (default) - Node.js...

bug
good first issue

问题: 昵称里有Emoji符号,解析出来会有乱码,比如我一个群聊的房间名称叫 "机器人群💪" 💪会解析出来乱码 问题出在 pure-function-helpers/xml.js 的 function digestEmoji(html) { if (!html) { return ''; } return html .replace(//g, '[$2]'); // '' } 我手工改一下暂时可以用,改成 function emojiCode2string(txt){ try{ return txt ?...

bug

1. npm install 2. node examples/starter-bot.js ERROR stack: 14:14:42 ERR PuppetPuppeteerBridge onLoad() exception: Error: To protect your account, logging in to WeChat via the web has been suspended. Use WeChat...

Refer to: https://github.com/Chatie/wechaty/issues/1829 puppeteer also needs an upgrade of the emit functions.

在用机器人 room.say 在群里发送图片的时候,如果图片的 url 不是以 .jpg/.png 等结尾的时候就会抛出异常。我看了你们的代码,我觉得这里不能这么判断吧,不能完全根据 url 的后缀来判断,因为有些图片没有后缀名,应该根据 http 请求的 head 中的 content-type 来判断才准确。涉及到的代码如下 https://github.com/Chatie/wechaty-puppet-puppeteer/blob/master/src/puppet-puppeteer.ts#L1247

bug

``` error: no id at Firer. (/.../node_modules/wechaty-puppet-puppeteer/src/firer.ts:349:13) at Generator.next () at fulfilled (/.../node_modules/wechaty-puppet-puppeteer/dist/src/firer.js:22:58) at process._tickCallback (internal/process/next_tick.js:68:7) ``` 报错是这里的[代码](https://github.com/Chatie/wechaty-puppet-puppeteer/blob/master/src/firer.ts#L348) 报出的,而且我看注释也写了 fixme。啥时候可以修复呀。

**Author: @wxul** 最近使用发现撤回消息不会被触发, 在分析源码和进行调试后发现有以下几个问题并提交此PR修复: `MessageType.Recalled` will not be triggered. After analyzing the source code and debugging, I found the following problems and submitted this PR to fix: 1. 撤回消息的xml中多了一些``导致 `xml2json`...

bug

会报这个错 WARN PuppetPuppeteer roomRawPayload() currLength(-1)