We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
重要:请不要删除模板自行填写,所有不按照模板填写的issue,我们将不会处理。
rm -rf package-lock.json rm -rf node_modules npm install
请在 FAQ 清单 看是否已有解决办法。
请先在issue 中搜关键信息,确认你要发的内容和之前的issue 不重复。
node --version
请用精简的语言描述你遇到的bug 创群成功后 微信退出登录
一次加群40个人 ,有一个人拉我黑名单了。
bot = new Wechaty({puppet}) //todo bot.on('scan', (qrcode, status) =>{ var url = ['https://api.qrserver.com/v1/create-qr-code/?data=',encodeURIComponent(qrcode),'&size=220x220&margin=20',].join('') }).on('ready', obj => { console.log(new Date(),'ready') cleanF() }).on('login', async(user)=> { console.log(`welcome ${user} login!`) }) .on('logout', async(user) => { }).on('message', async function(message) { }).start() var cleanF = async function () { const List = await bot.Contact.findAll() var contactList = [] List.map(async(item) =>{ if (item.name() === '漂流瓶' || item.name() === '朋友推荐消息' || item.name() === '语音记事本' || item.name() === 'QQ离线消息' || item.name() === 'QQ邮箱提醒' || item.name() === '微信团队' || item.name() === '文件传输助手' || item.name() === myname ){ return false } if(!item.friend()){ return false } if(item.type() === bot.Contact.Type.Personal){ contactList.push(item) return true } return false }) var newArray = contactList.splice(0,40) var room = await bot.Room.create(newArray, 'clean') }
请用精简的语言描述你期待运行的结果 创群成功后 不能退出登录
请用精简的语言或者截图描述实际运行的结果(请不要在这里粘贴日志截图) 创群成功后 退出登录
通过WECHATY_LOG=silly设定环境变量,将设置log 等级为 silly,获取最详细的日志信息(默认log 等级为 info) 请提供完整的日志信息(不要只提供部分的日志截图,请复制粘贴日志内容!)
WECHATY_LOG=silly
11:06:58 VERB Room create(Contact,Contact<a待清理-Soul💪🏻>,Contact<a待清理-Fwx>,Contact<a待清理-知足常乐>,Contact<a待清理-H²>,Contact<李鹏>,Contact<Charmvit官方旗舰店>,Contact<资料小卖铺(备考中,回复慢)>,Contact<mnick_1116>,Contact<浮y>,Contact<沐枫>,Contact<a待清理-平安普惠信贷部经理小陶>,Contact<优佳>,Contact<a待清理-甜宝>,Contact<亦跑-华烨(万人团队打造)>,Contact<a待清理-萌小生>,Contact<a待清理-木易>,Contact<微群推广平台(公众号)>,Contact<a待清理-718>,Contact<a待清理-💋子曰:“……>,Contact<S.Z 振炫 dw.Vans>,Contact<陈才浩的小可爱>,Contact,Contact<a待清理-Tom>,Contact<AL上海国际整形💉陈怡>,Contact<a待清理-好好体会>,Contact<丽妞>, clean) 11:06:58 VERB PuppetPadpro roomCreate(chenxiao471131310,dcm520000,fengwenxiao4229,qazwsxedc999888123,tellp18080188470,wxid_2gdbeekggsi422,wxid_3p6jknbtzsgs22,wxid_45wa1afvi5lp22,wxid_4u046znsnq5w22,wxid_7t1pz8qn9w6s22,wxid_9xeozfhkcufw22,wxid_ad5zph2q9nq922,wxid_b487iqmoq9ft12,wxid_cpcgbttpo3dv22,wxid_eyqfjrxwdyci22,wxid_fc708ndxyhaq22,wxid_govscrk794pa21,wxid_i0he199m76tn12,wxid_j12ejc6297m222,wxid_lrp9q5npspre21,wxid_mxswlenyeuls22,wxid_myprooktpljx21,wxid_oyfq1965pl3b22,wxid_q62mqh95e4mm12,wxid_rr7ktivvbyed22,wxid_w5lbzj4pfqpw12,wxid_zlgwhsnthctn22, clean) 11:06:58 SILL PadproGrpc GrpcCreateRoom(["chenxiao471131310","dcm520000","fengwenxiao4229","qazwsxedc999888123","tellp18080188470","wxid_2gdbeekggsi422","wxid_3p6jknbtzsgs22","wxid_45wa1afvi5lp22","wxid_4u046znsnq5w22","wxid_7t1pz8qn9w6s22","wxid_9xeozfhkcufw22","wxid_ad5zph2q9nq922","wxid_b487iqmoq9ft12","wxid_cpcgbttpo3dv22","wxid_eyqfjrxwdyci22","wxid_fc708ndxyhaq22","wxid_govscrk794pa21","wxid_i0he199m76tn12","wxid_j12ejc6297m222","wxid_lrp9q5npspre21","wxid_mxswlenyeuls22","wxid_myprooktpljx21","wxid_oyfq1965pl3b22","wxid_q62mqh95e4mm12","wxid_rr7ktivvbyed22","wxid_w5lbzj4pfqpw12","wxid_zlgwhsnthctn22"]) 11:06:58 SILL DedupeApi dedupe() no need to dedupe api GrpcCreateRoom. 11:06:58 SILL WechatGateway _callApi(GrpcCreateRoom, {"Membernames":"chenxiao471131310,dcm520000,fengwenxiao4229,qazwsxedc999888123,tellp18080188470,wxid_2gdbeekggsi422,wxid_3p6jknbtzsgs22,wxid_45wa1afvi5lp22,wxid_4u046znsnq5w22,wxid_7t1pz8qn9w6s22,wxid_9xeozfhkcufw22,wxid_ad5zph2q9nq922,wxid_b487iqmoq9ft12,wxid_cpcgbttpo3dv22,wxid_eyqfjrxwdyci22,wxid_fc708ndxyhaq22,wxid_govscrk794pa21,wxid_i0he199m76tn12,wxid_j12ejc6297m222,wxid_lrp9q5npspre21,wxid_mxswlenyeuls22,wxid_myprooktpljx21,wxid_oyfq1965pl3b22,wxid_q62mqh95e4mm12,wxid_rr7ktivvbyed22,wxid_w5lbzj4pfqpw12,wxid_zlgwhsnthctn22"}) the 1 times, booted 329.771 seconds since boot. 11:06:58 SILL WechatGateway sendLong() reqSeq: 3541871559 11:06:58 SILL WechatGateway sendShort() res: commandUrl: /cgi-bin/micromsg-bin/createchatroom 11:06:58 SILL WechatGateway sendLong() receive back package size: 117 11:06:58 SILL GrpcGateway parse(GrpcSendMessage) get response: {"payload":"null","ret":0} 11:06:58 VERB PuppetPadpro Send Message results: {"payload":"null","ret":0} 11:07:01 SILL PadproManager syncMessage() 11:07:01 SILL DedupeApi dedupe() no need to dedupe api GrpcSyncMessage. 11:07:01 SILL WechatGateway _callApi(GrpcSyncMessage, undefined) the 21 times, booted 333.301 seconds since boot. 11:07:01 SILL PadproManager syncMessage() 11:07:01 SILL PadproManager syncMessage() 11:07:02 SILL WechatGateway sendLong() reqSeq: 3396374273 11:07:02 SILL WechatGateway sendLong() receive back package size: 47 11:07:02 SILL WechatGateway sendLong() receive flag 126 back. 11:07:02 INFO PadproManager Connection has problem, reset self to recover the connection. 11:07:02 VERB PuppetPadpro startManager() manager.on(reset) for wechaty gateway connection issue.. Restarting PuppetPadpro ... 11:07:02 SILL Puppet constructor() this.on(reset) reason: wechaty gateway connection issue. 11:07:02 SILL Puppet constructor() resetThrottleQueue.subscribe() reason: wechaty gateway connection issue. 11:07:02 VERB Puppet reset(wechaty gateway connection issue.) 11:07:02 SILL StateSwitch off() is false 11:07:02 VERB PuppetPadpro stop() 11:07:02 SILL StateSwitch off() is false 11:07:02 SILL StateSwitch off() is false 11:07:02 VERB StateSwitch off(pending) <- (false) 11:07:02 VERB PuppetPadpro logout() 11:07:02 SILL Contact ready() @ Puppet#0()/PuppetPadpro#0 11:07:02 SILL Contact ready() isReady() true 11:07:02 VERB PadproManager logout() 11:07:02 SILL PadproManager releaseQueue() 11:07:02 VERB PadproManager stopInitData() Contact<私密小助手> logout! 11:07:02 INFO CacheManager release() 11:07:02 VERB CacheManager releaseCache() 11:07:02 SILL CacheManager releaseCache() closing caches ... 段错误
$ WECHATY_LOG=silly node yourbot.js
有相关bug 的背景信息,可以在这里说明
[bug]
The text was updated successfully, but these errors were encountered:
你试过在手机上拉40个人建群么?是可以的么?
Sorry, something went wrong.
我是按最大40人建群 实际我这个号只有20几个人
群是创建成功了的
No branches or pull requests
0. 发 Issue 指南
请在 FAQ 清单 看是否已有解决办法。
请先在issue 中搜关键信息,确认你要发的内容和之前的issue 不重复。
1. 提供你的包版本信息
node --version
获取版本)2. Bug 描述
请用精简的语言描述你遇到的bug
创群成功后 微信退出登录
3. 复现的步骤 (或者解决的步骤)
一次加群40个人 ,有一个人拉我黑名单了。
4. 期待程序运行的结果
请用精简的语言描述你期待运行的结果
创群成功后 不能退出登录
5. 程序实际运行的结果
请用精简的语言或者截图描述实际运行的结果(请不要在这里粘贴日志截图)
创群成功后 退出登录
6. 完整的日志信息:
通过
WECHATY_LOG=silly
设定环境变量,将设置log 等级为 silly,获取最详细的日志信息(默认log 等级为 info)请提供完整的日志信息(不要只提供部分的日志截图,请复制粘贴日志内容!)
11:06:58 VERB Room create(Contact,Contact<a待清理-Soul💪🏻>,Contact<a待清理-Fwx>,Contact<a待清理-知足常乐>,Contact<a待清理-H²>,Contact<李鹏>,Contact<Charmvit官方旗舰店>,Contact<资料小卖铺(备考中,回复慢)>,Contact<mnick_1116>,Contact<浮y>,Contact<沐枫>,Contact<a待清理-平安普惠信贷部经理小陶>,Contact<优佳>,Contact<a待清理-甜宝>,Contact<亦跑-华烨(万人团队打造)>,Contact<a待清理-萌小生>,Contact<a待清理-木易>,Contact<微群推广平台(公众号)>,Contact<a待清理-718>,Contact<a待清理-💋子曰:“……>,Contact<S.Z 振炫 dw.Vans>,Contact<陈才浩的小可爱>,Contact,Contact<a待清理-Tom>,Contact<AL上海国际整形💉陈怡>,Contact<a待清理-好好体会>,Contact<丽妞>, clean)
11:06:58 VERB PuppetPadpro roomCreate(chenxiao471131310,dcm520000,fengwenxiao4229,qazwsxedc999888123,tellp18080188470,wxid_2gdbeekggsi422,wxid_3p6jknbtzsgs22,wxid_45wa1afvi5lp22,wxid_4u046znsnq5w22,wxid_7t1pz8qn9w6s22,wxid_9xeozfhkcufw22,wxid_ad5zph2q9nq922,wxid_b487iqmoq9ft12,wxid_cpcgbttpo3dv22,wxid_eyqfjrxwdyci22,wxid_fc708ndxyhaq22,wxid_govscrk794pa21,wxid_i0he199m76tn12,wxid_j12ejc6297m222,wxid_lrp9q5npspre21,wxid_mxswlenyeuls22,wxid_myprooktpljx21,wxid_oyfq1965pl3b22,wxid_q62mqh95e4mm12,wxid_rr7ktivvbyed22,wxid_w5lbzj4pfqpw12,wxid_zlgwhsnthctn22, clean)
11:06:58 SILL PadproGrpc GrpcCreateRoom(["chenxiao471131310","dcm520000","fengwenxiao4229","qazwsxedc999888123","tellp18080188470","wxid_2gdbeekggsi422","wxid_3p6jknbtzsgs22","wxid_45wa1afvi5lp22","wxid_4u046znsnq5w22","wxid_7t1pz8qn9w6s22","wxid_9xeozfhkcufw22","wxid_ad5zph2q9nq922","wxid_b487iqmoq9ft12","wxid_cpcgbttpo3dv22","wxid_eyqfjrxwdyci22","wxid_fc708ndxyhaq22","wxid_govscrk794pa21","wxid_i0he199m76tn12","wxid_j12ejc6297m222","wxid_lrp9q5npspre21","wxid_mxswlenyeuls22","wxid_myprooktpljx21","wxid_oyfq1965pl3b22","wxid_q62mqh95e4mm12","wxid_rr7ktivvbyed22","wxid_w5lbzj4pfqpw12","wxid_zlgwhsnthctn22"])
11:06:58 SILL DedupeApi dedupe() no need to dedupe api GrpcCreateRoom.
11:06:58 SILL WechatGateway _callApi(GrpcCreateRoom, {"Membernames":"chenxiao471131310,dcm520000,fengwenxiao4229,qazwsxedc999888123,tellp18080188470,wxid_2gdbeekggsi422,wxid_3p6jknbtzsgs22,wxid_45wa1afvi5lp22,wxid_4u046znsnq5w22,wxid_7t1pz8qn9w6s22,wxid_9xeozfhkcufw22,wxid_ad5zph2q9nq922,wxid_b487iqmoq9ft12,wxid_cpcgbttpo3dv22,wxid_eyqfjrxwdyci22,wxid_fc708ndxyhaq22,wxid_govscrk794pa21,wxid_i0he199m76tn12,wxid_j12ejc6297m222,wxid_lrp9q5npspre21,wxid_mxswlenyeuls22,wxid_myprooktpljx21,wxid_oyfq1965pl3b22,wxid_q62mqh95e4mm12,wxid_rr7ktivvbyed22,wxid_w5lbzj4pfqpw12,wxid_zlgwhsnthctn22"}) the 1 times, booted 329.771 seconds since boot.
11:06:58 SILL WechatGateway sendLong() reqSeq: 3541871559
11:06:58 SILL WechatGateway sendShort() res: commandUrl: /cgi-bin/micromsg-bin/createchatroom
11:06:58 SILL WechatGateway sendLong() receive back package size: 117
11:06:58 SILL GrpcGateway parse(GrpcSendMessage) get response: {"payload":"null","ret":0}
11:06:58 VERB PuppetPadpro Send Message results: {"payload":"null","ret":0}
11:07:01 SILL PadproManager syncMessage()
11:07:01 SILL DedupeApi dedupe() no need to dedupe api GrpcSyncMessage.
11:07:01 SILL WechatGateway _callApi(GrpcSyncMessage, undefined) the 21 times, booted 333.301 seconds since boot.
11:07:01 SILL PadproManager syncMessage()
11:07:01 SILL PadproManager syncMessage()
11:07:02 SILL WechatGateway sendLong() reqSeq: 3396374273
11:07:02 SILL WechatGateway sendLong() receive back package size: 47
11:07:02 SILL WechatGateway sendLong() receive flag 126 back.
11:07:02 INFO PadproManager Connection has problem, reset self to recover the connection.
11:07:02 VERB PuppetPadpro startManager() manager.on(reset) for wechaty gateway connection issue.. Restarting PuppetPadpro ...
11:07:02 SILL Puppet constructor() this.on(reset) reason: wechaty gateway connection issue.
11:07:02 SILL Puppet constructor() resetThrottleQueue.subscribe() reason: wechaty gateway connection issue.
11:07:02 VERB Puppet reset(wechaty gateway connection issue.)
11:07:02 SILL StateSwitch off() is false
11:07:02 VERB PuppetPadpro stop()
11:07:02 SILL StateSwitch off() is false
11:07:02 SILL StateSwitch off() is false
11:07:02 VERB StateSwitch off(pending) <- (false)
11:07:02 VERB PuppetPadpro logout()
11:07:02 SILL Contact ready() @ Puppet#0()/PuppetPadpro#0
11:07:02 SILL Contact ready() isReady() true
11:07:02 VERB PadproManager logout()
11:07:02 SILL PadproManager releaseQueue()
11:07:02 VERB PadproManager stopInitData()
Contact<私密小助手> logout!
11:07:02 INFO CacheManager release()
11:07:02 VERB CacheManager releaseCache()
11:07:02 SILL CacheManager releaseCache() closing caches ...
段错误
Show Logs
7. 其他信息
有相关bug 的背景信息,可以在这里说明
[bug]
The text was updated successfully, but these errors were encountered: