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

登录流程信息提供相应的Event #845

Open
Zzz2333 opened this issue Apr 17, 2021 · 4 comments
Open

登录流程信息提供相应的Event #845

Zzz2333 opened this issue Apr 17, 2021 · 4 comments
Labels

Comments

@Zzz2333
Copy link

Zzz2333 commented Apr 17, 2021

环境信息

go-cqhttp版本: v0.9.40-fix4
操作系统:Win10

需要添加的功能内容

当前的登录流程是在控制台界面中进行的,想做一个可视化的界面,就是把输入账号密码、拖动滑动验证码、扫码认证等步骤都做成可操作的界面。这需要得到go-cqhttp实时反馈的信息。目前的我的做法是分析go-cqhttp的控制台输出日志,这样效率太低。这一部分可不可以也提供相应的Event呢?

@Mrs4s Mrs4s added the delay 延迟处理 label Apr 17, 2021
@Zzz2333
Copy link
Author

Zzz2333 commented Apr 17, 2021

我的意思并不是效率方面的问题。只是相比于通过对日志做字符串匹配的方式,如果有相应的Event直接监听,肯定要来得方便和规范得多。我是基于此方面的考虑向贵方提出此建议的。

@lycstar
Copy link

lycstar commented Sep 3, 2021

我也有在做一个客户端玩玩,也遇到了这个问题,你现在还是通过分析shell输出实现的吗@Zzz2333

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

No branches or pull requests

4 participants
@Mrs4s @Zzz2333 @lycstar and others