Open mumup opened 1 year ago
一样,不单单mentionSelf会空id报错message.say也会
可以先用我fork构建的包
@mumup What did you do, maybe you can make a pull request.
@huan Does this lead to other problems? https://github.com/wechaty/puppet-padlocal/blob/343b7f49c9f9e09d7c10d3e863e888b0bf241d2f/src/padlocal/schema-mapper/message/message-parser-room.ts#L63-L64
Still exists.
yarn remove wechaty-puppet-padlocal
yarn add @666666/wechaty-puppet-padlocal
import { PuppetPadlocal } from "@666666/wechaty-puppet-padlocal";
try { [机器人被@] await message.mentionSelf() await addRoom() } catch (error) { 机器人被win weixin@ addRoom() }
@FavorMylikes LGTM
"wechaty": "^1.19.10" "wechaty-puppet-padlocal": "^1.20.1"
在windows 微信客户端中@ bot会产生空id,导致mentionSelf错误