simple-robot / simbot-component-kook

一个 Kotlin 多平台的 KOOK(开黑啦) Bot SDK 实现库,一个 Simple Robot 组件库,Java 友好、异步高效~ ❤️‍🔥❤️‍🔥😘
https://simbot.forte.love/component-kook.html
GNU Lesser General Public License v3.0
19 stars 1 forks source link

支持KookQuote的获取和MessageReference的解析 #161

Closed ForliyScarlet closed 3 months ago

ForliyScarlet commented 3 months ago

resolve https://github.com/simple-robot/simbot-component-kook/issues/156

see also https://github.com/simple-robot/simpler-robot/issues/898

顺便发现了几个KOOK服务端的 **狗*** 问题:

attrchements

quote

私聊会话中,一个消息如果不包括引用,则查询details中 quote 字符响应的竟然是个空字符串:

{"quote":""}

而实际包含引用的情况下,返回的又是普通的 Quote 结构体:

{"quote":{"id":"..."}}

...

...

我服了。

ForliyScarlet commented 3 months ago

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked ☁️ View the detailed Qodana report

Contact Qodana team Contact us at [qodana-support@jetbrains.com](mailto:qodana-support@jetbrains.com) - Or via our issue tracker: https://jb.gg/qodana-issue - Or share your feedback: https://jb.gg/qodana-discussions