Skip to content

Commit 3497c3f

Browse files
committed
1 parent 18cdfbd commit 3497c3f

File tree

2,559 files changed

+7499
-7635
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,559 files changed

+7499
-7635
lines changed

components/kook/images/homepage.svg

Lines changed: 3 additions & 0 deletions
Loading

components/kook/images/logo-icon.svg

Lines changed: 77 additions & 1204 deletions
Loading

components/kook/index.html

Lines changed: 38 additions & 12 deletions
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,8 +63,28 @@
6363
<div class="breadcrumbs"></div>
6464
<div class="cover ">
6565
<div class="cover ">
66-
<h1 class="">Simple Robot - KOOK 组件</h1>
67-
<p class="paragraph">这是 <a href="https://github.com/simple-robot/simpler-robot">Simple Robot v4</a> 下的子项目,是针对 <a href="https://developer.kookapp.cn/doc/reference">KOOK(开黑啦)bot</a> 各方面的 simbot 组件库实现, 包括对 <code class="lang-kotlin">API</code> 内容的实现、事件相关的实现以及 bot 对于事件的监听与交互等。</p>
66+
<h1 class=""> </h1>
67+
<!--suppress HtmlDeprecatedAttribute --><div align="center">
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>
73+
<h2>
74+
~ Simple Robot ~ <br/> <small>KOOK组件</small>
75+
</h2>
76+
<a href="https://github.com/simple-robot/simbot-component-kook/releases/latest"><img alt="release" src="https://img.shields.io/github/v/release/simple-robot/simbot-component-kook" /></a>
77+
<a href="https://repo1.maven.org/maven2/love/forte/simbot/component/simbot-component-kook-api/" target="_blank">
78+
<img alt="release" src="https://img.shields.io/maven-central/v/love.forte.simbot.component/simbot-component-kook-api" /></a>
79+
<hr>
80+
<img alt="stars" src="https://img.shields.io/github/stars/simple-robot/simbot-component-kook" />
81+
<img alt="forks" src="https://img.shields.io/github/forks/simple-robot/simbot-component-kook" />
82+
<img alt="watchers" src="https://img.shields.io/github/watchers/simple-robot/simbot-component-kook" />
83+
<img alt="repo size" src="https://img.shields.io/github/repo-size/simple-robot/simbot-component-kook" />
84+
<img alt="lines" src="https://img.shields.io/tokei/lines/github/simple-robot/simbot-component-kook" />
85+
<img alt="issues" src="https://img.shields.io/github/issues-closed/simple-robot/simbot-component-kook?color=green" />
86+
<img alt="last commit" src="https://img.shields.io/github/last-commit/simple-robot/simbot-component-kook" />
87+
<a href="./COPYING"><img alt="copying" src="https://img.shields.io/github/license/simple-robot/simbot-component-kook" /></a></div> <p class="paragraph">这是 <a href="https://github.com/simple-robot/simpler-robot">Simple Robot v4</a> 下的子项目,是针对 <a href="https://developer.kookapp.cn/doc/reference">KOOK(开黑啦)bot</a> 各方面的 simbot 组件库实现, 包括对 <code class="lang-kotlin">API</code> 内容的实现、事件相关的实现以及 bot 对于事件的监听与交互等。</p>
6888
<p class="paragraph">KOOK组件库可以作为底层API依赖使用、 轻量级的KOOK事件调度框架使用, 也可以基于 simbot 核心库的种种快速开发一个功能强大的 KOOK 机器人!</p>
6989
<ul>
7090
<li>
@@ -77,28 +97,34 @@ <h1 class="">Simple Robot - KOOK 组件</h1>
7797
<blockquote class="quotation">
7898
<p class="paragraph">!Note 下文中 <code class="lang-kotlin">Simple Robot v4</code> 简称为 <code class="lang-kotlin">simbot4</code></p>
7999
</blockquote>
80-
<h2 class=""> 文档</h2>
100+
<h2 class="">文档与引导</h2>
81101
<ul>
82102
<li>
83-
<p class="paragraph">了解simbot: <a href="https://simbot.forte.love"><strong>Simple Robot 应用手册</strong></a></p>
103+
<p class="paragraph">KOOK组件手册: <a href="https://component-kook.simbot.forte.love/">手册</a> (即当前仓库的 GitHub Pages)</p>
84104
</li>
85105
<li>
86-
<p class="paragraph"><strong>KOOK组件</strong>手册:<a href="https://component-kook.simbot.forte.love/">https://component-kook.simbot.forte.love/</a> (即当前仓库的 GitHub Pages)</p>
106+
<p class="paragraph">了解simbot: <a href="https://simbot.forte.love">Simple Robot 应用手册</a></p>
87107
</li>
88108
<li>
89-
<p class="paragraph"><strong>API文档</strong>: <a href="https://docs.simbot.forte.love"><strong>文档引导站点</strong></a> 中KOOK的 <a href="https://docs.simbot.forte.love/components/qq-guild"><strong>KDoc站点</strong></a></p>
109+
<p class="paragraph"><a href="https://docs.simbot.forte.love">文档引导站&API文档</a></p>
110+
</li>
111+
<li>
112+
<p class="paragraph">前往 <a href="https://github.com/simple-robot/">组织首页</a> 了解更多有关其他组件、文档、以及社群等相关信息!</p>
113+
</li>
114+
<li>
115+
<p class="paragraph"><a href="https://simbot.forte.love/communities.html"><strong>社群</strong></a>: 文档中也有提供社群信息喔</p>
90116
</li>
91117
</ul>
92118

93-
<h2 class=""> 支持列表</h2>
119+
<h2 class="">支持列表</h2>
94120
<p class="paragraph">前往 support-list.md 查看已经支持的API、尚未支持的API。 如果你迫切的希望支持某些API,而它们尚未被支持,请<a href="https://github.com/simple-robot/simbot-component-kook/issues">让我们知道</a>!</p>
95-
<h2 class=""> 贡献</h2>
121+
<h2 class="">贡献</h2>
96122
<p class="paragraph">前往 docs/CONTRIBUTING_CN.md 了解更多!</p>
97-
<h2 class=""> 快速开始</h2>
123+
<h2 class="">快速开始</h2>
98124
<p class="paragraph">前往 <a href="https://component-kook.simbot.forte.love/">组件手册</a> 阅读 <strong>快速开始</strong> 相关章节。</p>
99-
<h2 class=""> 法欧莉</h2>
125+
<h2 class="">法欧莉</h2>
100126
<p class="paragraph">如果你想看一看使用 KOOK组件实现的具体作品, 不妨添加我们亲爱的 <a href="https://www.kookapp.cn/app/oauth2/authorize?id=10250&amp;permissions=197958144&amp;client_id=jqdlyHK85xe1i5Bo&amp;redirect_uri=&amp;scope=bot">法欧莉斯卡雷特</a> 并使用 <code class="lang-kotlin">@法欧莉 今天的我</code> 来看看效果吧~</p>
101-
<h2 class=""> License</h2>
127+
<h2 class="">License</h2>
102128
<p class="paragraph"><code class="lang-kotlin">simbot-component-kook</code> 使用 <code class="lang-kotlin">LGPLv3</code> 许可证开源。</p>
103129
<div class="sample-container">
104130
<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 <br>the GNU Lesser General Public License as published by the Free Software Foundation, either <br>version 3 of the License, or (at your option) any later version.<br><br>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;<br>without even the implied 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 License along with this <br>program. If not, see &lt;https://www.gnu.org/licenses/&gt;.</code></pre>

