simbot logo

~ Simple Robot ~
QQ频道组件

release release
stars forks watchers repo size lines issues last commit copying

这是一个 Kotlin 多平台QQ机器人官方API SDK 实现库, 也是 Simple Robot 标准API下实现的组件库, 异步高效、Java友好!

借助 simbot 核心库提供的能力,它可以支持很多高级功能和封装,比如组件协同、Spring支持等, 助你快速开发机器人应用!

序列化和网络请求相关分别基于 Kotlin serializationKtor.

文档与引导

我们欢迎并期望着您的 反馈协助, 感谢您的贡献与支持!

模块引导

API模块

基于 Ktor 针对 QQ频道API 的基本完整的KMP多平台封装实现, 是一个简单高效轻量级的API实现模块。

此模块基本不会提供什么多余的实现,其目标为在提供封装的情况下尽可能地保留原始API的使用手感,不做过多的封装。

👉 simbot-component-qq-guild-api 了解更多。

标准库模块

基于 simbot-component-qq-guild-api 针对bot的"登录"鉴权实现简单高效轻量级的事件订阅功能。

此模块在API模块的基础上提供了针对事件相关的功能实现,包括事件订阅的能力。 同样的,其目标为在提供封装的情况下尽可能地保留原始API的使用手感,不做过多的封装。

👉 simbot-component-qq-guild-stdlib 了解更多。

核心组件模块 ⭐

基于 simbot-component-qq-guild-stdlib 对 simbot4核心库 的组件实现, 是一个相对高度封装的模块,并提供simbot4大部分能力,包括事件监听、多组件协同、Spring Boot Starter 等。

👉 simbot-component-qq-guild-core 了解更多。

法欧莉!

如果你想看一看使用QQ频道组件实现的具体作品, 可以前往QQ频道添加亲爱的 法欧莉斯卡雷特 来体验喔~

License

simbot-component-qq-guild 使用 LGPLv3 许可证开源。

This program is free software: you can redistribute it and/or 
modify it under the terms of the GNU Lesser General
Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option)
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this program.
If not, see <https://www.gnu.org/licenses/>.

All modules:

Link copied to clipboard

QQ频道API的最基本封装,不包含额外的功能性实现(比如bot、事件调度等)。

Link copied to clipboard
Link copied to clipboard

基于api模块,对QQ频道API的基本功能实现(事件接收与处理)。