Skip to content

Commit 5cf455b

Browse files
committed
1 parent bdd6b9d commit 5cf455b

File tree

2,216 files changed

+6784
-7118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,216 files changed

+6784
-7118
lines changed
+3
Loading

components/qq-guild/images/logo-icon.svg

+77-1,204
Loading

components/qq-guild/index.html

+25-30
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
</a>
4747
</div>
4848
<div class="library-version">
49-
4.0.0-beta2 </div>
49+
4.0.0-beta3 </div>
5050
</div>
5151
</div>
5252
<div class="navigation-controls">
@@ -63,9 +63,13 @@
6363
<div class="breadcrumbs"></div>
6464
<div class="cover ">
6565
<div class="cover ">
66-
<h1 class=""></h1>
66+
<h1 class=""> </h1>
6767
<!--suppress HtmlDeprecatedAttribute --><div align="center">
68-
<img src=".simbot/logo.png" alt="logo" style="width:230px; height:230px; border-radius:50%; " />
68+
<picture>
69+
<source media="(prefers-color-scheme: dark)" srcset=".simbot/logo-dark.svg">
70+
<source media="(prefers-color-scheme: light)" srcset=".simbot/logo.svg">
71+
<img alt="simbot logo" src=".simbot/logo.svg" width="260" />
72+
</picture>
6973
<h2>
7074
~ Simple Robot ~ <br/> <small>QQ频道组件</small>
7175
</h2>
@@ -80,57 +84,48 @@ <h2>
8084
<img alt="lines" src="https://img.shields.io/tokei/lines/github/simple-robot/simbot-component-qq-guild" />
8185
<img alt="issues" src="https://img.shields.io/github/issues-closed/simple-robot/simbot-component-qq-guild?color=green" />
8286
<img alt="last commit" src="https://img.shields.io/github/last-commit/simple-robot/simbot-component-qq-guild" />
83-
<a href="./COPYING"><img alt="copying" src="https://img.shields.io/github/license/simple-robot/simbot-component-qq-guild" /></a></div> <p class="paragraph">这是 <a href="https://github.com/simple-robot/simpler-robot/tree/v4-dev"><strong>Simple Robot v4</strong></a> 下的子项目,是针对 <a href="https://bot.q.qq.com/wiki/develop/api/"><strong>QQ频道机器人</strong></a> 各方面的 simbot 组件库实现, 包括对 <code class="lang-kotlin">API</code> 内容的实现、事件相关的实现以及BOT对于事件的监听与交互等。</p>
84-
<p class="paragraph">QQ频道组件库可以作为底层API依赖使用、 轻量级的QQ频道事件调度框架使用, 也可以基于 simbot 核心库的种种快速开发一个功能强大的QQ频道机器人!</p>
87+
<a href="./COPYING"><img alt="copying" src="https://img.shields.io/github/license/simple-robot/simbot-component-qq-guild" /></a></div> <p class="paragraph">这是一个基于 <a href="https://github.com/Kotlin/kotlinx.coroutines">Kotlin coroutines</a><a href="https://bot.q.qq.com/wiki/develop/api/"><strong>QQ频道机器人</strong></a> 进行实现的 API/SDK <a href="https://kotlinlang.org/docs/multiplatform.html">Kotlin 多平台</a>库,异步高效、Java友好。</p>
88+
<p class="paragraph">它同样是一个 <a href="https://github.com/simple-robot/simpler-robot/tree/v4-dev">Simple Robot v4</a> (下文简称 simbot) 的组件库,是 simbot 的子项目之一。 借助 simbot 核心库提供的能力,它可以支持更多高级功能和封装,比如组件协同、Spring支持等。</p>
89+
<p class="paragraph">它可以作为一个低级别的 API/SDK 辅助依赖库, 也可在 simbot 核心库的支持下用作为一个轻量级的快速开发框架!</p>
90+
<p class="paragraph">序列化和网络请求相关分别基于 <a href="https://github.com/Kotlin/kotlinx.serialization">Kotlin serialization</a><a href="https://ktor.io/">Ktor</a>.</p>
91+
<h2 class="">文档与引导</h2>
8592
<ul>
8693
<li>
87-
<p class="paragraph">基于 <a href="https://kotlinlang.org/"><code class="lang-kotlin">Kotlin</code></a> 提供 <a href="https://kotlinlang.org/docs/multiplatform.html">KMP 多平台</a> 特性</p>
94+
<p class="paragraph">QQ频道组件手册: <a href="https://component-qqguild.simbot.forte.love/">应用手册</a> (即当前仓库的 GitHub Pages)</p>
8895
</li>
8996
<li>
90-
<p class="paragraph">基于 <a href="https://github.com/Kotlin/kotlinx.coroutines"><code class="lang-kotlin">Kotlin coroutines</code></a><a href="https://ktor.io/"><code class="lang-kotlin">Ktor</code></a> 提供高效易用的API;</p>
97+
<p class="paragraph">了解simbot: <a href="https://simbot.forte.love">Simple Robot 应用手册</a></p>
9198
</li>
9299
<li>
93-
<p class="paragraph">基于 <a href="https://kotlinlang.org/"><code class="lang-kotlin">Kotlin</code></a> 提供 <a href="https://kotlinlang.org/docs/multiplatform.html">KMP 多平台</a> 特性,提供 Java 友好的API。</p>
100+
<p class="paragraph"><a href="https://docs.simbot.forte.love">文档引导站&API文档</a></p>
94101
</li>
95102
<li>
96-
<p class="paragraph">基于 <a href="https://github.com/Kotlin/kotlinx.coroutines"><code class="lang-kotlin">Kotlin coroutines</code></a><a href="https://ktor.io/"><code class="lang-kotlin">Ktor</code></a> 提供轻量高效的API。</p>
97-
</li>
98-
</ul>
99-
<blockquote class="quotation">
100-
<p class="paragraph">!Note 下文中 <code class="lang-kotlin">Simple Robot v4</code> 简称为 <code class="lang-kotlin">simbot4</code></p>
101-
</blockquote>
102-
<h2 class=""> 文档</h2>
103-
<ul>
104-
<li>
105-
<p class="paragraph">了解simbot: <a href="https://simbot.forte.love"><strong>Simple Robot 应用手册</strong></a></p>
106-
</li>
107-
<li>
108-
<p class="paragraph"><strong>QQ频道组件</strong>手册:<a href="https://component-qqguild.simbot.forte.love/">https://component-qqguild.simbot.forte.love/</a> (即当前仓库的 GitHub Pages)</p>
103+
<p class="paragraph"><a href="https://simbot.forte.love/communities.html"><strong>社群</strong></a> 文档中也有提供社群信息喔</p>
109104
</li>
110105
<li>
111-
<p class="paragraph"><strong>API文档</strong>: <a href="https://docs.simbot.forte.love"><strong>文档引导站点</strong></a> 中QQ频道的 <a href="https://docs.simbot.forte.love/components/qq-guild"><strong>KDoc站点</strong></a></p>
106+
<p class="paragraph">前往 <a href="https://github.com/simple-robot/">组织首页</a> 了解更多有关组件、文档、以及社群等相关信息!</p>
112107
</li>
113108
</ul>
114109

