cyanray / mirai-cpp

本项目为 mirai-api-http 的 C++ 封装,方便使用 C++ 开发基于 mirai-api-http 插件。
GNU Affero General Public License v3.0
148 stars 38 forks source link

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

Open steve02081504 opened 3 years ago

steve02081504 commented 3 years ago

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

cyanray commented 3 years ago

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

steve02081504 commented 3 years ago

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

cyanray commented 3 years ago

对,应该向 mah 提 issues

steve02081504 commented 3 years ago

好,提了(

cyanray commented 3 years ago

你这issues提的……

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

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

steve02081504 commented 3 years ago

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

你这issues提的……

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

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

Drincann commented 3 years ago

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

cyanray commented 3 years ago

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

原来还可以这样。

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

Doctor-Yin commented 3 years ago

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

Drincann commented 3 years ago

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

确实有些鸡肋

383494 commented 2 years ago

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

确实有些鸡肋

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

misaka-20002 commented 1 year ago

人机验证好像关不掉()