puppet-xp
puppet-xp copied to clipboard
Wechaty Puppet WeChat Windows Protocol
[4] http://weixin.qq.com/x/oYldCbNPP4YzHv1t74F8 Scan QR Code above to log in: Error: not logged in, no this.__currentUserId yet. at PuppetXp.get currentUserId [as currentUserId] (file:///C:/luyc/wechaty-puppet-xp/node_modules/wechaty-puppet/src/mixins/login-mixin.ts:23:15) at PuppetXp.onHookRecvMsg (file:///C:/luyc/wechaty-puppet-xp/src/puppet-xp.ts:310:11) at WeChatSidecar. (file:///C:/luyc/wechaty-puppet-xp/src/puppet-xp.ts:70:26) at WeChatSidecar.emit...
If WeChat has been logged in before, when it is launched again, the `Login` button will be displayed in the login window. After clicking, you can log in through the...
转发图片时出现  转发文件时出现 
@binsee I suggest adding a function to detect whether the wechat client has been started. If not, the wechat client will be automatically activated. _Originally posted by @atorber in https://github.com/wechaty/puppet-xp/issues/75#issuecomment-1032248340_

10:41:46 ERR SidecarBody [SCRIPT_MESSAGRE_HANDLER_SYMBOL]() MessageType.Error: Error: access violation accessing 0x53013f at (frida/runtime/core.js:138) at (/script1.js:227) node:events:368 throw er; // Unhandled 'error' event ^ Error: Error: access violation accessing 0x53013f at WeChatSidecar.[scriptMessageHandler]...
我尝试调用了PuppetXp.messageSendUrl()方法来试图发送链接卡片,但是发现除了控制台会出一条log日志,没有产生任何效果。安装的微信客户端也是3.3.0.115
返回的是这个 可以先使用如下临时方案, 1、去除 @自己的昵称 后的信息,python代码: `t=msg.text().replace('@bot(你的机器人的昵称)','')` 2、去除所有@昵称 的代码 : ``` import re re.sub(r'@.+?\s' , "",msg.text() ) ```
直接clone下来运行的,文本信息接收和发送都没问题,但当接收到 图片之后,报出如下错误,是我什么地方的配置有问题吗? ------- RECV: Message#Image[🗣Contact@👥Room] 1f TypeError: Cannot read properties of undefined (reading 'name') at getNameExtension (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\pure-functions\image-decrypt.js:83:7) at ImageDecrypt (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\pure-functions\image-decrypt.js:16:27) at PuppetXp.messageFile (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\puppet-xp.js:354:71) at WechatifiedUserClass.toFileBox (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty\dist\cjs\src\user-modules\message.js:785:51) at WechatyImpl.onMessage (D:\gitlab_new_test\wechaty-puppet-xp-demo\main.js:112:38) Error:...