Skip to content
New issue

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

向微信发送消息失败 #323

Open
Wlee2011 opened this issue May 12, 2023 · 1 comment
Open

向微信发送消息失败 #323

Wlee2011 opened this issue May 12, 2023 · 1 comment

Comments

@Wlee2011
Copy link

uncaughtException AssertionError [ERR_ASSERTION]: 1204 == 0
at Object.equal (C:\Users\Administrator\git_workspace\wechat-openai-qa-bot\node_modules\wechat4u\src\util\global.js:53:14)
at C:\Users\Administrator\git_workspace\wechat-openai-qa-bot\node_modules\wechat4u\src\core.js:476:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async PuppetWechat4u.messageSendText (file:///C:/Users/Administrator/git_workspace/wechat-openai-qa-bot/node_modules/wechaty-puppet-wechat4u/src/puppet-wechat4u.ts:770:5)
at async WechatifiedUserClass.say (file:///C:/Users/Administrator/git_workspace/wechat-openai-qa-bot/node_modules/wechaty/src/user-modules/contact.ts:338:19)
at async WechatyImpl.onReady (file:///C:/Users/Administrator/git_workspace/wechat-openai-qa-bot/src/bot.ts:382:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 1204,
expected: 0,
operator: '==',
response: [Object],
tips: '发送文本信息失败'
}

请问这是什么问题

注:
hook群里对方发送的消息是没问题的

@xrl12
Copy link

xrl12 commented Jun 1, 2024

可以粘贴一下你sendMsg里面的username吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants