wechat-bot
wechat-bot copied to clipboard
🤖一个基于 WeChaty 结合 DeepSeek / ChatGPT / Kimi / 讯飞等Ai服务实现的微信机器人 ,可以用来帮助你自动回复微信消息,或者管理微信群/好友,检测僵尸粉等...
❌ uncaughtException 捕获到未处理的异常: TypeError: Cannot read properties of undefined (reading 'choices') at WebSocket. (file:///D:/wechat-bot-main/src/xunfei/xunfei.js:93:33) at callListener (D:\wechat-bot-main\node_modules\ws\lib\event-target.js:290:14) at WebSocket.onMessage (D:\wechat-bot-main\node_modules\ws\lib\event-target.js:209:9) at WebSocket.emit (node:events:519:28) at Receiver.receiverOnMessage (D:\wechat-bot-main\node_modules\ws\lib\websocket.js:1220:20) at Receiver.emit (node:events:519:28) at...
``` Current time:Thu Jul 11 2024 11:17:32 GMT+0800 (China Standard Time) Automatic robot chat mode has been activated 🌸🌸🌸 / content: 请给我推荐一个上海好吃的饭店 🚀🚀🚀 / prompt 请给我推荐一个上海好吃的饭店 socket 连接关闭 AssertionError [ERR_ASSERTION]:...
用不了微信的可以结合https://github.com/Devo919/Gewechat/ 新鲜出炉的微信二开框架
bot error handle: GError [AxiosError]: timeout of 60000ms exceeded at RedirectableRequest.handleRequestTimeout (C:\Users\Administrator\Desktop\wechat-bot-main\node_modules\axios\dist\node\axios.cjs:3143:16) at RedirectableRequest.emit (node:events:517:28) at Timeout. (C:\Users\Administrator\Desktop\wechat-bot-main\node_modules\follow-redirects\index.js:210:12) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7) at Axios.request (C:\Users\Administrator\Desktop\wechat-bot-main\node_modules\axios\dist\node\axios.cjs:4224:41) { code: 2,...
INFO onScan: 3(undefined) Scanned ❌ bot error handle: AssertionError [ERR_ASSERTION]: 1 == 0 at Object.equal (C:\Users\Administrator\Desktop\wechat-bot-main\node_modules\wechat4u\lib\util\global.js:69:24) at C:\Users\Administrator\Desktop\wechat-bot-main\node_modules\wechat4u\lib\core.js:229:24 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 2, details: 'AssertionError [ERR_ASSERTION]: 1 == 0\n'...
个人微信号太容易被封,能否支持企业微信,企业微信账号(不是企业微信机器)可以添加为微信好友,从而作为机器人使用。
解决的需求 - 微信机器人失效后,无通知 - 配置完文件后还要进入docker内部扫码 效果图  
用 kimi 起的服务 npm run test 返回调用api 正常 ``` wechat-bot git:(main) ✗ npm run test > [email protected] test > node ./src/wechaty/testMessage.js ? 请先选择服务类型 Kimi type: Kimi 🌸🌸🌸 / reply: 你好!我能为您做些什么?...
ubuntu22系统,新版代码,docker部署约40小时后log显示报错(此问题老版本程序也存在),具体如下: ❌ bot error handle: GError: 连续167次同步失败,5s后尝试重启 at /app/node_modules/wechat4u/lib/wechat.js:129:22 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 2, details: 'Error: 连续167次同步失败,5s后尝试重启\n' + ' at /app/node_modules/wechat4u/lib/wechat.js:129:22\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)' } ❌ uncaughtException...
`DEEPSEEK_FREE_URL=https://api.deepseek.com/chat/completions,` 应该注意要有引号 `DEEPSEEK_FREE_URL='https://api.deepseek.com/chat/completions',`