components/kook/navigation.html

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3579,12 +3579,12 @@
35793579
</div>
35803580
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-15" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib//processor/love.forte.simbot.kook.stdlib.Bot#kotlin.coroutines.SuspendFunction2[love.forte.simbot.kook.event.Event[TypeParam(bounds=[love.forte.simbot.kook.event.EventExtra])],kotlin.String,kotlin.Unit]/PointingToDeclaration//-2090471503">
35813581
<div class="overview">
3582-
<a href="simbot-component-kook-stdlib/love.forte.simbot.kook.stdlib/processor.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon function"></span><span class="nav-link-child"><span><span>processor()</span></span></span></span></a>
3582+
<a href="simbot-component-kook-stdlib/love.forte.simbot.kook.stdlib/processor.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>processor()</span></span></strike> </span></span></a>
35833583
</div>
35843584
</div>
35853585
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-16" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/ProcessorType///PointingToDeclaration//-2090471503">
35863586
<div class="overview">
3587-
<span class="navButton" onclick="document.getElementById(&quot;simbot-component-kook-stdlib-nav-submenu-0-16&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span><a href="simbot-component-kook-stdlib/love.forte.simbot.kook.stdlib/-processor-type/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon enum-class-kt"></span><span class="nav-link-child"><span>Processor</span><wbr><span><span>Type</span></span></span></span></a>
3587+
<span class="navButton" onclick="document.getElementById(&quot;simbot-component-kook-stdlib-nav-submenu-0-16&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span><a href="simbot-component-kook-stdlib/love.forte.simbot.kook.stdlib/-processor-type/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon enum-class-kt"></span><span class="nav-link-child"> <strike class="strikethrough"><span>Processor</span><wbr><span><span>Type</span></span></strike> </span></span></a>
35883588
</div>
35893589
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-16-0" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/ProcessorType.PREPARE///PointingToDeclaration/{&quot;org.jetbrains.dokka.links.EnumEntryDRIExtra&quot;:{&quot;key&quot;:&quot;org.jetbrains.dokka.links.EnumEntryDRIExtra&quot;}}/-2090471503">
35903590
<div class="overview">
@@ -3622,27 +3622,47 @@
36223622
<a href="simbot-component-kook-stdlib/love.forte.simbot.kook.stdlib/start-and-join.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon function"></span><span class="nav-link-child"><span>start</span><wbr><span>And</span><wbr><span><span>Join()</span></span></span></span></a>
36233623
</div>
36243624
</div>
3625-
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-22" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/Ticket///PointingToDeclaration//-2090471503">
3625+
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-22" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib//subscribe/love.forte.simbot.kook.stdlib.Bot#love.forte.simbot.kook.stdlib.SubscribeSequence#kotlin.coroutines.SuspendFunction2[love.forte.simbot.kook.event.Event[TypeParam(bounds=[love.forte.simbot.kook.event.EventExtra])],kotlin.String,kotlin.Unit]/PointingToDeclaration//-2090471503">
36263626
<div class="overview">
3627-
<span class="navButton" onclick="document.getElementById(&quot;simbot-component-kook-stdlib-nav-submenu-0-22&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span><a href="simbot-component-kook-stdlib/love.forte.simbot.kook.stdlib/-ticket/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon interface-kt"></span><span class="nav-link-child"><span><span>Ticket</span></span></span></span></a>
3627+
<a href="simbot-component-kook-stdlib/love.forte.simbot.kook.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>
36283628
</div>
3629-
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-22-0" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/Ticket.Companion///PointingToDeclaration//-2090471503">
3629+
</div>
3630+
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-23" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/SubscribeSequence///PointingToDeclaration//-2090471503">
3631+
<div class="overview">
3632+
<span class="navButton" onclick="document.getElementById(&quot;simbot-component-kook-stdlib-nav-submenu-0-23&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span><a href="simbot-component-kook-stdlib/love.forte.simbot.kook.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>
3633+
</div>
3634+
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-23-0" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/SubscribeSequence.PREPARE///PointingToDeclaration/{&quot;org.jetbrains.dokka.links.EnumEntryDRIExtra&quot;:{&quot;key&quot;:&quot;org.jetbrains.dokka.links.EnumEntryDRIExtra&quot;}}/-2090471503">
3635+
<div class="overview">
3636+
<a href="simbot-component-kook-stdlib/love.forte.simbot.kook.stdlib/-subscribe-sequence/-p-r-e-p-a-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>PREPARE</span></span></span></span></a>
3637+
</div>
3638+
</div>
3639+
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-23-1" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/SubscribeSequence.NORMAL///PointingToDeclaration/{&quot;org.jetbrains.dokka.links.EnumEntryDRIExtra&quot;:{&quot;key&quot;:&quot;org.jetbrains.dokka.links.EnumEntryDRIExtra&quot;}}/-2090471503">
3640+
<div class="overview">
3641+
<a href="simbot-component-kook-stdlib/love.forte.simbot.kook.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>
3642+
</div>
3643+
</div>
3644+
</div>
3645+
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-24" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/Ticket///PointingToDeclaration//-2090471503">
3646+
<div class="overview">
3647+
<span class="navButton" onclick="document.getElementById(&quot;simbot-component-kook-stdlib-nav-submenu-0-24&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span><a href="simbot-component-kook-stdlib/love.forte.simbot.kook.stdlib/-ticket/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon interface-kt"></span><span class="nav-link-child"><span><span>Ticket</span></span></span></span></a>
3648+
</div>
3649+
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-24-0" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/Ticket.Companion///PointingToDeclaration//-2090471503">
36303650
<div class="overview">
36313651
<a href="simbot-component-kook-stdlib/love.forte.simbot.kook.stdlib/-ticket/-companion/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon object"></span><span class="nav-link-child"><span><span>Companion</span></span></span></span></a>
36323652
</div>
36333653
</div>
36343654
</div>
3635-
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-23" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib//timeout/love.forte.simbot.kook.stdlib.BotConfiguration#kotlin.Boolean#kotlin.Function1[love.forte.simbot.kook.stdlib.BotConfiguration.TimeoutConfiguration,kotlin.Unit]/PointingToDeclaration//-2090471503">
3655+
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-25" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib//timeout/love.forte.simbot.kook.stdlib.BotConfiguration#kotlin.Boolean#kotlin.Function1[love.forte.simbot.kook.stdlib.BotConfiguration.TimeoutConfiguration,kotlin.Unit]/PointingToDeclaration//-2090471503">
36363656
<div class="overview">
36373657
<a href="simbot-component-kook-stdlib/love.forte.simbot.kook.stdlib/timeout.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon function"></span><span class="nav-link-child"><span><span>timeout()</span></span></span></span></a>
36383658
</div>
36393659
</div>
3640-
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-24" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/TypedJAsyncEventProcessor///PointingToDeclaration//1857409061">
3660+
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-26" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/TypedJAsyncEventProcessor///PointingToDeclaration//1857409061">
36413661
<div class="overview">
36423662
<a href="simbot-component-kook-stdlib/love.forte.simbot.kook.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>
36433663
</div>
36443664
</div>
3645-
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-25" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/TypedJBlockEventProcessor///PointingToDeclaration//1857409061">
3665+
<div class="sideMenuPart" id="simbot-component-kook-stdlib-nav-submenu-0-27" pageid="simbot-component-kook-stdlib::love.forte.simbot.kook.stdlib/TypedJBlockEventProcessor///PointingToDeclaration//1857409061">
36463666
<div class="overview">
36473667
<a href="simbot-component-kook-stdlib/love.forte.simbot.kook.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>
36483668
</div>

components/kook/scripts/pages.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)