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

通过 mirai-cpp (mirai-api-http) 登录 bot #90

Open
steve02081504 opened this issue Mar 30, 2021 · 12 comments
Open

通过 mirai-cpp (mirai-api-http) 登录 bot #90

steve02081504 opened this issue Mar 30, 2021 · 12 comments

Comments

@steve02081504
Copy link

不用在mirai-console上操作直接使用cpp函数调用通过号与密码进行登录。这种

@cyanray
Copy link
Owner

cyanray commented Mar 30, 2021

mirai-ap-http 不支持这种操作,所以 mirai-cpp 没法支持。

@steve02081504
Copy link
Author

也就是说这个issue该给mirai-http提喽(

@cyanray
Copy link
Owner

cyanray commented Mar 30, 2021

对,应该向 mah 提 issues

@steve02081504
Copy link
Author

好,提了(

@cyanray
Copy link
Owner

cyanray commented Mar 30, 2021

你这issues提的……

把这个issues的内容复制过去也好啊。

还要别人跑来这里看看问题到底是什么吗?

@cyanray cyanray changed the title 支持使用号与密码进行Auth 通过 mirai-cpp (mirai-api-http) 登录 bot Mar 30, 2021
@cyanray cyanray closed this as completed Mar 30, 2021
@steve02081504
Copy link
Author

咱也不知怎么说(http这方面不太熟
而且别人也就点一下而已XD

你这issues提的……

把这个issues的内容复制过去也好啊。

还要别人跑来这里看看问题到底是什么吗?

@Drincann
Copy link

可以通过 sendCommand 的方式实现,见 Drincann/Mirai-js Bot 模块的类方法。

@cyanray cyanray reopened this Mar 30, 2021
@cyanray
Copy link
Owner

cyanray commented Mar 30, 2021

可以通过 sendCommand 的方式实现,见 Drincann/Mirai-js Bot 模块的类方法。

原来还可以这样。

mirai-cpp 实现了 SendCommand (https://github.com/cyanray/mirai-cpp/blob/master/include/mirai/mirai_bot.hpp#L313)

@Doctor-Yin
Copy link

登录没登录过的qq是有人机验证的,登录过的也用不着这个方式登录啊

@Drincann
Copy link

登录没登录过的qq是有人机验证的,登录过的也用不着这个方式登录啊

确实有些鸡肋

@383494
Copy link

383494 commented Apr 25, 2022

登录没登录过的qq是有人机验证的,登录过的也用不着这个方式登录啊

确实有些鸡肋

其实QQ的人机验证可以关掉的:P

@misaka-20002
Copy link
Contributor

人机验证好像关不掉()

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

6 participants