anaivebird

Results 43 comments of anaivebird

> 开发一个简单的QQ机器人: > https://cloud.tencent.com/developer/article/1623861 > > "酷Q是国内一个运维了很久的QQ机器人软件" have we tried this project, is there anyone knows how good is it? Yeah, that's a famous project (but not open source) whose...

# [开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块] 进度报告 日期:2021-07-25 ## 本周完成的成果 - 阅读wechaty-puppet-lark的代码结构 - 申请注册并配置lark机器人 - 对wechaty-puppet-wechat的代码类依赖结构和函数调用链进行了探究 - 对ES2016的Promise和await为代表的异步写法进行了系统性学习 ([javascript-es6-promises-for-beginners](https://www.freecodecamp.org/news/javascript-es6-promises-for-beginners-resolve-reject-and-chaining-explained/)) ## 本周遇到的困难和需要配合的地方 - 没法给飞书机器人发消息 ![image](https://user-images.githubusercontent.com/29398611/126905626-eec20523-8dc9-4892-9f24-57ed02a85bbc.png) ## 下周的开发计划和预计成果 - 直接尝试完成对wechaty-qq-puppet的ding...

When I write `class PuppetQQ extends Puppet`, lots of methods must be implemented, otherwise typescript error will be thrown. > Non-abstract class 'PuppetQQ' does not implement inherited abstract member 'contactSelfName'...

# [开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块] 进度报告 日期:2021-08-02 ## 本周完成的成果 - oicq单文件运行 - typescript继承、构造器 - 重点研究wechaty-puppet-official-account和wechaty-puppet-lark的源代码 ## 本周遇到的困难和需要配合的地方 - 无 ## 下周的开发计划和预计成果 - 跑通ding dong,并完成对环境变量中QQ号和密码的读取以及扫码功能 ## 其他需要说明和同步的事项 暂无

# [开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块] 进度报告 日期:2021-08-09 ## 本周完成的成果 - 继续研究wechaty-puppet-official-account和wechaty-puppet-lark的源代码 - 完成QQ,ding dong基础(但没有小号所以无法登录) ![image](https://user-images.githubusercontent.com/29398611/128688792-39e9220b-925f-4b54-811e-d29ba32000ad.png) ## 本周遇到的困难和需要配合的地方 - 需要一个登录后不会被风控,也不会被封号的QQ号,大号暂时不敢测试 ## 下周的开发计划和预计成果 - 用QQ小号跑通ding dong,并支持群中ding dong ## 其他需要说明和同步的事项...

ok, got it. I'm currently attentive to the following to working up the ding-dong. > your question about "lots of methods must be implemented", you can refer to the code...

currently, bridging oicq and wechaty events will be my priority, since ding dong has worked. Also, polishing code will be priority of my work this week. ![image](https://user-images.githubusercontent.com/29398611/128712028-0f017772-da2f-42dd-942c-6f880209b467.png) on oicq, their...

It seems it I need to extend EventEmitter to implement the event transform between oicq and wechaty like [this](https://github.com/wechaty/wechaty-puppet-official-account/blob/13359da3c71e0910a1a8290b2f0a7f862a2da722/src/official-account/official-account.ts#L51) ![image](https://user-images.githubusercontent.com/29398611/128713213-dbf1d062-fab0-4689-9cc7-d43295360f2d.png)

Hi, I'm currently referring to [this](https://wechaty.js.org/docs/specs/puppet/#wechaty-puppet-message-processing-flow), and found the puppet-message-processing-flow is both well-designed and much sophisticated for me to understand. So, it will take me more hours to capture the...

About 1:20:00 of [the video tutorial](https://www.youtube.com/watch?v=fbTedVcEEEI) solved my problem about message processing pipeline of wechaty-puppet.