115110
<p class="paragraph">我们欢迎并期望着您的 <a href="https://github.com/simple-robot/simbot-component-qq-guild/issues">反馈</a><a href="https://github.com/simple-robot/simbot-component-qq-guild/pulls">协助</a>, 感谢您的贡献与支持!</p>
116-
<h2 class=""> 模块引导</h2>
117-
<h3 class=""> API模块</h3>
111+
<h2 class="">模块引导</h2>
112+
<h3 class="">API模块</h3>
118113
<p class="paragraph">基于 <code class="lang-kotlin">Ktor</code> 针对 <a href="https://bot.q.qq.com/wiki/develop/api/">QQ频道API</a> 的基本完整的<a href="https://kotlinlang.org/docs/multiplatform.html">KMP</a>多平台封装实现, 是一个简单高效轻量级的API实现模块。</p>
119114
<p class="paragraph">此模块基本不会提供什么多余的实现,其目标为在提供封装的情况下尽可能地保留原始API的使用手感,不做过多的封装。</p>
120115
<p class="paragraph">👉 simbot-component-qq-guild-api 了解更多。</p>
121-
<h3 class=""> 标准库模块</h3>
116+
<h3 class="">标准库模块</h3>
122117
<p class="paragraph">基于 simbot-component-qq-guild-api 针对bot的&quot;登录&quot;鉴权实现简单高效轻量级的事件订阅功能。</p>
123118
<p class="paragraph">此模块在API模块的基础上提供了针对事件相关的功能实现,包括事件订阅的能力。 同样的,其目标为在提供封装的情况下尽可能地保留原始API的使用手感,不做过多的封装。</p>
124119
<p class="paragraph">👉 simbot-component-qq-guild-stdlib 了解更多。</p>
125-
<h3 class=""> 核心组件模块</h3>
120+
<h3 class="">核心组件模块</h3>
126121
<p class="paragraph">基于 simbot-component-qq-guild-stdlib 对 <a href="https://github.com/simple-robot/simpler-robot">simbot4核心库</a> 的组件实现, 是一个相对高度封装的模块,并提供simbot4大部分能力,包括事件监听、多组件协同、Spring Boot Starter 等。</p>
127-
<p class="paragraph">👉 simbot-component-qq-guild-core-1 了解更多。</p>
128-
<h2 class=""> 法欧莉</h2>
122+
<p class="paragraph">👉 simbot-component-qq-guild-core 了解更多。</p>
123+
<h2 class="">法欧莉!</h2>
129124
<p class="paragraph">如果你想看一看使用QQ频道组件实现的具体作品, 可以前往QQ频道添加亲爱的 <a href="https://qun.qq.com/qunpro/robot/share?robot_appid=101986850">法欧莉斯卡雷特</a> 来体验喔~</p>
130-
<h2 class=""> License</h2>
125+
<h2 class="">License</h2>
131126
<p class="paragraph"><code class="lang-kotlin">simbot-component-qq-guild</code> 使用 <code class="lang-kotlin">LGPLv3</code> 许可证开源。</p>
132127
<div class="sample-container">
133-
<pre><code class="block lang-kotlin" theme="idea">This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General <br>Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) <br>any later version.<br><br>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied <br>warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more <br>details.<br><br>You should have received a copy of the GNU Lesser General Public License along with this program. <br>If not, see &lt;https://www.gnu.org/licenses/&gt;.</code></pre>
128+
<pre><code class="block lang-kotlin" theme="idea">This program is free software: you can redistribute it and/or <br>modify it under the terms of the GNU Lesser General <br>Public License as published by the Free Software Foundation, <br>either version 3 of the License, or (at your option) <br>any later version.<br><br>This program is distributed in the hope that it will be useful, <br>but WITHOUT ANY WARRANTY; without even the implied <br>warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. <br>See the GNU Lesser General Public License for more details.<br><br>You should have received a copy of the GNU Lesser General Public <br>License along with this program. <br>If not, see &lt;https://www.gnu.org/licenses/&gt;.</code></pre>
134129
<span class="top-right-position"><span class="copy-icon"></span>
135130
<div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div>
136131
</span></div>

