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

[Feature建议] 建议支持QQ机器人框架外置 #57

Open
TheRealKamisama opened this issue Sep 8, 2023 · 0 comments
Open

[Feature建议] 建议支持QQ机器人框架外置 #57

TheRealKamisama opened this issue Sep 8, 2023 · 0 comments

Comments

@TheRealKamisama
Copy link

oicq这个QQ机器人库的扫码登陆属实是不太好用, 我在docker-compose里部署的, 每次程序重启都得重新扫码, 没法从本地缓存的凭证里登陆机器人, 即使我已经将/app/data文件夹映射出来.
给未来的人留下一个方案:
先docker-compose up -d, 然后docker attach main_superstar, 摁一下回车, 用手机扫码登陆, 然后再摁一下回车, 看到机器人登陆成功的log后, Ctrl+P Ctrl+Q, 可以在不终止这个shell的情况下detach这个容器.但是每次服务器重启或者容器重启都得进行如上过程
所以我希望可以支持外置机器人框架, 这样就可以使用更加完善的mirai或者go-cqhttp.
仅需支持目前通用的 OneBot 协议就可以链接几乎市面上的所有QQ机器人框架, 我建议本项目使用OneBot中的正向Websocket.

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

1 participant