This commit is contained in:
InsanusMokrassar 2024-09-22 18:48:37 +00:00
parent dd61ef849f
commit 32fff399de
48 changed files with 858 additions and 2435 deletions

View File

@ -561,7 +561,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -582,7 +582,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -295,14 +295,14 @@
<li class="md-nav__item">
<a class="md-nav__link" href="micro_utils/startup.html">
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="micro_utils/colors.html">
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>
</a>
</li>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -26,7 +26,7 @@
<title>Colors Maven Central - InMo Docs</title>
<title>Colors - InMo Docs</title>
@ -123,7 +123,7 @@
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>
</div>
@ -579,7 +579,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -609,7 +609,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>
@ -2331,7 +2331,8 @@
<h1 id="colors">Colors <a href="https://maven-badges.herokuapp.com/maven-central/dev.inmo/micro_utils.colors.common"><img alt="Maven Central" src="https://maven-badges.herokuapp.com/maven-central/dev.inmo/micro_utils.colors.common/badge.svg" /></a><a class="headerlink" href="#colors" title="Permanent link">&para;</a></h1>
<h1 id="colors">Colors<a class="headerlink" href="#colors" title="Permanent link">&para;</a></h1>
<p><a href="https://maven-badges.herokuapp.com/maven-central/dev.inmo/micro_utils.colors.common"><img alt="Maven Central" src="https://maven-badges.herokuapp.com/maven-central/dev.inmo/micro_utils.colors.common/badge.svg" /></a></p>
<ul>
<li><code>Group</code>: <code>dev.inmo</code></li>
<li><code>ArtifactId</code>: <code>micro_utils.colors.common</code></li>
@ -2398,7 +2399,7 @@ contains unified color with HEXA format. It consumes <code>UInt</code> by defaul
<nav class="md-footer__inner md-grid" aria-label="Footer" >
<a href="startup.html" class="md-footer__link md-footer__link--prev" aria-label="Previous: Startup Maven Central">
<a href="startup.html" class="md-footer__link md-footer__link--prev" aria-label="Previous: Startup">
<div class="md-footer__button md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
@ -2408,7 +2409,7 @@ contains unified color with HEXA format. It consumes <code>UInt</code> by defaul
Previous
</span>
<div class="md-ellipsis">
Startup Maven Central
Startup
</div>
</div>
</a>

View File

@ -568,7 +568,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -589,7 +589,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -579,7 +579,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -600,7 +600,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -267,14 +267,14 @@
<li class="md-nav__item">
<a class="md-nav__link" href="../startup.html">
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../colors.html">
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>
</a>
</li>
@ -1022,7 +1022,7 @@ In difference with other repos, not all the methods of write key values repo req
</main>
<footer class="md-footer">
<nav aria-label="Footer" class="md-footer__inner md-grid">
<a aria-label="Previous: Colors Maven Central" class="md-footer__link md-footer__link--prev" href="../colors.html">
<a aria-label="Previous: Colors" class="md-footer__link md-footer__link--prev" href="../colors.html">
<div class="md-footer__button md-icon">
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"></path></svg>
</div>
@ -1031,7 +1031,7 @@ In difference with other repos, not all the methods of write key values repo req
Previous
</span>
<div class="md-ellipsis">
Colors Maven Central
Colors
</div>
</div>
</a>

View File

@ -579,7 +579,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -600,7 +600,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -637,7 +637,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -658,7 +658,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>
@ -2490,13 +2490,13 @@ example:</p>
<a href="startup.html" class="md-footer__link md-footer__link--next" aria-label="Next: Startup Maven Central">
<a href="startup.html" class="md-footer__link md-footer__link--next" aria-label="Next: Startup">
<div class="md-footer__title">
<span class="md-footer__direction">
Next
</span>
<div class="md-ellipsis">
Startup Maven Central
Startup
</div>
</div>
<div class="md-footer__button md-icon">

File diff suppressed because it is too large Load Diff

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -267,14 +267,14 @@
<li class="md-nav__item">
<a class="md-nav__link" href="../micro_utils/startup.html">
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../micro_utils/colors.html">
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>
</a>
</li>

View File

@ -267,14 +267,14 @@
<li class="md-nav__item">
<a class="md-nav__link" href="../micro_utils/startup.html">
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../micro_utils/colors.html">
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>
</a>
</li>
@ -853,13 +853,17 @@
<h2 id="plugin">Plugin<a class="headerlink" href="#plugin" title="Permanent link"></a></h2>
<p>Plugin is a partially independent part of bot. Plugin have several parts:</p>
<ul>
<li><code>setupDI</code> - this method should be used to configure DI part of module</li>
<li><code>setupBotPlugin</code> - method to start/configure your bot actions</li>
<li><code>setupBotClient</code> - method to configure telegram bot in case you need it. Called synchronously when <code>TelegramBot</code>
initializing in <code>single</code> in <code>setupDI</code> of <code>PlaguBot</code></li>
<li><code>setupBotPlugin</code> - method to start/configure your <strong>bot</strong> actions. Called asynchronously in <code>buildBehaviourWithFSM</code>
in <code>startPlugin</code> of <code>PlaguBot</code></li>
</ul>
<p>Plugin realization should be an <code>object</code> or <code>class</code> with empty constructor.</p>
<h2 id="bot">Bot<a class="headerlink" href="#bot" title="Permanent link"></a></h2>
<p>Most important of bot is <code>main</code> function (full reference: <code>dev.inmo.plagubot.AppKt</code>). It consumes one argument - path to config.</p>
<p>Bot is initializing with the next algorithm:</p>
<hr/>
<p><strong>OLD</strong></p>
<div class="mermaid">flowchart TB
main["Main"]
Join["Endless join bot work"]

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

File diff suppressed because one or more lines are too long

View File

@ -572,7 +572,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -593,7 +593,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>

View File

@ -574,7 +574,7 @@
<span class="md-ellipsis">
Startup Maven Central
Startup
</span>
@ -595,7 +595,7 @@
<span class="md-ellipsis">
Colors Maven Central
Colors
</span>