components/qq-guild/navigation.html

+24-4
Original file line numberDiff line numberDiff line change
@@ -2694,7 +2694,7 @@
26942694
</div>
26952695
<div class="sideMenuPart" id="simbot-component-qq-guild-core-nav-submenu-7-5" pageid="simbot-component-qq-guild-core::love.forte.simbot.component.qguild.message/QGAtChannel///PointingToDeclaration//-2090008390">
26962696
<div class="overview">
2697-
<a href="simbot-component-qq-guild-core/love.forte.simbot.component.qguild.message/-q-g-at-channel/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon class-kt"></span><span class="nav-link-child"> <strike><span>QGAt</span><wbr><span><span>Channel</span></span></strike> </span></span></a>
2697+
<a href="simbot-component-qq-guild-core/love.forte.simbot.component.qguild.message/-q-g-at-channel/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon class-kt"></span><span class="nav-link-child"> <strike class="strikethrough"><span>QGAt</span><wbr><span><span>Channel</span></span></strike> </span></span></a>
26982698
</div>
26992699
</div>
27002700
<div class="sideMenuPart" id="simbot-component-qq-guild-core-nav-submenu-7-6" pageid="simbot-component-qq-guild-core::love.forte.simbot.component.qguild.message/QGAttachmentMessage///PointingToDeclaration//-2090008390">
@@ -2934,7 +2934,7 @@
29342934
</div>
29352935
<div class="sideMenuPart" id="simbot-component-qq-guild-stdlib-nav-submenu-0-12" pageid="simbot-component-qq-guild-stdlib::love.forte.simbot.qguild.stdlib//process/love.forte.simbot.qguild.stdlib.Bot#kotlin.coroutines.SuspendFunction2[TypeParam(bounds=[love.forte.simbot.qguild.event.Signal.Dispatch]),kotlin.String,kotlin.Unit]/PointingToDeclaration//643507831">
29362936
<div class="overview">
2937-
<a href="simbot-component-qq-guild-stdlib/love.forte.simbot.qguild.stdlib/process.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon function"></span><span class="nav-link-child"><span><span>process()</span></span></span></span></a>
2937+
<a href="simbot-component-qq-guild-stdlib/love.forte.simbot.qguild.stdlib/process.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon function"></span><span class="nav-link-child"> <strike class="strikethrough"><span><span>process()</span></span></strike> </span></span></a>
29382938
</div>
29392939
</div>
29402940
<div class="sideMenuPart" id="simbot-component-qq-guild-stdlib-nav-submenu-0-13" pageid="simbot-component-qq-guild-stdlib::love.forte.simbot.qguild.stdlib//request/love.forte.simbot.qguild.stdlib.Bot#love.forte.simbot.qguild.api.QQGuildApi[*]/PointingToDeclaration//643507831">
@@ -3027,12 +3027,32 @@
30273027
<a href="simbot-component-qq-guild-stdlib/love.forte.simbot.qguild.stdlib/request-text-reserve.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon function"></span><span class="nav-link-child"><span>request</span><wbr><span>Text</span><wbr><span><span>Reserve()</span></span></span></span></a>
30283028
</div>
30293029
</div>
3030-
<div class="sideMenuPart" id="simbot-component-qq-guild-stdlib-nav-submenu-0-31" pageid="simbot-component-qq-guild-stdlib::love.forte.simbot.qguild.stdlib/TypedJAsyncEventProcessor///PointingToDeclaration//82887327">
3030+
<div class="sideMenuPart" id="simbot-component-qq-guild-stdlib-nav-submenu-0-31" pageid="simbot-component-qq-guild-stdlib::love.forte.simbot.qguild.stdlib//subscribe/love.forte.simbot.qguild.stdlib.Bot#love.forte.simbot.qguild.stdlib.SubscribeSequence#kotlin.coroutines.SuspendFunction2[TypeParam(bounds=[love.forte.simbot.qguild.event.Signal.Dispatch]),kotlin.String,kotlin.Unit]/PointingToDeclaration//643507831">
3031+
<div class="overview">
3032+
<a href="simbot-component-qq-guild-stdlib/love.forte.simbot.qguild.stdlib/subscribe.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon function"></span><span class="nav-link-child"><span><span>subscribe()</span></span></span></span></a>
3033+
</div>
3034+
</div>
3035+
<div class="sideMenuPart" id="simbot-component-qq-guild-stdlib-nav-submenu-0-32" pageid="simbot-component-qq-guild-stdlib::love.forte.simbot.qguild.stdlib/SubscribeSequence///PointingToDeclaration//643507831">
3036+
<div class="overview">
3037+
<span class="navButton" onclick="document.getElementById(&quot;simbot-component-qq-guild-stdlib-nav-submenu-0-32&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span><a href="simbot-component-qq-guild-stdlib/love.forte.simbot.qguild.stdlib/-subscribe-sequence/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon enum-class-kt"></span><span class="nav-link-child"><span>Subscribe</span><wbr><span><span>Sequence</span></span></span></span></a>
3038+
</div>
3039+
<div class="sideMenuPart" id="simbot-component-qq-guild-stdlib-nav-submenu-0-32-0" pageid="simbot-component-qq-guild-stdlib::love.forte.simbot.qguild.stdlib/SubscribeSequence.PRE///PointingToDeclaration/{&quot;org.jetbrains.dokka.links.EnumEntryDRIExtra&quot;:{&quot;key&quot;:&quot;org.jetbrains.dokka.links.EnumEntryDRIExtra&quot;}}/643507831">
3040+
<div class="overview">
3041+
<a href="simbot-component-qq-guild-stdlib/love.forte.simbot.qguild.stdlib/-subscribe-sequence/-p-r-e/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon enum-class-kt"></span><span class="nav-link-child"><span><span>PRE</span></span></span></span></a>
3042+
</div>
3043+
</div>
3044+
<div class="sideMenuPart" id="simbot-component-qq-guild-stdlib-nav-submenu-0-32-1" pageid="simbot-component-qq-guild-stdlib::love.forte.simbot.qguild.stdlib/SubscribeSequence.NORMAL///PointingToDeclaration/{&quot;org.jetbrains.dokka.links.EnumEntryDRIExtra&quot;:{&quot;key&quot;:&quot;org.jetbrains.dokka.links.EnumEntryDRIExtra&quot;}}/643507831">
3045+
<div class="overview">
3046+
<a href="simbot-component-qq-guild-stdlib/love.forte.simbot.qguild.stdlib/-subscribe-sequence/-n-o-r-m-a-l/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon enum-class-kt"></span><span class="nav-link-child"><span><span>NORMAL</span></span></span></span></a>
3047+
</div>
3048+
</div>
3049+
</div>
3050+
<div class="sideMenuPart" id="simbot-component-qq-guild-stdlib-nav-submenu-0-33" pageid="simbot-component-qq-guild-stdlib::love.forte.simbot.qguild.stdlib/TypedJAsyncEventProcessor///PointingToDeclaration//82887327">
30313051
<div class="overview">
30323052
<a href="simbot-component-qq-guild-stdlib/love.forte.simbot.qguild.stdlib/-typed-j-async-event-processor/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon interface-kt"></span><span class="nav-link-child"><span>Typed</span><wbr><span>JAsync</span><wbr><span>Event</span><wbr><span><span>Processor</span></span></span></span></a>
30333053
</div>
30343054
</div>
3035-
<div class="sideMenuPart" id="simbot-component-qq-guild-stdlib-nav-submenu-0-32" pageid="simbot-component-qq-guild-stdlib::love.forte.simbot.qguild.stdlib/TypedJBlockEventProcessor///PointingToDeclaration//82887327">
3055+
<div class="sideMenuPart" id="simbot-component-qq-guild-stdlib-nav-submenu-0-34" pageid="simbot-component-qq-guild-stdlib::love.forte.simbot.qguild.stdlib/TypedJBlockEventProcessor///PointingToDeclaration//82887327">
30363056
<div class="overview">
30373057
<a href="simbot-component-qq-guild-stdlib/love.forte.simbot.qguild.stdlib/-typed-j-block-event-processor/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon interface-kt"></span><span class="nav-link-child"><span>Typed</span><wbr><span>JBlock</span><wbr><span>Event</span><wbr><span><span>Processor</span></span></span></span></a>
30383058
</div>

components/qq-guild/scripts/pages.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)