mirai-cpp icon indicating copy to clipboard operation
mirai-cpp copied to clipboard

本项目为 mirai-api-http 的 C++ 封装,方便使用 C++ 开发基于 mirai-api-http 插件。

Results 11 mirai-cpp issues
Sort by recently updated
recently updated
newest added

虽然 commit https://github.com/cyanray/mirai-cpp/commit/c8f668dc0f736f0470c2a425217eeaaafcb20f18 修复了相关的代码,但是貌似这个commit https://github.com/cyanray/mirai-cpp/commit/625b96a20b7591314d0e8ec625cef159e9bdf2a2 又把有问题的部分加回来了 在VoiceMessage.hpp的ToJson()函数中 `json result = { { "type", type_ }, { "voiceId", voiceId_.empty() ? nullptr : voiceId_ }, { "url", url_.empty() ? nullptr : url_...

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

当然,不简化也可以用, 等我变得勤奋了,就这么做吧!

enhancement

支持获取群头像/QQ头像 (MiraiImage格式)

enhancement

比如发送消息(SendMessage),有时候并不在意它能不能发送成功(或者发送失败的原因),现在可以这样写: ```c++ try { SendMessage(xxxx, xxxxx); } catch(...){} ``` 可以尝试增加类似下面的API,简化一下: ```c++ bool TrySendMessage(QQ_t friend, const MessageChain& messages) noexcept; ```

enhancement

mirai-core 版本 2.7.0 mirai-api-http 版本:2.0.2 mirai-cpp 版本 2.0.2 目前的情况是调试跟踪在执行Connect函数时可以成功获取到sessionKey,但是在执行pmem->eventClient.Connect时的返回文本中显示了404,如果忽略这个问题也无法接收到事件响应,请问这个是我环境哪里出了问题吗?

https://github.com/howmanybots/onebot 以满足不同人的需求。 需要逐步重构 MiraiBot 类,这个类写得实在是太糟糕了。

enhancement

您好,我不熟悉使用VS,按照您的说明打开文件夹后,"Manage Configurations"处打开后是一个json文件,没有其他显示;并且右上角"使用启动项..."内也没有任何文字,Debug一栏内“Debug and Launch Settings for..."也是无法使用的状态。不知道是我哪里弄错了,希望您能给予指导,感谢。

支持mirai码

enhancement

因为我需要使用签名系统,我将mirai-cpp-template中main函数开头设置SessionOption处的端口号进行了修改(改为36555) 并且把mirai-api-http的配置文件也进行了相应修改 但是mirai-cpp程序一直无法成功连接 我尝试了修改key为纯数字,关闭key验证,从本地对接服务器端mirai,锁定mirai-api-http版本为2.5.0,但是都没有起作用 然后我将签名系统的端口配置到8081,将mirai-cpp-template和mirai-api-http都配置到8080,连接成功 因此提出该issue mirai-cpp-template项目使用WSL-GCC-Release编译,没有修改过mirai-cpp部分,和mirai-console-loader一起在ubantu22.04 64位服务器上运行,使用的mirai-api-http版本为2.5.0 因为本人技术不行,暂时只能提供这些信息