Deploying to docs from @ LiteyukiStudio/LiteyukiBot@3a8c09d6db ๐
This commit is contained in:
@ -1 +1 @@
|
||||
import{R as p}from"./chunks/theme.OmX2emY6.js";import{R as o,a8 as u,a9 as l,aa as c,ab as f,ac as d,ad as m,ae as h,af as g,ag as A,ah as v,d as P,u as R,v as w,s as y,ai as C,aj as b,ak as E,al as S}from"./chunks/framework.Z6UMW4JZ.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=R();return w(()=>{y(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function j(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(l,e);const t=c(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=v(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{j as createApp};
|
||||
import{R as p}from"./chunks/theme.BDqTXdie.js";import{R as o,a8 as u,a9 as l,aa as c,ab as f,ac as d,ad as m,ae as h,af as g,ag as A,ah as v,d as P,u as R,v as w,s as y,ai as C,aj as b,ak as E,al as S}from"./chunks/framework.Z6UMW4JZ.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=R();return w(()=>{y(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function j(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(l,e);const t=c(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=v(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{j as createApp};
|
File diff suppressed because one or more lines are too long
1
assets/chunks/@localSearchIndexen.FM4x7cgM.js
Normal file
1
assets/chunks/@localSearchIndexen.FM4x7cgM.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/@localSearchIndexroot.Cpc-almP.js
Normal file
1
assets/chunks/@localSearchIndexroot.Cpc-almP.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{g as c}from"./theme.OmX2emY6.js";import{d as e,o as a,c as n,j as t,t as i,k as p,_ as u}from"./framework.Z6UMW4JZ.js";const _="https://github.com/",o="LiteyukiStudio/LiteyukiBot",b=`${_}${o}`,m={class:"contributor-bar"},l=e({__name:"ContributorBar",setup(h){const r=`https://contrib.rocks/image?repo=${o}`,s=`${b}/graphs/contributors`;return(d,f)=>(a(),n("div",m,[t("h2",null,i(p(c)("thx_contributors")),1),t("a",{href:s},[t("div",{class:"contributor-list"},[t("img",{src:r,alt:"Contributors"})])])]))}}),k=u(l,[["__scopeId","data-v-bc374713"]]);export{k as C};
|
||||
import{g as c}from"./theme.BDqTXdie.js";import{d as e,o as a,c as n,j as t,t as i,k as p,_ as u}from"./framework.Z6UMW4JZ.js";const _="https://github.com/",o="LiteyukiStudio/LiteyukiBot",b=`${_}${o}`,m={class:"contributor-bar"},l=e({__name:"ContributorBar",setup(h){const r=`https://contrib.rocks/image?repo=${o}`,s=`${b}/graphs/contributors`;return(d,f)=>(a(),n("div",m,[t("h2",null,i(p(c)("thx_contributors")),1),t("a",{href:s},[t("div",{class:"contributor-list"},[t("img",{src:r,alt:"Contributors"})])])]))}}),k=u(l,[["__scopeId","data-v-bc374713"]]);export{k as C};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"้
็ฝฎ","description":"","frontmatter":{"title":"้
็ฝฎ","order":2},"headers":[],"relativePath":"deploy/config.md","filePath":"zh/deploy/config.md","lastUpdated":1728838653000}'),l={name:"deploy/config.md"};function h(e,s,k,p,d,o){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="้
็ฝฎ" tabindex="-1">้
็ฝฎ <a class="header-anchor" href="#้
็ฝฎ" aria-label="Permalink to "้
็ฝฎ"">โ</a></h1><p>่ฝป้ชๆฏๆ<code>yaml</code>ใ<code>json</code>ๅ<code>toml</code>ไฝไธบ้
็ฝฎๆไปถ๏ผๅๅณไบไฝ ไธชไบบ็ๅๅฅฝ</p><p>้ฆๆฌก่ฟ่กๅ็ๆ<code>config.yml</code>ๅ<code>config</code>็ฎๅฝ๏ผไฝ ๅฏไฟฎๆน้
็ฝฎ้กนๅ้ๅฏ่ฝป้ช๏ผ็ปๅคงๅคๆฐๆ
ๅตไธ๏ผไฝ ๅช้่ฆไฟฎๆน<code>superusers</code>ๅ<code>nickname</code>ๅญๆฎตๅณๅฏ</p><p>ๅฏๅจๆถไผๅ ่ฝฝ้กน็ฎ็ฎๅฝไธ<code>config.yml/yaml/json/toml</code>ๅ<code>config</code>็ฎๅฝไธ็ๆๆ้
็ฝฎๆไปถ๏ผไฝ ๅฏๅจ<code>config</code>็ฎๅฝไธๅๅปบๅคไธช้
็ฝฎๆไปถ๏ผ่ฝป้ชไผ่ชๅจๅๅนถ่ฟไบ้
็ฝฎๆไปถ</p><h2 id="ๅบ็ก้
็ฝฎ้กน" tabindex="-1"><strong>ๅบ็ก้
็ฝฎ้กน</strong> <a class="header-anchor" href="#ๅบ็ก้
็ฝฎ้กน" aria-label="Permalink to "**ๅบ็ก้
็ฝฎ้กน**"">โ</a></h2><div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">nonebot</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"้
็ฝฎ","description":"","frontmatter":{"title":"้
็ฝฎ","order":2},"headers":[],"relativePath":"deploy/config.md","filePath":"zh/deploy/config.md","lastUpdated":1734116271000}'),l={name:"deploy/config.md"};function h(e,s,k,p,d,o){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="้
็ฝฎ" tabindex="-1">้
็ฝฎ <a class="header-anchor" href="#้
็ฝฎ" aria-label="Permalink to "้
็ฝฎ"">โ</a></h1><p>่ฝป้ชๆฏๆ<code>yaml</code>ใ<code>json</code>ๅ<code>toml</code>ไฝไธบ้
็ฝฎๆไปถ๏ผๅๅณไบไฝ ไธชไบบ็ๅๅฅฝ</p><p>้ฆๆฌก่ฟ่กๅ็ๆ<code>config.yml</code>ๅ<code>config</code>็ฎๅฝ๏ผไฝ ๅฏไฟฎๆน้
็ฝฎ้กนๅ้ๅฏ่ฝป้ช๏ผ็ปๅคงๅคๆฐๆ
ๅตไธ๏ผไฝ ๅช้่ฆไฟฎๆน<code>superusers</code>ๅ<code>nickname</code>ๅญๆฎตๅณๅฏ</p><p>ๅฏๅจๆถไผๅ ่ฝฝ้กน็ฎ็ฎๅฝไธ<code>config.yml/yaml/json/toml</code>ๅ<code>config</code>็ฎๅฝไธ็ๆๆ้
็ฝฎๆไปถ๏ผไฝ ๅฏๅจ<code>config</code>็ฎๅฝไธๅๅปบๅคไธช้
็ฝฎๆไปถ๏ผ่ฝป้ชไผ่ชๅจๅๅนถ่ฟไบ้
็ฝฎๆไปถ</p><h2 id="ๅบ็ก้
็ฝฎ้กน" tabindex="-1"><strong>ๅบ็ก้
็ฝฎ้กน</strong> <a class="header-anchor" href="#ๅบ็ก้
็ฝฎ้กน" aria-label="Permalink to "**ๅบ็ก้
็ฝฎ้กน**"">โ</a></h2><div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">nonebot</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Nonebotๆบๅจไบบ็้
็ฝฎ๏ผ6.3.10็ๆฌๅ๏ผNoneBotไธ้
็ฝฎๅทฒ่ฟ็งป่ณnonebot้ฎไธ๏ผไธๅไฝฟ็จๅคๅฑ้
็ฝฎ๏ผไฝๆฏ้จๅๅ
ๅฎนไผ่ขซ่ฆ็๏ผ่ฏทๅฐฝๅฟซ่ฟ็งป</span></span>
|
||||
<span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;"> command_start</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [ </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"/"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">""</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ] </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๆไปคๅ็ผ๏ผ่ฅๆฒกๆ""็ฉบๅฝไปคๅคด๏ผ่ฏทๅผๅฏalconna_use_command_startไฟ่ฏalconna่งฃๆๆญฃๅธธ</span></span>
|
||||
<span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;"> host</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">127.0.0.1</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # ็ๅฌๅฐๅ๏ผ้ป่ฎคไธบๆฌๆบ๏ผ่ฅ่ฆๆฅๆถๅค้จ่ฏทๆฑ่ฏทๅกซๅ0.0.0.0</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"้
็ฝฎ","description":"","frontmatter":{"title":"้
็ฝฎ","order":2},"headers":[],"relativePath":"deploy/config.md","filePath":"zh/deploy/config.md","lastUpdated":1728838653000}'),l={name:"deploy/config.md"};function h(e,s,k,p,d,o){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="้
็ฝฎ" tabindex="-1">้
็ฝฎ <a class="header-anchor" href="#้
็ฝฎ" aria-label="Permalink to "้
็ฝฎ"">โ</a></h1><p>่ฝป้ชๆฏๆ<code>yaml</code>ใ<code>json</code>ๅ<code>toml</code>ไฝไธบ้
็ฝฎๆไปถ๏ผๅๅณไบไฝ ไธชไบบ็ๅๅฅฝ</p><p>้ฆๆฌก่ฟ่กๅ็ๆ<code>config.yml</code>ๅ<code>config</code>็ฎๅฝ๏ผไฝ ๅฏไฟฎๆน้
็ฝฎ้กนๅ้ๅฏ่ฝป้ช๏ผ็ปๅคงๅคๆฐๆ
ๅตไธ๏ผไฝ ๅช้่ฆไฟฎๆน<code>superusers</code>ๅ<code>nickname</code>ๅญๆฎตๅณๅฏ</p><p>ๅฏๅจๆถไผๅ ่ฝฝ้กน็ฎ็ฎๅฝไธ<code>config.yml/yaml/json/toml</code>ๅ<code>config</code>็ฎๅฝไธ็ๆๆ้
็ฝฎๆไปถ๏ผไฝ ๅฏๅจ<code>config</code>็ฎๅฝไธๅๅปบๅคไธช้
็ฝฎๆไปถ๏ผ่ฝป้ชไผ่ชๅจๅๅนถ่ฟไบ้
็ฝฎๆไปถ</p><h2 id="ๅบ็ก้
็ฝฎ้กน" tabindex="-1"><strong>ๅบ็ก้
็ฝฎ้กน</strong> <a class="header-anchor" href="#ๅบ็ก้
็ฝฎ้กน" aria-label="Permalink to "**ๅบ็ก้
็ฝฎ้กน**"">โ</a></h2><div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">nonebot</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"้
็ฝฎ","description":"","frontmatter":{"title":"้
็ฝฎ","order":2},"headers":[],"relativePath":"deploy/config.md","filePath":"zh/deploy/config.md","lastUpdated":1734116271000}'),l={name:"deploy/config.md"};function h(e,s,k,p,d,o){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="้
็ฝฎ" tabindex="-1">้
็ฝฎ <a class="header-anchor" href="#้
็ฝฎ" aria-label="Permalink to "้
็ฝฎ"">โ</a></h1><p>่ฝป้ชๆฏๆ<code>yaml</code>ใ<code>json</code>ๅ<code>toml</code>ไฝไธบ้
็ฝฎๆไปถ๏ผๅๅณไบไฝ ไธชไบบ็ๅๅฅฝ</p><p>้ฆๆฌก่ฟ่กๅ็ๆ<code>config.yml</code>ๅ<code>config</code>็ฎๅฝ๏ผไฝ ๅฏไฟฎๆน้
็ฝฎ้กนๅ้ๅฏ่ฝป้ช๏ผ็ปๅคงๅคๆฐๆ
ๅตไธ๏ผไฝ ๅช้่ฆไฟฎๆน<code>superusers</code>ๅ<code>nickname</code>ๅญๆฎตๅณๅฏ</p><p>ๅฏๅจๆถไผๅ ่ฝฝ้กน็ฎ็ฎๅฝไธ<code>config.yml/yaml/json/toml</code>ๅ<code>config</code>็ฎๅฝไธ็ๆๆ้
็ฝฎๆไปถ๏ผไฝ ๅฏๅจ<code>config</code>็ฎๅฝไธๅๅปบๅคไธช้
็ฝฎๆไปถ๏ผ่ฝป้ชไผ่ชๅจๅๅนถ่ฟไบ้
็ฝฎๆไปถ</p><h2 id="ๅบ็ก้
็ฝฎ้กน" tabindex="-1"><strong>ๅบ็ก้
็ฝฎ้กน</strong> <a class="header-anchor" href="#ๅบ็ก้
็ฝฎ้กน" aria-label="Permalink to "**ๅบ็ก้
็ฝฎ้กน**"">โ</a></h2><div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">nonebot</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Nonebotๆบๅจไบบ็้
็ฝฎ๏ผ6.3.10็ๆฌๅ๏ผNoneBotไธ้
็ฝฎๅทฒ่ฟ็งป่ณnonebot้ฎไธ๏ผไธๅไฝฟ็จๅคๅฑ้
็ฝฎ๏ผไฝๆฏ้จๅๅ
ๅฎนไผ่ขซ่ฆ็๏ผ่ฏทๅฐฝๅฟซ่ฟ็งป</span></span>
|
||||
<span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;"> command_start</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [ </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"/"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">""</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ] </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๆไปคๅ็ผ๏ผ่ฅๆฒกๆ""็ฉบๅฝไปคๅคด๏ผ่ฏทๅผๅฏalconna_use_command_startไฟ่ฏalconna่งฃๆๆญฃๅธธ</span></span>
|
||||
<span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;"> host</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">127.0.0.1</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # ็ๅฌๅฐๅ๏ผ้ป่ฎคไธบๆฌๆบ๏ผ่ฅ่ฆๆฅๆถๅค้จ่ฏทๆฑ่ฏทๅกซๅ0.0.0.0</span></span>
|
@ -1,3 +1,3 @@
|
||||
import{_ as o,c as t,a7 as a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็ญ็","description":"","frontmatter":{"title":"็ญ็","order":3},"headers":[],"relativePath":"deploy/fandq.md","filePath":"zh/deploy/fandq.md","lastUpdated":1729881298000}'),i={name:"deploy/fandq.md"};function d(n,e,r,p,c,s){return l(),t("div",null,e[0]||(e[0]=[a(`<h1 id="็ญ็" tabindex="-1">็ญ็ <a class="header-anchor" href="#็ญ็" aria-label="Permalink to "็ญ็"">โ</a></h1><h2 id="ๅธธ่ง้ฎ้ข" tabindex="-1"><strong>ๅธธ่ง้ฎ้ข</strong> <a class="header-anchor" href="#ๅธธ่ง้ฎ้ข" aria-label="Permalink to "**ๅธธ่ง้ฎ้ข**"">โ</a></h2><ul><li><p>่ฎพๅคไธPython็ฏๅขๅคชไนฑไบ๏ผpipๅpythonไธๅฏนๅบๆไนๅ๏ผ</p><ul><li>่ฏทไฝฟ็จ<code>/path/to/python -m pip install -r requirements.txt</code>ๆฅๅฎ่ฃ
ไพ่ต๏ผ ็ถๅ็จ<code>/path/to/python main.py</code>ๆฅๅฏๅจBot๏ผ ๅ
ถไธญ<code>/path/to/python</code>ๆฏไฝ ่ฆ็จๆฅ่ฟ่กBot็ๅฏๆง่กๆไปถ</li></ul></li><li><p>ๆดๆฐ่ฝป้ชๅคฑ่ดฅ๏ผๆฅ้<code>InvalidGitRepositoryError</code></p><ul><li>่ฏทๆญฃ็กฎๅฎ่ฃ
<code>Git</code>๏ผๅนถไฝฟ็จๅ
้่้็ดๆฅไธ่ฝฝ็ๆนๅผ้จ็ฝฒ่ฝป้ช</li></ul></li><li><p>ๆไนๅฏนๆฅ่ๅคฉๅนณๅฐ๏ผ</p><ul><li>Bot้จๅๆไปถๆไพไบๅฏนๆฅ็นๅฎๅนณๅฐ็่ฝๅ๏ผไพๅฆไฝฟ็จNoneBotๆไปถๅฏๅฏนๆฅๆฏๆ็้้
ๅจๅนณๅฐ</li></ul></li><li><p><code>Playwright</code>ๅฎ่ฃ
ๅคฑ่ดฅ</p><ul><li>่พๅ
ฅ<code>playwright install</code>ๅฎ่ฃ
ๆต่งๅจ</li></ul></li><li><p>ๆ็ๆไปถๅฎ่ฃ
ๅๆฅ้ๆ ๆณๅฏๅจ</p><ul><li>่ฏทๅ
ๆฅ้
ๆไปถๆๆกฃ๏ผ็กฎ่ฎคๆไปถๅฟ
่ฆ้
็ฝฎ้กนๅฎๅฅฝๅ๏ผไป็ถๅบ็ฐ้ฎ้ข๏ผ่ฏท่็ณปๆไปถไฝ่
ๆๅจๅฎๅ
จๆจกๅผ<code>safe_mode: true</code>ไธๅฏๅจ่ฝป้ช๏ผๅจๅฎๅ
จๆจกๅผไธไฝ ๅฏไปฅไฝฟ็จ<code>npm uninstall</code>ๅธ่ฝฝ้ฎ้ขๆไปถ</li></ul></li></ul><h2 id="ๅ
ถไป้ฎ้ข" tabindex="-1">ๅ
ถไป้ฎ้ข <a class="header-anchor" href="#ๅ
ถไป้ฎ้ข" aria-label="Permalink to "ๅ
ถไป้ฎ้ข"">โ</a></h2><pre><code>-
|
||||
import{_ as o,c as t,a7 as a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็ญ็","description":"","frontmatter":{"title":"็ญ็","order":3},"headers":[],"relativePath":"deploy/fandq.md","filePath":"zh/deploy/fandq.md","lastUpdated":1734116271000}'),i={name:"deploy/fandq.md"};function d(n,e,r,p,c,s){return l(),t("div",null,e[0]||(e[0]=[a(`<h1 id="็ญ็" tabindex="-1">็ญ็ <a class="header-anchor" href="#็ญ็" aria-label="Permalink to "็ญ็"">โ</a></h1><h2 id="ๅธธ่ง้ฎ้ข" tabindex="-1"><strong>ๅธธ่ง้ฎ้ข</strong> <a class="header-anchor" href="#ๅธธ่ง้ฎ้ข" aria-label="Permalink to "**ๅธธ่ง้ฎ้ข**"">โ</a></h2><ul><li><p>่ฎพๅคไธPython็ฏๅขๅคชไนฑไบ๏ผpipๅpythonไธๅฏนๅบๆไนๅ๏ผ</p><ul><li>่ฏทไฝฟ็จ<code>/path/to/python -m pip install -r requirements.txt</code>ๆฅๅฎ่ฃ
ไพ่ต๏ผ ็ถๅ็จ<code>/path/to/python main.py</code>ๆฅๅฏๅจBot๏ผ ๅ
ถไธญ<code>/path/to/python</code>ๆฏไฝ ่ฆ็จๆฅ่ฟ่กBot็ๅฏๆง่กๆไปถ</li></ul></li><li><p>ๆดๆฐ่ฝป้ชๅคฑ่ดฅ๏ผๆฅ้<code>InvalidGitRepositoryError</code></p><ul><li>่ฏทๆญฃ็กฎๅฎ่ฃ
<code>Git</code>๏ผๅนถไฝฟ็จๅ
้่้็ดๆฅไธ่ฝฝ็ๆนๅผ้จ็ฝฒ่ฝป้ช</li></ul></li><li><p>ๆไนๅฏนๆฅ่ๅคฉๅนณๅฐ๏ผ</p><ul><li>Bot้จๅๆไปถๆไพไบๅฏนๆฅ็นๅฎๅนณๅฐ็่ฝๅ๏ผไพๅฆไฝฟ็จNoneBotๆไปถๅฏๅฏนๆฅๆฏๆ็้้
ๅจๅนณๅฐ</li></ul></li><li><p><code>Playwright</code>ๅฎ่ฃ
ๅคฑ่ดฅ</p><ul><li>่พๅ
ฅ<code>playwright install</code>ๅฎ่ฃ
ๆต่งๅจ</li></ul></li><li><p>ๆ็ๆไปถๅฎ่ฃ
ๅๆฅ้ๆ ๆณๅฏๅจ</p><ul><li>่ฏทๅ
ๆฅ้
ๆไปถๆๆกฃ๏ผ็กฎ่ฎคๆไปถๅฟ
่ฆ้
็ฝฎ้กนๅฎๅฅฝๅ๏ผไป็ถๅบ็ฐ้ฎ้ข๏ผ่ฏท่็ณปๆไปถไฝ่
ๆๅจๅฎๅ
จๆจกๅผ<code>safe_mode: true</code>ไธๅฏๅจ่ฝป้ช๏ผๅจๅฎๅ
จๆจกๅผไธไฝ ๅฏไปฅไฝฟ็จ<code>npm uninstall</code>ๅธ่ฝฝ้ฎ้ขๆไปถ</li></ul></li></ul><h2 id="ๅ
ถไป้ฎ้ข" tabindex="-1">ๅ
ถไป้ฎ้ข <a class="header-anchor" href="#ๅ
ถไป้ฎ้ข" aria-label="Permalink to "ๅ
ถไป้ฎ้ข"">โ</a></h2><pre><code>-
|
||||
ๅ ๅ
ฅQQ็พค[775840726](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726)
|
||||
</code></pre>`,5)]))}const m=o(i,[["render",d]]);export{u as __pageData,m as default};
|
@ -1,3 +1,3 @@
|
||||
import{_ as o,c as t,a7 as a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็ญ็","description":"","frontmatter":{"title":"็ญ็","order":3},"headers":[],"relativePath":"deploy/fandq.md","filePath":"zh/deploy/fandq.md","lastUpdated":1729881298000}'),i={name:"deploy/fandq.md"};function d(n,e,r,p,c,s){return l(),t("div",null,e[0]||(e[0]=[a(`<h1 id="็ญ็" tabindex="-1">็ญ็ <a class="header-anchor" href="#็ญ็" aria-label="Permalink to "็ญ็"">โ</a></h1><h2 id="ๅธธ่ง้ฎ้ข" tabindex="-1"><strong>ๅธธ่ง้ฎ้ข</strong> <a class="header-anchor" href="#ๅธธ่ง้ฎ้ข" aria-label="Permalink to "**ๅธธ่ง้ฎ้ข**"">โ</a></h2><ul><li><p>่ฎพๅคไธPython็ฏๅขๅคชไนฑไบ๏ผpipๅpythonไธๅฏนๅบๆไนๅ๏ผ</p><ul><li>่ฏทไฝฟ็จ<code>/path/to/python -m pip install -r requirements.txt</code>ๆฅๅฎ่ฃ
ไพ่ต๏ผ ็ถๅ็จ<code>/path/to/python main.py</code>ๆฅๅฏๅจBot๏ผ ๅ
ถไธญ<code>/path/to/python</code>ๆฏไฝ ่ฆ็จๆฅ่ฟ่กBot็ๅฏๆง่กๆไปถ</li></ul></li><li><p>ๆดๆฐ่ฝป้ชๅคฑ่ดฅ๏ผๆฅ้<code>InvalidGitRepositoryError</code></p><ul><li>่ฏทๆญฃ็กฎๅฎ่ฃ
<code>Git</code>๏ผๅนถไฝฟ็จๅ
้่้็ดๆฅไธ่ฝฝ็ๆนๅผ้จ็ฝฒ่ฝป้ช</li></ul></li><li><p>ๆไนๅฏนๆฅ่ๅคฉๅนณๅฐ๏ผ</p><ul><li>Bot้จๅๆไปถๆไพไบๅฏนๆฅ็นๅฎๅนณๅฐ็่ฝๅ๏ผไพๅฆไฝฟ็จNoneBotๆไปถๅฏๅฏนๆฅๆฏๆ็้้
ๅจๅนณๅฐ</li></ul></li><li><p><code>Playwright</code>ๅฎ่ฃ
ๅคฑ่ดฅ</p><ul><li>่พๅ
ฅ<code>playwright install</code>ๅฎ่ฃ
ๆต่งๅจ</li></ul></li><li><p>ๆ็ๆไปถๅฎ่ฃ
ๅๆฅ้ๆ ๆณๅฏๅจ</p><ul><li>่ฏทๅ
ๆฅ้
ๆไปถๆๆกฃ๏ผ็กฎ่ฎคๆไปถๅฟ
่ฆ้
็ฝฎ้กนๅฎๅฅฝๅ๏ผไป็ถๅบ็ฐ้ฎ้ข๏ผ่ฏท่็ณปๆไปถไฝ่
ๆๅจๅฎๅ
จๆจกๅผ<code>safe_mode: true</code>ไธๅฏๅจ่ฝป้ช๏ผๅจๅฎๅ
จๆจกๅผไธไฝ ๅฏไปฅไฝฟ็จ<code>npm uninstall</code>ๅธ่ฝฝ้ฎ้ขๆไปถ</li></ul></li></ul><h2 id="ๅ
ถไป้ฎ้ข" tabindex="-1">ๅ
ถไป้ฎ้ข <a class="header-anchor" href="#ๅ
ถไป้ฎ้ข" aria-label="Permalink to "ๅ
ถไป้ฎ้ข"">โ</a></h2><pre><code>-
|
||||
import{_ as o,c as t,a7 as a,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็ญ็","description":"","frontmatter":{"title":"็ญ็","order":3},"headers":[],"relativePath":"deploy/fandq.md","filePath":"zh/deploy/fandq.md","lastUpdated":1734116271000}'),i={name:"deploy/fandq.md"};function d(n,e,r,p,c,s){return l(),t("div",null,e[0]||(e[0]=[a(`<h1 id="็ญ็" tabindex="-1">็ญ็ <a class="header-anchor" href="#็ญ็" aria-label="Permalink to "็ญ็"">โ</a></h1><h2 id="ๅธธ่ง้ฎ้ข" tabindex="-1"><strong>ๅธธ่ง้ฎ้ข</strong> <a class="header-anchor" href="#ๅธธ่ง้ฎ้ข" aria-label="Permalink to "**ๅธธ่ง้ฎ้ข**"">โ</a></h2><ul><li><p>่ฎพๅคไธPython็ฏๅขๅคชไนฑไบ๏ผpipๅpythonไธๅฏนๅบๆไนๅ๏ผ</p><ul><li>่ฏทไฝฟ็จ<code>/path/to/python -m pip install -r requirements.txt</code>ๆฅๅฎ่ฃ
ไพ่ต๏ผ ็ถๅ็จ<code>/path/to/python main.py</code>ๆฅๅฏๅจBot๏ผ ๅ
ถไธญ<code>/path/to/python</code>ๆฏไฝ ่ฆ็จๆฅ่ฟ่กBot็ๅฏๆง่กๆไปถ</li></ul></li><li><p>ๆดๆฐ่ฝป้ชๅคฑ่ดฅ๏ผๆฅ้<code>InvalidGitRepositoryError</code></p><ul><li>่ฏทๆญฃ็กฎๅฎ่ฃ
<code>Git</code>๏ผๅนถไฝฟ็จๅ
้่้็ดๆฅไธ่ฝฝ็ๆนๅผ้จ็ฝฒ่ฝป้ช</li></ul></li><li><p>ๆไนๅฏนๆฅ่ๅคฉๅนณๅฐ๏ผ</p><ul><li>Bot้จๅๆไปถๆไพไบๅฏนๆฅ็นๅฎๅนณๅฐ็่ฝๅ๏ผไพๅฆไฝฟ็จNoneBotๆไปถๅฏๅฏนๆฅๆฏๆ็้้
ๅจๅนณๅฐ</li></ul></li><li><p><code>Playwright</code>ๅฎ่ฃ
ๅคฑ่ดฅ</p><ul><li>่พๅ
ฅ<code>playwright install</code>ๅฎ่ฃ
ๆต่งๅจ</li></ul></li><li><p>ๆ็ๆไปถๅฎ่ฃ
ๅๆฅ้ๆ ๆณๅฏๅจ</p><ul><li>่ฏทๅ
ๆฅ้
ๆไปถๆๆกฃ๏ผ็กฎ่ฎคๆไปถๅฟ
่ฆ้
็ฝฎ้กนๅฎๅฅฝๅ๏ผไป็ถๅบ็ฐ้ฎ้ข๏ผ่ฏท่็ณปๆไปถไฝ่
ๆๅจๅฎๅ
จๆจกๅผ<code>safe_mode: true</code>ไธๅฏๅจ่ฝป้ช๏ผๅจๅฎๅ
จๆจกๅผไธไฝ ๅฏไปฅไฝฟ็จ<code>npm uninstall</code>ๅธ่ฝฝ้ฎ้ขๆไปถ</li></ul></li></ul><h2 id="ๅ
ถไป้ฎ้ข" tabindex="-1">ๅ
ถไป้ฎ้ข <a class="header-anchor" href="#ๅ
ถไป้ฎ้ข" aria-label="Permalink to "ๅ
ถไป้ฎ้ข"">โ</a></h2><pre><code>-
|
||||
ๅ ๅ
ฅQQ็พค[775840726](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726)
|
||||
</code></pre>`,5)]))}const m=o(i,[["render",d]]);export{u as __pageData,m as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"ๅฎ่ฃ
","description":"","frontmatter":{"title":"ๅฎ่ฃ
","order":1},"headers":[],"relativePath":"deploy/install.md","filePath":"zh/deploy/install.md","lastUpdated":1731694626000}'),e={name:"deploy/install.md"};function l(h,s,p,o,d,k){return n(),a("div",null,s[0]||(s[0]=[t(`<h1 id="ๅฎ่ฃ
" tabindex="-1">ๅฎ่ฃ
<a class="header-anchor" href="#ๅฎ่ฃ
" aria-label="Permalink to "ๅฎ่ฃ
"">โ</a></h1><h2 id="ๅธธ่ง้จ็ฝฒ" tabindex="-1"><strong>ๅธธ่ง้จ็ฝฒ</strong> <a class="header-anchor" href="#ๅธธ่ง้จ็ฝฒ" aria-label="Permalink to "**ๅธธ่ง้จ็ฝฒ**"">โ</a></h2><ol><li>ๅฎ่ฃ
<a href="https://git-scm.com/download/" target="_blank" rel="noreferrer"><code>Git</code></a> ๅ <a href="https://www.python.org/downloads/release/python-31010/" target="_blank" rel="noreferrer"><code>Python3.10+</code></a> ็ฏๅข</li></ol><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅ
้้กน็ฎๅฐๆฌๅฐ๏ผ่ฝป้ชไฝฟ็จGit่ฟ่ก็ๆฌ็ฎก็๏ผ่ฏฅๆญฅ้ชคไธบๅฟ
่ฆ้กน</span></span>
|
||||
import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"ๅฎ่ฃ
","description":"","frontmatter":{"title":"ๅฎ่ฃ
","order":1},"headers":[],"relativePath":"deploy/install.md","filePath":"zh/deploy/install.md","lastUpdated":1734116271000}'),e={name:"deploy/install.md"};function l(h,s,p,o,d,k){return n(),a("div",null,s[0]||(s[0]=[t(`<h1 id="ๅฎ่ฃ
" tabindex="-1">ๅฎ่ฃ
<a class="header-anchor" href="#ๅฎ่ฃ
" aria-label="Permalink to "ๅฎ่ฃ
"">โ</a></h1><h2 id="ๅธธ่ง้จ็ฝฒ" tabindex="-1"><strong>ๅธธ่ง้จ็ฝฒ</strong> <a class="header-anchor" href="#ๅธธ่ง้จ็ฝฒ" aria-label="Permalink to "**ๅธธ่ง้จ็ฝฒ**"">โ</a></h2><ol><li>ๅฎ่ฃ
<a href="https://git-scm.com/download/" target="_blank" rel="noreferrer"><code>Git</code></a> ๅ <a href="https://www.python.org/downloads/release/python-31010/" target="_blank" rel="noreferrer"><code>Python3.10+</code></a> ็ฏๅข</li></ol><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅ
้้กน็ฎๅฐๆฌๅฐ๏ผ่ฝป้ชไฝฟ็จGit่ฟ่ก็ๆฌ็ฎก็๏ผ่ฏฅๆญฅ้ชคไธบๅฟ
่ฆ้กน</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">git</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> clone</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> https://github.com/LiteyukiStudio/LiteyukiBot</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --depth=1</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # ่ฅไฝ ไธ่ฝ่ฎฟ้ฎGithub๏ผๅฏไปฅไฝฟ็จLiteyuki้ๅ๏ผhttps://git.liteyuki.icu/bot/app</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅๆขๅฐBot็ฎๅฝไธ</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"ๅฎ่ฃ
","description":"","frontmatter":{"title":"ๅฎ่ฃ
","order":1},"headers":[],"relativePath":"deploy/install.md","filePath":"zh/deploy/install.md","lastUpdated":1731694626000}'),e={name:"deploy/install.md"};function l(h,s,p,o,d,k){return n(),a("div",null,s[0]||(s[0]=[t(`<h1 id="ๅฎ่ฃ
" tabindex="-1">ๅฎ่ฃ
<a class="header-anchor" href="#ๅฎ่ฃ
" aria-label="Permalink to "ๅฎ่ฃ
"">โ</a></h1><h2 id="ๅธธ่ง้จ็ฝฒ" tabindex="-1"><strong>ๅธธ่ง้จ็ฝฒ</strong> <a class="header-anchor" href="#ๅธธ่ง้จ็ฝฒ" aria-label="Permalink to "**ๅธธ่ง้จ็ฝฒ**"">โ</a></h2><ol><li>ๅฎ่ฃ
<a href="https://git-scm.com/download/" target="_blank" rel="noreferrer"><code>Git</code></a> ๅ <a href="https://www.python.org/downloads/release/python-31010/" target="_blank" rel="noreferrer"><code>Python3.10+</code></a> ็ฏๅข</li></ol><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅ
้้กน็ฎๅฐๆฌๅฐ๏ผ่ฝป้ชไฝฟ็จGit่ฟ่ก็ๆฌ็ฎก็๏ผ่ฏฅๆญฅ้ชคไธบๅฟ
่ฆ้กน</span></span>
|
||||
import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"ๅฎ่ฃ
","description":"","frontmatter":{"title":"ๅฎ่ฃ
","order":1},"headers":[],"relativePath":"deploy/install.md","filePath":"zh/deploy/install.md","lastUpdated":1734116271000}'),e={name:"deploy/install.md"};function l(h,s,p,o,d,k){return n(),a("div",null,s[0]||(s[0]=[t(`<h1 id="ๅฎ่ฃ
" tabindex="-1">ๅฎ่ฃ
<a class="header-anchor" href="#ๅฎ่ฃ
" aria-label="Permalink to "ๅฎ่ฃ
"">โ</a></h1><h2 id="ๅธธ่ง้จ็ฝฒ" tabindex="-1"><strong>ๅธธ่ง้จ็ฝฒ</strong> <a class="header-anchor" href="#ๅธธ่ง้จ็ฝฒ" aria-label="Permalink to "**ๅธธ่ง้จ็ฝฒ**"">โ</a></h2><ol><li>ๅฎ่ฃ
<a href="https://git-scm.com/download/" target="_blank" rel="noreferrer"><code>Git</code></a> ๅ <a href="https://www.python.org/downloads/release/python-31010/" target="_blank" rel="noreferrer"><code>Python3.10+</code></a> ็ฏๅข</li></ol><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅ
้้กน็ฎๅฐๆฌๅฐ๏ผ่ฝป้ชไฝฟ็จGit่ฟ่ก็ๆฌ็ฎก็๏ผ่ฏฅๆญฅ้ชคไธบๅฟ
่ฆ้กน</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">git</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> clone</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> https://github.com/LiteyukiStudio/LiteyukiBot</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --depth=1</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # ่ฅไฝ ไธ่ฝ่ฎฟ้ฎGithub๏ผๅฏไปฅไฝฟ็จLiteyuki้ๅ๏ผhttps://git.liteyuki.icu/bot/app</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅๆขๅฐBot็ฎๅฝไธ</span></span>
|
@ -1 +1 @@
|
||||
import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const b=JSON.parse('{"title":"ๆไฝณๅฎ่ทต","description":"","frontmatter":{"title":"ๆไฝณๅฎ่ทต","order":10},"headers":[],"relativePath":"dev/best_practices.md","filePath":"zh/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"dev/best_practices.md"};function l(n,t,u,h,s,c){return r(),i("div",null,t[0]||(t[0]=[a('<h1 id="ๆไฝณๅฎ่ทต" tabindex="-1">ๆไฝณๅฎ่ทต <a class="header-anchor" href="#ๆไฝณๅฎ่ทต" aria-label="Permalink to "ๆไฝณๅฎ่ทต"">โ</a></h1><h2 id="ๆบๅจไบบๅบ็จ" tabindex="-1">ๆบๅจไบบๅบ็จ <a class="header-anchor" href="#ๆบๅจไบบๅบ็จ" aria-label="Permalink to "ๆบๅจไบบๅบ็จ"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/LiteyukiBot" target="_blank" rel="noreferrer">LiteyukiBot</a>๏ผ่ฝป้ชๅฎๆนๆบๅจไบบ</li><li><a href="https://github.com/TriM-Organization/LiteyukiBot-TriM" target="_blank" rel="noreferrer">LiteyukiBot-TriM</a>๏ผTriM ๅฎๆนๅฎๅถ่ฝป้ชๆบๅจไบบ</li><li><a href="https://git.liteyuki.icu/LiteyukiStudio/marsho-alpha" target="_blank" rel="noreferrer">Liteyuki Marsho</a>๏ผๅบไบ ่ฝป้ช ๅ github model ็ๅฏ็ฑ็ซๅจๆบๅจไบบ</li></ul><h2 id="ๆไปถ" tabindex="-1">ๆไปถ <a class="header-anchor" href="#ๆไปถ" aria-label="Permalink to "ๆไปถ"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/liteyukibot-plugin-nonebot" target="_blank" rel="noreferrer">liteyukibot-plugin-nonebot</a>๏ผ่ฝป้ชๆบๅจไบบ NoneBot ๆไปถ๏ผ่ฎฉ่ฝป้ชๆฏๆ NoneBot</li><li><a href="https://github.com/LiteyukiStudio/nonebot-plugin-liteyukibot" target="_blank" rel="noreferrer">nonebot-plugin-liteyukibot</a>๏ผNoneBot ๆไปถ๏ผ่ฎฉ NoneBot ๆฏๆ่ฝป้ช</li></ul><h2 id="ๅ
ถไป" tabindex="-1">ๅ
ถไป <a class="header-anchor" href="#ๅ
ถไป" aria-label="Permalink to "ๅ
ถไป"">โ</a></h2><ul><li><a href="https://starmap.liteyuki.icu" target="_blank" rel="noreferrer">liteyuki starmap</a>๏ผ่ฝป้ชๅฎๆนๆๅพ๏ผๅฑ็คบ่ฝป้ช็ๆๆๅฎไพๅๅ
ถไฝ็ฝฎๅๅธ</li><li><a href="https://timerainstarsky.github.io/TRSS_Liteyuki/" target="_blank" rel="noreferrer">TRSS_Liteyuki</a>๏ผTRSS LiteyukiBot ็ฎก็่ๆฌ</li><li><a href="https://github.com/LiteyukiStudio/litedoc" target="_blank" rel="noreferrer">litedoc</a>๏ผ่ฝป้ชAPIๆๆกฃ็ๆๅจ</li><li>liteyukibot-api ๏ผ้ญๆบ๏ผ๏ผ่ฝป้ชๆบๅจไบบ็ป่ฎกๆฅๅฃ</li></ul>',7)]))}const k=e(o,[["render",l]]);export{b as __pageData,k as default};
|
||||
import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const b=JSON.parse('{"title":"ๆไฝณๅฎ่ทต","description":"","frontmatter":{"title":"ๆไฝณๅฎ่ทต","order":10},"headers":[],"relativePath":"dev/best_practices.md","filePath":"zh/dev/best_practices.md","lastUpdated":1734116271000}'),o={name:"dev/best_practices.md"};function l(n,t,u,h,s,c){return r(),i("div",null,t[0]||(t[0]=[a('<h1 id="ๆไฝณๅฎ่ทต" tabindex="-1">ๆไฝณๅฎ่ทต <a class="header-anchor" href="#ๆไฝณๅฎ่ทต" aria-label="Permalink to "ๆไฝณๅฎ่ทต"">โ</a></h1><h2 id="ๆบๅจไบบๅบ็จ" tabindex="-1">ๆบๅจไบบๅบ็จ <a class="header-anchor" href="#ๆบๅจไบบๅบ็จ" aria-label="Permalink to "ๆบๅจไบบๅบ็จ"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/LiteyukiBot" target="_blank" rel="noreferrer">LiteyukiBot</a>๏ผ่ฝป้ชๅฎๆนๆบๅจไบบ</li><li><a href="https://github.com/TriM-Organization/LiteyukiBot-TriM" target="_blank" rel="noreferrer">LiteyukiBot-TriM</a>๏ผTriM ๅฎๆนๅฎๅถ่ฝป้ชๆบๅจไบบ</li><li><a href="https://git.liteyuki.icu/LiteyukiStudio/marsho-alpha" target="_blank" rel="noreferrer">Liteyuki Marsho</a>๏ผๅบไบ ่ฝป้ช ๅ github model ็ๅฏ็ฑ็ซๅจๆบๅจไบบ</li></ul><h2 id="ๆไปถ" tabindex="-1">ๆไปถ <a class="header-anchor" href="#ๆไปถ" aria-label="Permalink to "ๆไปถ"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/liteyukibot-plugin-nonebot" target="_blank" rel="noreferrer">liteyukibot-plugin-nonebot</a>๏ผ่ฝป้ชๆบๅจไบบ NoneBot ๆไปถ๏ผ่ฎฉ่ฝป้ชๆฏๆ NoneBot</li><li><a href="https://github.com/LiteyukiStudio/nonebot-plugin-liteyukibot" target="_blank" rel="noreferrer">nonebot-plugin-liteyukibot</a>๏ผNoneBot ๆไปถ๏ผ่ฎฉ NoneBot ๆฏๆ่ฝป้ช</li></ul><h2 id="ๅ
ถไป" tabindex="-1">ๅ
ถไป <a class="header-anchor" href="#ๅ
ถไป" aria-label="Permalink to "ๅ
ถไป"">โ</a></h2><ul><li><a href="https://starmap.liteyuki.icu" target="_blank" rel="noreferrer">liteyuki starmap</a>๏ผ่ฝป้ชๅฎๆนๆๅพ๏ผๅฑ็คบ่ฝป้ช็ๆๆๅฎไพๅๅ
ถไฝ็ฝฎๅๅธ</li><li><a href="https://timerainstarsky.github.io/TRSS_Liteyuki/" target="_blank" rel="noreferrer">TRSS_Liteyuki</a>๏ผTRSS LiteyukiBot ็ฎก็่ๆฌ</li><li><a href="https://github.com/LiteyukiStudio/litedoc" target="_blank" rel="noreferrer">litedoc</a>๏ผ่ฝป้ชAPIๆๆกฃ็ๆๅจ</li><li>liteyukibot-api ๏ผ้ญๆบ๏ผ๏ผ่ฝป้ชๆบๅจไบบ็ป่ฎกๆฅๅฃ</li></ul>',7)]))}const k=e(o,[["render",l]]);export{b as __pageData,k as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const b=JSON.parse('{"title":"ๆไฝณๅฎ่ทต","description":"","frontmatter":{"title":"ๆไฝณๅฎ่ทต","order":10},"headers":[],"relativePath":"dev/best_practices.md","filePath":"zh/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"dev/best_practices.md"};function l(n,t,u,h,s,c){return r(),i("div",null,t[0]||(t[0]=[a('<h1 id="ๆไฝณๅฎ่ทต" tabindex="-1">ๆไฝณๅฎ่ทต <a class="header-anchor" href="#ๆไฝณๅฎ่ทต" aria-label="Permalink to "ๆไฝณๅฎ่ทต"">โ</a></h1><h2 id="ๆบๅจไบบๅบ็จ" tabindex="-1">ๆบๅจไบบๅบ็จ <a class="header-anchor" href="#ๆบๅจไบบๅบ็จ" aria-label="Permalink to "ๆบๅจไบบๅบ็จ"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/LiteyukiBot" target="_blank" rel="noreferrer">LiteyukiBot</a>๏ผ่ฝป้ชๅฎๆนๆบๅจไบบ</li><li><a href="https://github.com/TriM-Organization/LiteyukiBot-TriM" target="_blank" rel="noreferrer">LiteyukiBot-TriM</a>๏ผTriM ๅฎๆนๅฎๅถ่ฝป้ชๆบๅจไบบ</li><li><a href="https://git.liteyuki.icu/LiteyukiStudio/marsho-alpha" target="_blank" rel="noreferrer">Liteyuki Marsho</a>๏ผๅบไบ ่ฝป้ช ๅ github model ็ๅฏ็ฑ็ซๅจๆบๅจไบบ</li></ul><h2 id="ๆไปถ" tabindex="-1">ๆไปถ <a class="header-anchor" href="#ๆไปถ" aria-label="Permalink to "ๆไปถ"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/liteyukibot-plugin-nonebot" target="_blank" rel="noreferrer">liteyukibot-plugin-nonebot</a>๏ผ่ฝป้ชๆบๅจไบบ NoneBot ๆไปถ๏ผ่ฎฉ่ฝป้ชๆฏๆ NoneBot</li><li><a href="https://github.com/LiteyukiStudio/nonebot-plugin-liteyukibot" target="_blank" rel="noreferrer">nonebot-plugin-liteyukibot</a>๏ผNoneBot ๆไปถ๏ผ่ฎฉ NoneBot ๆฏๆ่ฝป้ช</li></ul><h2 id="ๅ
ถไป" tabindex="-1">ๅ
ถไป <a class="header-anchor" href="#ๅ
ถไป" aria-label="Permalink to "ๅ
ถไป"">โ</a></h2><ul><li><a href="https://starmap.liteyuki.icu" target="_blank" rel="noreferrer">liteyuki starmap</a>๏ผ่ฝป้ชๅฎๆนๆๅพ๏ผๅฑ็คบ่ฝป้ช็ๆๆๅฎไพๅๅ
ถไฝ็ฝฎๅๅธ</li><li><a href="https://timerainstarsky.github.io/TRSS_Liteyuki/" target="_blank" rel="noreferrer">TRSS_Liteyuki</a>๏ผTRSS LiteyukiBot ็ฎก็่ๆฌ</li><li><a href="https://github.com/LiteyukiStudio/litedoc" target="_blank" rel="noreferrer">litedoc</a>๏ผ่ฝป้ชAPIๆๆกฃ็ๆๅจ</li><li>liteyukibot-api ๏ผ้ญๆบ๏ผ๏ผ่ฝป้ชๆบๅจไบบ็ป่ฎกๆฅๅฃ</li></ul>',7)]))}const k=e(o,[["render",l]]);export{b as __pageData,k as default};
|
||||
import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const b=JSON.parse('{"title":"ๆไฝณๅฎ่ทต","description":"","frontmatter":{"title":"ๆไฝณๅฎ่ทต","order":10},"headers":[],"relativePath":"dev/best_practices.md","filePath":"zh/dev/best_practices.md","lastUpdated":1734116271000}'),o={name:"dev/best_practices.md"};function l(n,t,u,h,s,c){return r(),i("div",null,t[0]||(t[0]=[a('<h1 id="ๆไฝณๅฎ่ทต" tabindex="-1">ๆไฝณๅฎ่ทต <a class="header-anchor" href="#ๆไฝณๅฎ่ทต" aria-label="Permalink to "ๆไฝณๅฎ่ทต"">โ</a></h1><h2 id="ๆบๅจไบบๅบ็จ" tabindex="-1">ๆบๅจไบบๅบ็จ <a class="header-anchor" href="#ๆบๅจไบบๅบ็จ" aria-label="Permalink to "ๆบๅจไบบๅบ็จ"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/LiteyukiBot" target="_blank" rel="noreferrer">LiteyukiBot</a>๏ผ่ฝป้ชๅฎๆนๆบๅจไบบ</li><li><a href="https://github.com/TriM-Organization/LiteyukiBot-TriM" target="_blank" rel="noreferrer">LiteyukiBot-TriM</a>๏ผTriM ๅฎๆนๅฎๅถ่ฝป้ชๆบๅจไบบ</li><li><a href="https://git.liteyuki.icu/LiteyukiStudio/marsho-alpha" target="_blank" rel="noreferrer">Liteyuki Marsho</a>๏ผๅบไบ ่ฝป้ช ๅ github model ็ๅฏ็ฑ็ซๅจๆบๅจไบบ</li></ul><h2 id="ๆไปถ" tabindex="-1">ๆไปถ <a class="header-anchor" href="#ๆไปถ" aria-label="Permalink to "ๆไปถ"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/liteyukibot-plugin-nonebot" target="_blank" rel="noreferrer">liteyukibot-plugin-nonebot</a>๏ผ่ฝป้ชๆบๅจไบบ NoneBot ๆไปถ๏ผ่ฎฉ่ฝป้ชๆฏๆ NoneBot</li><li><a href="https://github.com/LiteyukiStudio/nonebot-plugin-liteyukibot" target="_blank" rel="noreferrer">nonebot-plugin-liteyukibot</a>๏ผNoneBot ๆไปถ๏ผ่ฎฉ NoneBot ๆฏๆ่ฝป้ช</li></ul><h2 id="ๅ
ถไป" tabindex="-1">ๅ
ถไป <a class="header-anchor" href="#ๅ
ถไป" aria-label="Permalink to "ๅ
ถไป"">โ</a></h2><ul><li><a href="https://starmap.liteyuki.icu" target="_blank" rel="noreferrer">liteyuki starmap</a>๏ผ่ฝป้ชๅฎๆนๆๅพ๏ผๅฑ็คบ่ฝป้ช็ๆๆๅฎไพๅๅ
ถไฝ็ฝฎๅๅธ</li><li><a href="https://timerainstarsky.github.io/TRSS_Liteyuki/" target="_blank" rel="noreferrer">TRSS_Liteyuki</a>๏ผTRSS LiteyukiBot ็ฎก็่ๆฌ</li><li><a href="https://github.com/LiteyukiStudio/litedoc" target="_blank" rel="noreferrer">litedoc</a>๏ผ่ฝป้ชAPIๆๆกฃ็ๆๅจ</li><li>liteyukibot-api ๏ผ้ญๆบ๏ผ๏ผ่ฝป้ชๆบๅจไบบ็ป่ฎกๆฅๅฃ</li></ul>',7)]))}const k=e(o,[["render",l]]);export{b as __pageData,k as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"่ฟ็จ้ไฟก","description":"","frontmatter":{"title":"่ฟ็จ้ไฟก","order":4},"headers":[],"relativePath":"dev/comm.md","filePath":"zh/dev/comm.md","lastUpdated":1729881298000}'),l={name:"dev/comm.md"};function e(h,s,p,k,r,d){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="้้้ไฟก" tabindex="-1"><strong>้้้ไฟก</strong> <a class="header-anchor" href="#้้้ไฟก" aria-label="Permalink to "**้้้ไฟก**"">โ</a></h1><h3 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h3><p>่ฝป้ช่ฟ่กๅจไธป่ฟ็จ MainProcess ้๏ผๆ้จๅๅฎ็ฐๆไปถไธบไบไธไบๅ่ฝๅจๅญ่ฟ็จไธญ่ฟ่ก๏ผ่ฟๆ ทไธคไธช่ฟ็จไธไธๆๆฏไธไผไบ็ธๅนฒๆฐ็๏ผๅ ๆญคๆ ๆณ้่ฟๅ
ฑไบซๅ
ๅญๅ็ดๆฅๅฏน่ฑกไผ ้่ฟ่ก้ไฟกใ</p><p>ไพๅฆๅญ่ฟ็จๆฅๆถๅฐ็จๆทไฟกๆฏ้่ฆ้ๅฏๆบๅจไบบ๏ผ่ฟๆถๅฏไปฅ้่ฟ้้ๅฏนไธป่ฟ็จๅ้ๆถๆฏ๏ผไธป่ฟ็จๆฅๆถๅฐๆถๆฏๅ้ๅฏๅฏนๅบๅญ่ฟ็จใ</p><h3 id="็คบไพ" tabindex="-1">็คบไพ <a class="header-anchor" href="#็คบไพ" aria-label="Permalink to "็คบไพ"">โ</a></h3><p>้้ๆฏๅ
จๅๅทฅ็๏ผๆไธค็งๆฅๆถๆจกๅผ๏ผไฝไธไธช้้ๅช่ฝไฝฟ็จไธ็ง๏ผๅณ่ขซๅจๆจกๅผๅไธปๅจๆจกๅผ๏ผ่ขซๅจๆจกๅผ็ฑ<code>chan.on_receive()</code>่ฃ
้ฅฐๅ่ฐๅฝๆฐๅฎ็ฐ๏ผไธปๅจๆจกๅผ้่ฐ็จ<code>chan.receive()</code>ๅฎ็ฐ</p><ul><li>ๅๅปบๅญ่ฟ็จ็ๅๆถไผๅๅงๅไธไธช่ขซๅจ้้ๅไธไธชไธปๅจ้้๏ผไธ้้ๆ ่ฏไธบ<code>{process_name}-active</code>ๅ<code>{process_name}-passive</code>๏ผ</li><li>ไธป่ฟ็จไธญ้่ฟ<code>get_channel</code>ๅฝๆฐ่ทๅ้้ๅฏน่ฑก</li><li>ๅญ่ฟ็จไธญๅฏผๅ
ฅๅไพ<code>active_channel</code>ๅ<code>passive_channel</code>ๅณๅฏ</li></ul><blockquote><p>ๅจ่ฝป้ชๆไปถไธญ(ไธป่ฟ็จไธญ)</p></blockquote><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> asyncio</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"่ฟ็จ้ไฟก","description":"","frontmatter":{"title":"่ฟ็จ้ไฟก","order":4},"headers":[],"relativePath":"dev/comm.md","filePath":"zh/dev/comm.md","lastUpdated":1734116271000}'),l={name:"dev/comm.md"};function e(h,s,p,k,r,d){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="้้้ไฟก" tabindex="-1"><strong>้้้ไฟก</strong> <a class="header-anchor" href="#้้้ไฟก" aria-label="Permalink to "**้้้ไฟก**"">โ</a></h1><h3 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h3><p>่ฝป้ช่ฟ่กๅจไธป่ฟ็จ MainProcess ้๏ผๆ้จๅๅฎ็ฐๆไปถไธบไบไธไบๅ่ฝๅจๅญ่ฟ็จไธญ่ฟ่ก๏ผ่ฟๆ ทไธคไธช่ฟ็จไธไธๆๆฏไธไผไบ็ธๅนฒๆฐ็๏ผๅ ๆญคๆ ๆณ้่ฟๅ
ฑไบซๅ
ๅญๅ็ดๆฅๅฏน่ฑกไผ ้่ฟ่ก้ไฟกใ</p><p>ไพๅฆๅญ่ฟ็จๆฅๆถๅฐ็จๆทไฟกๆฏ้่ฆ้ๅฏๆบๅจไบบ๏ผ่ฟๆถๅฏไปฅ้่ฟ้้ๅฏนไธป่ฟ็จๅ้ๆถๆฏ๏ผไธป่ฟ็จๆฅๆถๅฐๆถๆฏๅ้ๅฏๅฏนๅบๅญ่ฟ็จใ</p><h3 id="็คบไพ" tabindex="-1">็คบไพ <a class="header-anchor" href="#็คบไพ" aria-label="Permalink to "็คบไพ"">โ</a></h3><p>้้ๆฏๅ
จๅๅทฅ็๏ผๆไธค็งๆฅๆถๆจกๅผ๏ผไฝไธไธช้้ๅช่ฝไฝฟ็จไธ็ง๏ผๅณ่ขซๅจๆจกๅผๅไธปๅจๆจกๅผ๏ผ่ขซๅจๆจกๅผ็ฑ<code>chan.on_receive()</code>่ฃ
้ฅฐๅ่ฐๅฝๆฐๅฎ็ฐ๏ผไธปๅจๆจกๅผ้่ฐ็จ<code>chan.receive()</code>ๅฎ็ฐ</p><ul><li>ๅๅปบๅญ่ฟ็จ็ๅๆถไผๅๅงๅไธไธช่ขซๅจ้้ๅไธไธชไธปๅจ้้๏ผไธ้้ๆ ่ฏไธบ<code>{process_name}-active</code>ๅ<code>{process_name}-passive</code>๏ผ</li><li>ไธป่ฟ็จไธญ้่ฟ<code>get_channel</code>ๅฝๆฐ่ทๅ้้ๅฏน่ฑก</li><li>ๅญ่ฟ็จไธญๅฏผๅ
ฅๅไพ<code>active_channel</code>ๅ<code>passive_channel</code>ๅณๅฏ</li></ul><blockquote><p>ๅจ่ฝป้ชๆไปถไธญ(ไธป่ฟ็จไธญ)</p></blockquote><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> asyncio</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.comm </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> get_channel, Channel</span></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> get_bot</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"่ฟ็จ้ไฟก","description":"","frontmatter":{"title":"่ฟ็จ้ไฟก","order":4},"headers":[],"relativePath":"dev/comm.md","filePath":"zh/dev/comm.md","lastUpdated":1729881298000}'),l={name:"dev/comm.md"};function e(h,s,p,k,r,d){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="้้้ไฟก" tabindex="-1"><strong>้้้ไฟก</strong> <a class="header-anchor" href="#้้้ไฟก" aria-label="Permalink to "**้้้ไฟก**"">โ</a></h1><h3 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h3><p>่ฝป้ช่ฟ่กๅจไธป่ฟ็จ MainProcess ้๏ผๆ้จๅๅฎ็ฐๆไปถไธบไบไธไบๅ่ฝๅจๅญ่ฟ็จไธญ่ฟ่ก๏ผ่ฟๆ ทไธคไธช่ฟ็จไธไธๆๆฏไธไผไบ็ธๅนฒๆฐ็๏ผๅ ๆญคๆ ๆณ้่ฟๅ
ฑไบซๅ
ๅญๅ็ดๆฅๅฏน่ฑกไผ ้่ฟ่ก้ไฟกใ</p><p>ไพๅฆๅญ่ฟ็จๆฅๆถๅฐ็จๆทไฟกๆฏ้่ฆ้ๅฏๆบๅจไบบ๏ผ่ฟๆถๅฏไปฅ้่ฟ้้ๅฏนไธป่ฟ็จๅ้ๆถๆฏ๏ผไธป่ฟ็จๆฅๆถๅฐๆถๆฏๅ้ๅฏๅฏนๅบๅญ่ฟ็จใ</p><h3 id="็คบไพ" tabindex="-1">็คบไพ <a class="header-anchor" href="#็คบไพ" aria-label="Permalink to "็คบไพ"">โ</a></h3><p>้้ๆฏๅ
จๅๅทฅ็๏ผๆไธค็งๆฅๆถๆจกๅผ๏ผไฝไธไธช้้ๅช่ฝไฝฟ็จไธ็ง๏ผๅณ่ขซๅจๆจกๅผๅไธปๅจๆจกๅผ๏ผ่ขซๅจๆจกๅผ็ฑ<code>chan.on_receive()</code>่ฃ
้ฅฐๅ่ฐๅฝๆฐๅฎ็ฐ๏ผไธปๅจๆจกๅผ้่ฐ็จ<code>chan.receive()</code>ๅฎ็ฐ</p><ul><li>ๅๅปบๅญ่ฟ็จ็ๅๆถไผๅๅงๅไธไธช่ขซๅจ้้ๅไธไธชไธปๅจ้้๏ผไธ้้ๆ ่ฏไธบ<code>{process_name}-active</code>ๅ<code>{process_name}-passive</code>๏ผ</li><li>ไธป่ฟ็จไธญ้่ฟ<code>get_channel</code>ๅฝๆฐ่ทๅ้้ๅฏน่ฑก</li><li>ๅญ่ฟ็จไธญๅฏผๅ
ฅๅไพ<code>active_channel</code>ๅ<code>passive_channel</code>ๅณๅฏ</li></ul><blockquote><p>ๅจ่ฝป้ชๆไปถไธญ(ไธป่ฟ็จไธญ)</p></blockquote><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> asyncio</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"่ฟ็จ้ไฟก","description":"","frontmatter":{"title":"่ฟ็จ้ไฟก","order":4},"headers":[],"relativePath":"dev/comm.md","filePath":"zh/dev/comm.md","lastUpdated":1734116271000}'),l={name:"dev/comm.md"};function e(h,s,p,k,r,d){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="้้้ไฟก" tabindex="-1"><strong>้้้ไฟก</strong> <a class="header-anchor" href="#้้้ไฟก" aria-label="Permalink to "**้้้ไฟก**"">โ</a></h1><h3 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h3><p>่ฝป้ช่ฟ่กๅจไธป่ฟ็จ MainProcess ้๏ผๆ้จๅๅฎ็ฐๆไปถไธบไบไธไบๅ่ฝๅจๅญ่ฟ็จไธญ่ฟ่ก๏ผ่ฟๆ ทไธคไธช่ฟ็จไธไธๆๆฏไธไผไบ็ธๅนฒๆฐ็๏ผๅ ๆญคๆ ๆณ้่ฟๅ
ฑไบซๅ
ๅญๅ็ดๆฅๅฏน่ฑกไผ ้่ฟ่ก้ไฟกใ</p><p>ไพๅฆๅญ่ฟ็จๆฅๆถๅฐ็จๆทไฟกๆฏ้่ฆ้ๅฏๆบๅจไบบ๏ผ่ฟๆถๅฏไปฅ้่ฟ้้ๅฏนไธป่ฟ็จๅ้ๆถๆฏ๏ผไธป่ฟ็จๆฅๆถๅฐๆถๆฏๅ้ๅฏๅฏนๅบๅญ่ฟ็จใ</p><h3 id="็คบไพ" tabindex="-1">็คบไพ <a class="header-anchor" href="#็คบไพ" aria-label="Permalink to "็คบไพ"">โ</a></h3><p>้้ๆฏๅ
จๅๅทฅ็๏ผๆไธค็งๆฅๆถๆจกๅผ๏ผไฝไธไธช้้ๅช่ฝไฝฟ็จไธ็ง๏ผๅณ่ขซๅจๆจกๅผๅไธปๅจๆจกๅผ๏ผ่ขซๅจๆจกๅผ็ฑ<code>chan.on_receive()</code>่ฃ
้ฅฐๅ่ฐๅฝๆฐๅฎ็ฐ๏ผไธปๅจๆจกๅผ้่ฐ็จ<code>chan.receive()</code>ๅฎ็ฐ</p><ul><li>ๅๅปบๅญ่ฟ็จ็ๅๆถไผๅๅงๅไธไธช่ขซๅจ้้ๅไธไธชไธปๅจ้้๏ผไธ้้ๆ ่ฏไธบ<code>{process_name}-active</code>ๅ<code>{process_name}-passive</code>๏ผ</li><li>ไธป่ฟ็จไธญ้่ฟ<code>get_channel</code>ๅฝๆฐ่ทๅ้้ๅฏน่ฑก</li><li>ๅญ่ฟ็จไธญๅฏผๅ
ฅๅไพ<code>active_channel</code>ๅ<code>passive_channel</code>ๅณๅฏ</li></ul><blockquote><p>ๅจ่ฝป้ชๆไปถไธญ(ไธป่ฟ็จไธญ)</p></blockquote><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> asyncio</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.comm </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> get_channel, Channel</span></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> get_bot</span></span>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"่ฝป้ชๅฝๆฐ","description":"","frontmatter":{"title":"่ฝป้ชๅฝๆฐ","order":2},"headers":[],"relativePath":"dev/lyfunc.md","filePath":"zh/dev/lyfunc.md","lastUpdated":1725101868000}'),l={name:"dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="่ฝป้ชๅฝๆฐ" tabindex="-1"><strong>่ฝป้ชๅฝๆฐ</strong> <a class="header-anchor" href="#่ฝป้ชๅฝๆฐ" aria-label="Permalink to "**่ฝป้ชๅฝๆฐ**"">โ</a></h1><p>่ฝป้ชๅฝๆฐ Liteyuki Function ๆฏ่ฝป้ช็ไธไธชๅ่ฝ๏ผๅฎๅ
่ฎธไฝ ๅจ่ฝป้ชไธญ่ฟ่กไธไบ่ชๅฎไน็็ฑๆฐๆฎ้ฉฑๅจ็ๅฝไปค๏ผ็ฑปไผผไบMinecraft็mcfunction๏ผๅฑไบ่ตๆบๅ
็ไธ้จๅ๏ผไฝ้ๅ็ฌ่ตท็ฏๅน
.</p><h3 id="ๅฝๆฐๆไปถ" tabindex="-1"><strong>ๅฝๆฐๆไปถ</strong> <a class="header-anchor" href="#ๅฝๆฐๆไปถ" aria-label="Permalink to "**ๅฝๆฐๆไปถ**"">โ</a></h3><p>ๅฝๆฐๆไปถๆพๅจ่ตๆบๅ
็<code>functions</code>็ฎๅฝไธ๏ผๆไปถๅไปฅ<code>.mcfunction</code> <code>.lyfunction</code> <code>.lyf</code>็ปๅฐพ๏ผไพๅฆ<code>test.mcfunction</code>๏ผๆไปถๅ
ๅฎนไธบไธ็ณปๅ็ๅฝไปค๏ผๆฏ่กไธไธชๅฝไปค๏ผๆฏๆๅ่กๆณจ้<code>#</code>(็ผ่พๆถ็่ฏญๆณ้ซไบฎๅฏ้ๅ<code>shell</code>ๆ ผๅผ)๏ผไพๅฆ๏ผ</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅจๅไฟกๅจ่พๅบ"hello world"</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"่ฝป้ชๅฝๆฐ","description":"","frontmatter":{"title":"่ฝป้ชๅฝๆฐ","order":2},"headers":[],"relativePath":"dev/lyfunc.md","filePath":"zh/dev/lyfunc.md","lastUpdated":1734116271000}'),l={name:"dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="่ฝป้ชๅฝๆฐ" tabindex="-1"><strong>่ฝป้ชๅฝๆฐ</strong> <a class="header-anchor" href="#่ฝป้ชๅฝๆฐ" aria-label="Permalink to "**่ฝป้ชๅฝๆฐ**"">โ</a></h1><p>่ฝป้ชๅฝๆฐ Liteyuki Function ๆฏ่ฝป้ช็ไธไธชๅ่ฝ๏ผๅฎๅ
่ฎธไฝ ๅจ่ฝป้ชไธญ่ฟ่กไธไบ่ชๅฎไน็็ฑๆฐๆฎ้ฉฑๅจ็ๅฝไปค๏ผ็ฑปไผผไบMinecraft็mcfunction๏ผๅฑไบ่ตๆบๅ
็ไธ้จๅ๏ผไฝ้ๅ็ฌ่ตท็ฏๅน
.</p><h3 id="ๅฝๆฐๆไปถ" tabindex="-1"><strong>ๅฝๆฐๆไปถ</strong> <a class="header-anchor" href="#ๅฝๆฐๆไปถ" aria-label="Permalink to "**ๅฝๆฐๆไปถ**"">โ</a></h3><p>ๅฝๆฐๆไปถๆพๅจ่ตๆบๅ
็<code>functions</code>็ฎๅฝไธ๏ผๆไปถๅไปฅ<code>.mcfunction</code> <code>.lyfunction</code> <code>.lyf</code>็ปๅฐพ๏ผไพๅฆ<code>test.mcfunction</code>๏ผๆไปถๅ
ๅฎนไธบไธ็ณปๅ็ๅฝไปค๏ผๆฏ่กไธไธชๅฝไปค๏ผๆฏๆๅ่กๆณจ้<code>#</code>(็ผ่พๆถ็่ฏญๆณ้ซไบฎๅฏ้ๅ<code>shell</code>ๆ ผๅผ)๏ผไพๅฆ๏ผ</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅจๅไฟกๅจ่พๅบ"hello world"</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">cmd</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> echo</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> hello</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> world</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅฆๆไฝ ๆณๅๆถ่พๅบๅค่กๅ
ๅฎนๅฏไปฅๅฐ่ฏๆข่ก็ฌฆ(Pythonๆ ผๅผ)</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"่ฝป้ชๅฝๆฐ","description":"","frontmatter":{"title":"่ฝป้ชๅฝๆฐ","order":2},"headers":[],"relativePath":"dev/lyfunc.md","filePath":"zh/dev/lyfunc.md","lastUpdated":1725101868000}'),l={name:"dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="่ฝป้ชๅฝๆฐ" tabindex="-1"><strong>่ฝป้ชๅฝๆฐ</strong> <a class="header-anchor" href="#่ฝป้ชๅฝๆฐ" aria-label="Permalink to "**่ฝป้ชๅฝๆฐ**"">โ</a></h1><p>่ฝป้ชๅฝๆฐ Liteyuki Function ๆฏ่ฝป้ช็ไธไธชๅ่ฝ๏ผๅฎๅ
่ฎธไฝ ๅจ่ฝป้ชไธญ่ฟ่กไธไบ่ชๅฎไน็็ฑๆฐๆฎ้ฉฑๅจ็ๅฝไปค๏ผ็ฑปไผผไบMinecraft็mcfunction๏ผๅฑไบ่ตๆบๅ
็ไธ้จๅ๏ผไฝ้ๅ็ฌ่ตท็ฏๅน
.</p><h3 id="ๅฝๆฐๆไปถ" tabindex="-1"><strong>ๅฝๆฐๆไปถ</strong> <a class="header-anchor" href="#ๅฝๆฐๆไปถ" aria-label="Permalink to "**ๅฝๆฐๆไปถ**"">โ</a></h3><p>ๅฝๆฐๆไปถๆพๅจ่ตๆบๅ
็<code>functions</code>็ฎๅฝไธ๏ผๆไปถๅไปฅ<code>.mcfunction</code> <code>.lyfunction</code> <code>.lyf</code>็ปๅฐพ๏ผไพๅฆ<code>test.mcfunction</code>๏ผๆไปถๅ
ๅฎนไธบไธ็ณปๅ็ๅฝไปค๏ผๆฏ่กไธไธชๅฝไปค๏ผๆฏๆๅ่กๆณจ้<code>#</code>(็ผ่พๆถ็่ฏญๆณ้ซไบฎๅฏ้ๅ<code>shell</code>ๆ ผๅผ)๏ผไพๅฆ๏ผ</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅจๅไฟกๅจ่พๅบ"hello world"</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"่ฝป้ชๅฝๆฐ","description":"","frontmatter":{"title":"่ฝป้ชๅฝๆฐ","order":2},"headers":[],"relativePath":"dev/lyfunc.md","filePath":"zh/dev/lyfunc.md","lastUpdated":1734116271000}'),l={name:"dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="่ฝป้ชๅฝๆฐ" tabindex="-1"><strong>่ฝป้ชๅฝๆฐ</strong> <a class="header-anchor" href="#่ฝป้ชๅฝๆฐ" aria-label="Permalink to "**่ฝป้ชๅฝๆฐ**"">โ</a></h1><p>่ฝป้ชๅฝๆฐ Liteyuki Function ๆฏ่ฝป้ช็ไธไธชๅ่ฝ๏ผๅฎๅ
่ฎธไฝ ๅจ่ฝป้ชไธญ่ฟ่กไธไบ่ชๅฎไน็็ฑๆฐๆฎ้ฉฑๅจ็ๅฝไปค๏ผ็ฑปไผผไบMinecraft็mcfunction๏ผๅฑไบ่ตๆบๅ
็ไธ้จๅ๏ผไฝ้ๅ็ฌ่ตท็ฏๅน
.</p><h3 id="ๅฝๆฐๆไปถ" tabindex="-1"><strong>ๅฝๆฐๆไปถ</strong> <a class="header-anchor" href="#ๅฝๆฐๆไปถ" aria-label="Permalink to "**ๅฝๆฐๆไปถ**"">โ</a></h3><p>ๅฝๆฐๆไปถๆพๅจ่ตๆบๅ
็<code>functions</code>็ฎๅฝไธ๏ผๆไปถๅไปฅ<code>.mcfunction</code> <code>.lyfunction</code> <code>.lyf</code>็ปๅฐพ๏ผไพๅฆ<code>test.mcfunction</code>๏ผๆไปถๅ
ๅฎนไธบไธ็ณปๅ็ๅฝไปค๏ผๆฏ่กไธไธชๅฝไปค๏ผๆฏๆๅ่กๆณจ้<code>#</code>(็ผ่พๆถ็่ฏญๆณ้ซไบฎๅฏ้ๅ<code>shell</code>ๆ ผๅผ)๏ผไพๅฆ๏ผ</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅจๅไฟกๅจ่พๅบ"hello world"</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">cmd</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> echo</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> hello</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> world</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅฆๆไฝ ๆณๅๆถ่พๅบๅค่กๅ
ๅฎนๅฏไปฅๅฐ่ฏๆข่ก็ฌฆ(Pythonๆ ผๅผ)</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"ๆไปถๅผๅ","description":"","frontmatter":{"title":"ๆไปถๅผๅ","order":3},"headers":[],"relativePath":"dev/plugin.md","filePath":"zh/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"dev/plugin.md"};function p(l,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ฝป้ชๆไปถๆฏ่ฝป้ชๅ
็ฝฎ็ไธ้จๅๅ่ฝ๏ผ่ฟ่กๅจไธป่ฟ็จไธญ๏ผๅฏไปฅๅพ้ซ็จๅบฆๅฐๆฉๅฑ่ฝป้ช็ๅ่ฝ</p><p>ๆไปถๅคง่ดๅฏๅไธบๅบ็จ(Application)ใๅฎ็ฐ(Implementation)ๅๆๅก(Service)็ญๅ ็ง็ฑปๅ๏ผๅคง้จๅๆ
ๅตไธไธไธชๆไปถ้ๅธธๆฟๆ
็ๅคไธช่ดฃไปป๏ผๅฏๆ้่ฐๆด</p><p>ๅบ็จ๏ผไปๆป็บฟ้้ๆฅๆถๅฐๆถๆฏๅ่ฟ่กๅค็๏ผๅๅบ๏ผไปฅๅฎ็ฐๆไบๅ่ฝ๏ผไพๅฆ<code>echo</code></p><p>ๅฎ็ฐ๏ผๅฏนๆฅ็นๅฎๅนณๅฐ๏ผๆๅนณๅฐ็ๆถๆฏ่ฝฌๆขไธบ่ฝป้ชๆถๆฏๆ ผๅผไผ ๅ
ฅๆป็บฟ้้</p><p>ๆๅก๏ผๆไพไธ็ณปๅๅฏนๅค็ipc/rpc/http็ญๆๅก๏ผไพๅ
ถไปๆไปถ่ฐ็จ</p><p>ๆไปฌ้ผๅฑไฝฟ็จ<code>magicoca</code>่ฟ่กๅฏน่ฑกไผ ้ๆฅ่ฟ่กๆไปถ้ด้ไฟก่ไธๆฏไพ่ตๅ
ณ็ณป๏ผ่ฟๆ ทๅฏไปฅ้ฟๅ
ๅพๅคๆฝๅจ็้ฎ้ขใ</p><h2 id="ๅผๅง" tabindex="-1">ๅผๅง <a class="header-anchor" href="#ๅผๅง" aria-label="Permalink to "ๅผๅง"">โ</a></h2><h3 id="ๅๅปบๆไปถ" tabindex="-1">ๅๅปบๆไปถ <a class="header-anchor" href="#ๅๅปบๆไปถ" aria-label="Permalink to "ๅๅปบๆไปถ"">โ</a></h3><p>ไธไธช<code>.py</code>ๆไปถๆไธไธชๅ
ๅซ<code>__init__.py</code>็ๆไปถๅคนๅณๅฏ่ขซ่ฏๅซไธบๆไปถ</p><p>้ฆๅ
ๅๅปบไธไธชๆไปถๅคน๏ผไพๅฆ<code>watchdog_plugin</code>๏ผๅนถๅจๅ
ถไธญๅๅปบไธไธช<code>__init__.py</code>ๆไปถ๏ผๅณๅฏๅๅปบไธไธชๆไปถ</p><p><code>__init__.py</code></p><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.plugin </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> PluginMetadata, PluginType</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"ๆไปถๅผๅ","description":"","frontmatter":{"title":"ๆไปถๅผๅ","order":3},"headers":[],"relativePath":"dev/plugin.md","filePath":"zh/dev/plugin.md","lastUpdated":1734116271000}'),h={name:"dev/plugin.md"};function p(l,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ฝป้ชๆไปถๆฏ่ฝป้ชๅ
็ฝฎ็ไธ้จๅๅ่ฝ๏ผ่ฟ่กๅจไธป่ฟ็จไธญ๏ผๅฏไปฅๅพ้ซ็จๅบฆๅฐๆฉๅฑ่ฝป้ช็ๅ่ฝ</p><p>ๆไปถๅคง่ดๅฏๅไธบๅบ็จ(Application)ใๅฎ็ฐ(Implementation)ๅๆๅก(Service)็ญๅ ็ง็ฑปๅ๏ผๅคง้จๅๆ
ๅตไธไธไธชๆไปถ้ๅธธๆฟๆ
็ๅคไธช่ดฃไปป๏ผๅฏๆ้่ฐๆด</p><p>ๅบ็จ๏ผไปๆป็บฟ้้ๆฅๆถๅฐๆถๆฏๅ่ฟ่กๅค็๏ผๅๅบ๏ผไปฅๅฎ็ฐๆไบๅ่ฝ๏ผไพๅฆ<code>echo</code></p><p>ๅฎ็ฐ๏ผๅฏนๆฅ็นๅฎๅนณๅฐ๏ผๆๅนณๅฐ็ๆถๆฏ่ฝฌๆขไธบ่ฝป้ชๆถๆฏๆ ผๅผไผ ๅ
ฅๆป็บฟ้้</p><p>ๆๅก๏ผๆไพไธ็ณปๅๅฏนๅค็ipc/rpc/http็ญๆๅก๏ผไพๅ
ถไปๆไปถ่ฐ็จ</p><p>ๆไปฌ้ผๅฑไฝฟ็จ<code>magicoca</code>่ฟ่กๅฏน่ฑกไผ ้ๆฅ่ฟ่กๆไปถ้ด้ไฟก่ไธๆฏไพ่ตๅ
ณ็ณป๏ผ่ฟๆ ทๅฏไปฅ้ฟๅ
ๅพๅคๆฝๅจ็้ฎ้ขใ</p><h2 id="ๅผๅง" tabindex="-1">ๅผๅง <a class="header-anchor" href="#ๅผๅง" aria-label="Permalink to "ๅผๅง"">โ</a></h2><h3 id="ๅๅปบๆไปถ" tabindex="-1">ๅๅปบๆไปถ <a class="header-anchor" href="#ๅๅปบๆไปถ" aria-label="Permalink to "ๅๅปบๆไปถ"">โ</a></h3><p>ไธไธช<code>.py</code>ๆไปถๆไธไธชๅ
ๅซ<code>__init__.py</code>็ๆไปถๅคนๅณๅฏ่ขซ่ฏๅซไธบๆไปถ</p><p>้ฆๅ
ๅๅปบไธไธชๆไปถๅคน๏ผไพๅฆ<code>watchdog_plugin</code>๏ผๅนถๅจๅ
ถไธญๅๅปบไธไธช<code>__init__.py</code>ๆไปถ๏ผๅณๅฏๅๅปบไธไธชๆไปถ</p><p><code>__init__.py</code></p><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.plugin </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> PluginMetadata, PluginType</span></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> .watch_dog </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> *</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # ๅฏผๅ
ฅ้ป่พ้จๅ</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅฎไนๆไปถๅ
ๆฐๆฎ</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"ๆไปถๅผๅ","description":"","frontmatter":{"title":"ๆไปถๅผๅ","order":3},"headers":[],"relativePath":"dev/plugin.md","filePath":"zh/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"dev/plugin.md"};function p(l,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ฝป้ชๆไปถๆฏ่ฝป้ชๅ
็ฝฎ็ไธ้จๅๅ่ฝ๏ผ่ฟ่กๅจไธป่ฟ็จไธญ๏ผๅฏไปฅๅพ้ซ็จๅบฆๅฐๆฉๅฑ่ฝป้ช็ๅ่ฝ</p><p>ๆไปถๅคง่ดๅฏๅไธบๅบ็จ(Application)ใๅฎ็ฐ(Implementation)ๅๆๅก(Service)็ญๅ ็ง็ฑปๅ๏ผๅคง้จๅๆ
ๅตไธไธไธชๆไปถ้ๅธธๆฟๆ
็ๅคไธช่ดฃไปป๏ผๅฏๆ้่ฐๆด</p><p>ๅบ็จ๏ผไปๆป็บฟ้้ๆฅๆถๅฐๆถๆฏๅ่ฟ่กๅค็๏ผๅๅบ๏ผไปฅๅฎ็ฐๆไบๅ่ฝ๏ผไพๅฆ<code>echo</code></p><p>ๅฎ็ฐ๏ผๅฏนๆฅ็นๅฎๅนณๅฐ๏ผๆๅนณๅฐ็ๆถๆฏ่ฝฌๆขไธบ่ฝป้ชๆถๆฏๆ ผๅผไผ ๅ
ฅๆป็บฟ้้</p><p>ๆๅก๏ผๆไพไธ็ณปๅๅฏนๅค็ipc/rpc/http็ญๆๅก๏ผไพๅ
ถไปๆไปถ่ฐ็จ</p><p>ๆไปฌ้ผๅฑไฝฟ็จ<code>magicoca</code>่ฟ่กๅฏน่ฑกไผ ้ๆฅ่ฟ่กๆไปถ้ด้ไฟก่ไธๆฏไพ่ตๅ
ณ็ณป๏ผ่ฟๆ ทๅฏไปฅ้ฟๅ
ๅพๅคๆฝๅจ็้ฎ้ขใ</p><h2 id="ๅผๅง" tabindex="-1">ๅผๅง <a class="header-anchor" href="#ๅผๅง" aria-label="Permalink to "ๅผๅง"">โ</a></h2><h3 id="ๅๅปบๆไปถ" tabindex="-1">ๅๅปบๆไปถ <a class="header-anchor" href="#ๅๅปบๆไปถ" aria-label="Permalink to "ๅๅปบๆไปถ"">โ</a></h3><p>ไธไธช<code>.py</code>ๆไปถๆไธไธชๅ
ๅซ<code>__init__.py</code>็ๆไปถๅคนๅณๅฏ่ขซ่ฏๅซไธบๆไปถ</p><p>้ฆๅ
ๅๅปบไธไธชๆไปถๅคน๏ผไพๅฆ<code>watchdog_plugin</code>๏ผๅนถๅจๅ
ถไธญๅๅปบไธไธช<code>__init__.py</code>ๆไปถ๏ผๅณๅฏๅๅปบไธไธชๆไปถ</p><p><code>__init__.py</code></p><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.plugin </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> PluginMetadata, PluginType</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const E=JSON.parse('{"title":"ๆไปถๅผๅ","description":"","frontmatter":{"title":"ๆไปถๅผๅ","order":3},"headers":[],"relativePath":"dev/plugin.md","filePath":"zh/dev/plugin.md","lastUpdated":1734116271000}'),h={name:"dev/plugin.md"};function p(l,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ฝป้ชๆไปถๆฏ่ฝป้ชๅ
็ฝฎ็ไธ้จๅๅ่ฝ๏ผ่ฟ่กๅจไธป่ฟ็จไธญ๏ผๅฏไปฅๅพ้ซ็จๅบฆๅฐๆฉๅฑ่ฝป้ช็ๅ่ฝ</p><p>ๆไปถๅคง่ดๅฏๅไธบๅบ็จ(Application)ใๅฎ็ฐ(Implementation)ๅๆๅก(Service)็ญๅ ็ง็ฑปๅ๏ผๅคง้จๅๆ
ๅตไธไธไธชๆไปถ้ๅธธๆฟๆ
็ๅคไธช่ดฃไปป๏ผๅฏๆ้่ฐๆด</p><p>ๅบ็จ๏ผไปๆป็บฟ้้ๆฅๆถๅฐๆถๆฏๅ่ฟ่กๅค็๏ผๅๅบ๏ผไปฅๅฎ็ฐๆไบๅ่ฝ๏ผไพๅฆ<code>echo</code></p><p>ๅฎ็ฐ๏ผๅฏนๆฅ็นๅฎๅนณๅฐ๏ผๆๅนณๅฐ็ๆถๆฏ่ฝฌๆขไธบ่ฝป้ชๆถๆฏๆ ผๅผไผ ๅ
ฅๆป็บฟ้้</p><p>ๆๅก๏ผๆไพไธ็ณปๅๅฏนๅค็ipc/rpc/http็ญๆๅก๏ผไพๅ
ถไปๆไปถ่ฐ็จ</p><p>ๆไปฌ้ผๅฑไฝฟ็จ<code>magicoca</code>่ฟ่กๅฏน่ฑกไผ ้ๆฅ่ฟ่กๆไปถ้ด้ไฟก่ไธๆฏไพ่ตๅ
ณ็ณป๏ผ่ฟๆ ทๅฏไปฅ้ฟๅ
ๅพๅคๆฝๅจ็้ฎ้ขใ</p><h2 id="ๅผๅง" tabindex="-1">ๅผๅง <a class="header-anchor" href="#ๅผๅง" aria-label="Permalink to "ๅผๅง"">โ</a></h2><h3 id="ๅๅปบๆไปถ" tabindex="-1">ๅๅปบๆไปถ <a class="header-anchor" href="#ๅๅปบๆไปถ" aria-label="Permalink to "ๅๅปบๆไปถ"">โ</a></h3><p>ไธไธช<code>.py</code>ๆไปถๆไธไธชๅ
ๅซ<code>__init__.py</code>็ๆไปถๅคนๅณๅฏ่ขซ่ฏๅซไธบๆไปถ</p><p>้ฆๅ
ๅๅปบไธไธชๆไปถๅคน๏ผไพๅฆ<code>watchdog_plugin</code>๏ผๅนถๅจๅ
ถไธญๅๅปบไธไธช<code>__init__.py</code>ๆไปถ๏ผๅณๅฏๅๅปบไธไธชๆไปถ</p><p><code>__init__.py</code></p><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.plugin </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> PluginMetadata, PluginType</span></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> .watch_dog </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> *</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # ๅฏผๅ
ฅ้ป่พ้จๅ</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅฎไนๆไปถๅ
ๆฐๆฎ</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"่ตๆบๅ
ๅผๅ","description":"","frontmatter":{"title":"่ตๆบๅ
ๅผๅ","order":1},"headers":[],"relativePath":"dev/resource.md","filePath":"zh/dev/resource.md","lastUpdated":1725102337000}'),t={name:"dev/resource.md"};function n(p,s,d,h,c,o){return l(),i("div",null,s[0]||(s[0]=[e(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ตๆบๅ
,ไบฆๅฏๆ นๆฎ็จ้็งฐไธบไธป้ขๅ
ใๅญไฝๅ
ใ่ฏญ่จๅ
็ญ๏ผๅฎๅ
่ฎธไฝ ไธๅฎ็จๅบฆไธ่ชๅฎไน่ฝป้ช็ๅค่ง,ๅนถไธไธ็จไฟฎๆนๆบไปฃ็ </p><ul><li><a href="./../store/resource.html">่ตๆบ/ไธป้ขๅๅบ</a>ๆไพไบไธไบ่ตๆบๅ
ไพไฝ ้ๆฉ๏ผไฝ ไนๅฏไปฅ่ชๅทฑๅถไฝ่ตๆบๅ
</li><li>่ตๆบๅ
็ๅถไฝๅพ็ฎๅ๏ผๅฆๆไฝ ๆฅ่งฆ่ฟ<code>Minecraft</code>็่ตๆบๅ
๏ผ้ฃไนไฝ ่ฝๅคๅพๅฟซๅฐฑไธๆ๏ผไป
้ๆ็
งๅๆ่ทฏๅพ่ฟ่กๆไปถๆฟๆขๅณๅฏ๏ผ่ฎฒ่ตทๆๅ
ๆไธไธชๆฐ็่ตๆบๅ
ใ</li><li>้จๅๅ
ๅฎนๅถไฝ้่ฆไธ็น็นๅ็ซฏๅบ็ก,ไพๅฆ<code>html</code>๏ผ<code>css</code></li><li>่ฝป้ชๅ็่ตๆบๅ
่ฏทๆฅ็<code>LiteyukiBot/liteyuki/resources</code>๏ผๅฏไปฅๅจๆญคๅบ็กไธ่ฟ่กไฟฎๆน</li><li>ๆฌข่ฟๅไฝๆ็จฟ่ตๆบๅ
ๅฐ่ฝป้ช่ตๆบๅๅบ</li></ul><p>่ฏทๆณจๆ๏ผไธป้ขๅ
ไธญ็htmlๆธฒๆไฝฟ็จJsๆฅ่งๅฎๆฐๆฎ็ๆธฒๆไฝ็ฝฎ๏ผ่ฏท็กฎไฟๆจๆ็ผๅ็htmlไปฃ็ ่ฝ่ขซBot่งฃๆ๏ผๅฆๅไผๅฏผ่ดๆธฒๆๅคฑ่ดฅๆๆธฒๆ็ปๆไธ็ๆณ/ๅผๅธธ/้ไฝ็ญๆ ๆณ้ขๆ็ไบๆ
ๅ็ใๆจ่ๅจ็ผๅhtmlๆถๅๆถๆดๆนๅฏนๅบJsไปฃ็ ๏ผไปฅ้ฟๅ
ๅบ็ฐๆ ๆณ้ขๆ็้ฎ้ขใ</p><hr><h2 id="ๅ ่ฝฝ่ตๆบๅ
" tabindex="-1">ๅ ่ฝฝ่ตๆบๅ
<a class="header-anchor" href="#ๅ ่ฝฝ่ตๆบๅ
" aria-label="Permalink to "ๅ ่ฝฝ่ตๆบๅ
"">โ</a></h2><ul><li>่ตๆบๅ
้ๅธธๆฏไปฅ<code>.zip</code>ๆ ผๅผๅ็ผฉ็๏ผๅช้่ฆๅฐๅ
ถ่งฃๅๅฐๆ น็ฎๅฝ<code>resources</code>็ฎๅฝไธๅณๅฏ๏ผๆณจๆไธ่ฆๅตๅฅๆไปถๅคน,ๆญฃๅธธ็่ทฏๅพๅบ่ฏฅๆฏ่ฟๆ ท็</li></ul><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">main.py</span></span>
|
||||
import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"่ตๆบๅ
ๅผๅ","description":"","frontmatter":{"title":"่ตๆบๅ
ๅผๅ","order":1},"headers":[],"relativePath":"dev/resource.md","filePath":"zh/dev/resource.md","lastUpdated":1734116271000}'),t={name:"dev/resource.md"};function n(p,s,d,h,c,o){return l(),i("div",null,s[0]||(s[0]=[e(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ตๆบๅ
,ไบฆๅฏๆ นๆฎ็จ้็งฐไธบไธป้ขๅ
ใๅญไฝๅ
ใ่ฏญ่จๅ
็ญ๏ผๅฎๅ
่ฎธไฝ ไธๅฎ็จๅบฆไธ่ชๅฎไน่ฝป้ช็ๅค่ง,ๅนถไธไธ็จไฟฎๆนๆบไปฃ็ </p><ul><li><a href="./../store/resource.html">่ตๆบ/ไธป้ขๅๅบ</a>ๆไพไบไธไบ่ตๆบๅ
ไพไฝ ้ๆฉ๏ผไฝ ไนๅฏไปฅ่ชๅทฑๅถไฝ่ตๆบๅ
</li><li>่ตๆบๅ
็ๅถไฝๅพ็ฎๅ๏ผๅฆๆไฝ ๆฅ่งฆ่ฟ<code>Minecraft</code>็่ตๆบๅ
๏ผ้ฃไนไฝ ่ฝๅคๅพๅฟซๅฐฑไธๆ๏ผไป
้ๆ็
งๅๆ่ทฏๅพ่ฟ่กๆไปถๆฟๆขๅณๅฏ๏ผ่ฎฒ่ตทๆๅ
ๆไธไธชๆฐ็่ตๆบๅ
ใ</li><li>้จๅๅ
ๅฎนๅถไฝ้่ฆไธ็น็นๅ็ซฏๅบ็ก,ไพๅฆ<code>html</code>๏ผ<code>css</code></li><li>่ฝป้ชๅ็่ตๆบๅ
่ฏทๆฅ็<code>LiteyukiBot/liteyuki/resources</code>๏ผๅฏไปฅๅจๆญคๅบ็กไธ่ฟ่กไฟฎๆน</li><li>ๆฌข่ฟๅไฝๆ็จฟ่ตๆบๅ
ๅฐ่ฝป้ช่ตๆบๅๅบ</li></ul><p>่ฏทๆณจๆ๏ผไธป้ขๅ
ไธญ็htmlๆธฒๆไฝฟ็จJsๆฅ่งๅฎๆฐๆฎ็ๆธฒๆไฝ็ฝฎ๏ผ่ฏท็กฎไฟๆจๆ็ผๅ็htmlไปฃ็ ่ฝ่ขซBot่งฃๆ๏ผๅฆๅไผๅฏผ่ดๆธฒๆๅคฑ่ดฅๆๆธฒๆ็ปๆไธ็ๆณ/ๅผๅธธ/้ไฝ็ญๆ ๆณ้ขๆ็ไบๆ
ๅ็ใๆจ่ๅจ็ผๅhtmlๆถๅๆถๆดๆนๅฏนๅบJsไปฃ็ ๏ผไปฅ้ฟๅ
ๅบ็ฐๆ ๆณ้ขๆ็้ฎ้ขใ</p><hr><h2 id="ๅ ่ฝฝ่ตๆบๅ
" tabindex="-1">ๅ ่ฝฝ่ตๆบๅ
<a class="header-anchor" href="#ๅ ่ฝฝ่ตๆบๅ
" aria-label="Permalink to "ๅ ่ฝฝ่ตๆบๅ
"">โ</a></h2><ul><li>่ตๆบๅ
้ๅธธๆฏไปฅ<code>.zip</code>ๆ ผๅผๅ็ผฉ็๏ผๅช้่ฆๅฐๅ
ถ่งฃๅๅฐๆ น็ฎๅฝ<code>resources</code>็ฎๅฝไธๅณๅฏ๏ผๆณจๆไธ่ฆๅตๅฅๆไปถๅคน,ๆญฃๅธธ็่ทฏๅพๅบ่ฏฅๆฏ่ฟๆ ท็</li></ul><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">main.py</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">resources</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">โโresource_pack_1</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> โโmetadata.yml</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"่ตๆบๅ
ๅผๅ","description":"","frontmatter":{"title":"่ตๆบๅ
ๅผๅ","order":1},"headers":[],"relativePath":"dev/resource.md","filePath":"zh/dev/resource.md","lastUpdated":1725102337000}'),t={name:"dev/resource.md"};function n(p,s,d,h,c,o){return l(),i("div",null,s[0]||(s[0]=[e(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ตๆบๅ
,ไบฆๅฏๆ นๆฎ็จ้็งฐไธบไธป้ขๅ
ใๅญไฝๅ
ใ่ฏญ่จๅ
็ญ๏ผๅฎๅ
่ฎธไฝ ไธๅฎ็จๅบฆไธ่ชๅฎไน่ฝป้ช็ๅค่ง,ๅนถไธไธ็จไฟฎๆนๆบไปฃ็ </p><ul><li><a href="./../store/resource.html">่ตๆบ/ไธป้ขๅๅบ</a>ๆไพไบไธไบ่ตๆบๅ
ไพไฝ ้ๆฉ๏ผไฝ ไนๅฏไปฅ่ชๅทฑๅถไฝ่ตๆบๅ
</li><li>่ตๆบๅ
็ๅถไฝๅพ็ฎๅ๏ผๅฆๆไฝ ๆฅ่งฆ่ฟ<code>Minecraft</code>็่ตๆบๅ
๏ผ้ฃไนไฝ ่ฝๅคๅพๅฟซๅฐฑไธๆ๏ผไป
้ๆ็
งๅๆ่ทฏๅพ่ฟ่กๆไปถๆฟๆขๅณๅฏ๏ผ่ฎฒ่ตทๆๅ
ๆไธไธชๆฐ็่ตๆบๅ
ใ</li><li>้จๅๅ
ๅฎนๅถไฝ้่ฆไธ็น็นๅ็ซฏๅบ็ก,ไพๅฆ<code>html</code>๏ผ<code>css</code></li><li>่ฝป้ชๅ็่ตๆบๅ
่ฏทๆฅ็<code>LiteyukiBot/liteyuki/resources</code>๏ผๅฏไปฅๅจๆญคๅบ็กไธ่ฟ่กไฟฎๆน</li><li>ๆฌข่ฟๅไฝๆ็จฟ่ตๆบๅ
ๅฐ่ฝป้ช่ตๆบๅๅบ</li></ul><p>่ฏทๆณจๆ๏ผไธป้ขๅ
ไธญ็htmlๆธฒๆไฝฟ็จJsๆฅ่งๅฎๆฐๆฎ็ๆธฒๆไฝ็ฝฎ๏ผ่ฏท็กฎไฟๆจๆ็ผๅ็htmlไปฃ็ ่ฝ่ขซBot่งฃๆ๏ผๅฆๅไผๅฏผ่ดๆธฒๆๅคฑ่ดฅๆๆธฒๆ็ปๆไธ็ๆณ/ๅผๅธธ/้ไฝ็ญๆ ๆณ้ขๆ็ไบๆ
ๅ็ใๆจ่ๅจ็ผๅhtmlๆถๅๆถๆดๆนๅฏนๅบJsไปฃ็ ๏ผไปฅ้ฟๅ
ๅบ็ฐๆ ๆณ้ขๆ็้ฎ้ขใ</p><hr><h2 id="ๅ ่ฝฝ่ตๆบๅ
" tabindex="-1">ๅ ่ฝฝ่ตๆบๅ
<a class="header-anchor" href="#ๅ ่ฝฝ่ตๆบๅ
" aria-label="Permalink to "ๅ ่ฝฝ่ตๆบๅ
"">โ</a></h2><ul><li>่ตๆบๅ
้ๅธธๆฏไปฅ<code>.zip</code>ๆ ผๅผๅ็ผฉ็๏ผๅช้่ฆๅฐๅ
ถ่งฃๅๅฐๆ น็ฎๅฝ<code>resources</code>็ฎๅฝไธๅณๅฏ๏ผๆณจๆไธ่ฆๅตๅฅๆไปถๅคน,ๆญฃๅธธ็่ทฏๅพๅบ่ฏฅๆฏ่ฟๆ ท็</li></ul><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">main.py</span></span>
|
||||
import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"่ตๆบๅ
ๅผๅ","description":"","frontmatter":{"title":"่ตๆบๅ
ๅผๅ","order":1},"headers":[],"relativePath":"dev/resource.md","filePath":"zh/dev/resource.md","lastUpdated":1734116271000}'),t={name:"dev/resource.md"};function n(p,s,d,h,c,o){return l(),i("div",null,s[0]||(s[0]=[e(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ตๆบๅ
,ไบฆๅฏๆ นๆฎ็จ้็งฐไธบไธป้ขๅ
ใๅญไฝๅ
ใ่ฏญ่จๅ
็ญ๏ผๅฎๅ
่ฎธไฝ ไธๅฎ็จๅบฆไธ่ชๅฎไน่ฝป้ช็ๅค่ง,ๅนถไธไธ็จไฟฎๆนๆบไปฃ็ </p><ul><li><a href="./../store/resource.html">่ตๆบ/ไธป้ขๅๅบ</a>ๆไพไบไธไบ่ตๆบๅ
ไพไฝ ้ๆฉ๏ผไฝ ไนๅฏไปฅ่ชๅทฑๅถไฝ่ตๆบๅ
</li><li>่ตๆบๅ
็ๅถไฝๅพ็ฎๅ๏ผๅฆๆไฝ ๆฅ่งฆ่ฟ<code>Minecraft</code>็่ตๆบๅ
๏ผ้ฃไนไฝ ่ฝๅคๅพๅฟซๅฐฑไธๆ๏ผไป
้ๆ็
งๅๆ่ทฏๅพ่ฟ่กๆไปถๆฟๆขๅณๅฏ๏ผ่ฎฒ่ตทๆๅ
ๆไธไธชๆฐ็่ตๆบๅ
ใ</li><li>้จๅๅ
ๅฎนๅถไฝ้่ฆไธ็น็นๅ็ซฏๅบ็ก,ไพๅฆ<code>html</code>๏ผ<code>css</code></li><li>่ฝป้ชๅ็่ตๆบๅ
่ฏทๆฅ็<code>LiteyukiBot/liteyuki/resources</code>๏ผๅฏไปฅๅจๆญคๅบ็กไธ่ฟ่กไฟฎๆน</li><li>ๆฌข่ฟๅไฝๆ็จฟ่ตๆบๅ
ๅฐ่ฝป้ช่ตๆบๅๅบ</li></ul><p>่ฏทๆณจๆ๏ผไธป้ขๅ
ไธญ็htmlๆธฒๆไฝฟ็จJsๆฅ่งๅฎๆฐๆฎ็ๆธฒๆไฝ็ฝฎ๏ผ่ฏท็กฎไฟๆจๆ็ผๅ็htmlไปฃ็ ่ฝ่ขซBot่งฃๆ๏ผๅฆๅไผๅฏผ่ดๆธฒๆๅคฑ่ดฅๆๆธฒๆ็ปๆไธ็ๆณ/ๅผๅธธ/้ไฝ็ญๆ ๆณ้ขๆ็ไบๆ
ๅ็ใๆจ่ๅจ็ผๅhtmlๆถๅๆถๆดๆนๅฏนๅบJsไปฃ็ ๏ผไปฅ้ฟๅ
ๅบ็ฐๆ ๆณ้ขๆ็้ฎ้ขใ</p><hr><h2 id="ๅ ่ฝฝ่ตๆบๅ
" tabindex="-1">ๅ ่ฝฝ่ตๆบๅ
<a class="header-anchor" href="#ๅ ่ฝฝ่ตๆบๅ
" aria-label="Permalink to "ๅ ่ฝฝ่ตๆบๅ
"">โ</a></h2><ul><li>่ตๆบๅ
้ๅธธๆฏไปฅ<code>.zip</code>ๆ ผๅผๅ็ผฉ็๏ผๅช้่ฆๅฐๅ
ถ่งฃๅๅฐๆ น็ฎๅฝ<code>resources</code>็ฎๅฝไธๅณๅฏ๏ผๆณจๆไธ่ฆๅตๅฅๆไปถๅคน,ๆญฃๅธธ็่ทฏๅพๅบ่ฏฅๆฏ่ฟๆ ท็</li></ul><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">main.py</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">resources</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">โโresource_pack_1</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> โโmetadata.yml</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Configurations","description":"","frontmatter":{"title":"Configurations","order":2},"headers":[],"relativePath":"en/deploy/config.md","filePath":"en/deploy/config.md","lastUpdated":1725101868000}'),e={name:"en/deploy/config.md"};function l(o,s,h,p,k,r){return n(),a("div",null,s[0]||(s[0]=[t(`<h1 id="configurations" tabindex="-1">Configurations <a class="header-anchor" href="#configurations" aria-label="Permalink to "Configurations"">โ</a></h1><p>LiteyukiBot supports <code>yaml</code>, <code>json</code>, and <code>toml</code> as configuration files, depending on your personal preference.</p><p>When you first run LiteyukiBot, it will generate <code>config.yml</code> and the <code>config</code> directory. You can modify the configuration items and restart LiteyukiBot. In most cases, you only need to modify the <code>superusers</code> and <code>nickname</code> fields.</p><p>When starting, LiteyukiBot will load all configuration files in the project directory <code>config.yml/yaml/json/toml</code> and the <code>config</code> directory. You can create multiple configuration files in the <code>config</code> directory, and LiteyukiBot will automatically merge these configuration files.</p><h2 id="basic-configuration" tabindex="-1"><strong>Basic Configuration</strong> <a class="header-anchor" href="#basic-configuration" aria-label="Permalink to "**Basic Configuration**"">โ</a></h2><div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># NoneBot configuration</span></span>
|
||||
import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Configurations","description":"","frontmatter":{"title":"Configurations","order":2},"headers":[],"relativePath":"en/deploy/config.md","filePath":"en/deploy/config.md","lastUpdated":1734116271000}'),e={name:"en/deploy/config.md"};function l(o,s,h,p,k,r){return n(),a("div",null,s[0]||(s[0]=[t(`<h1 id="configurations" tabindex="-1">Configurations <a class="header-anchor" href="#configurations" aria-label="Permalink to "Configurations"">โ</a></h1><p>LiteyukiBot supports <code>yaml</code>, <code>json</code>, and <code>toml</code> as configuration files, depending on your personal preference.</p><p>When you first run LiteyukiBot, it will generate <code>config.yml</code> and the <code>config</code> directory. You can modify the configuration items and restart LiteyukiBot. In most cases, you only need to modify the <code>superusers</code> and <code>nickname</code> fields.</p><p>When starting, LiteyukiBot will load all configuration files in the project directory <code>config.yml/yaml/json/toml</code> and the <code>config</code> directory. You can create multiple configuration files in the <code>config</code> directory, and LiteyukiBot will automatically merge these configuration files.</p><h2 id="basic-configuration" tabindex="-1"><strong>Basic Configuration</strong> <a class="header-anchor" href="#basic-configuration" aria-label="Permalink to "**Basic Configuration**"">โ</a></h2><div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># NoneBot configuration</span></span>
|
||||
<span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">nonebot</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
|
||||
<span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;"> command_start</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [ </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"/"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">""</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ] </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Command prefix, if there is no "" empty command header, please enable alconna_use_command_start to ensure alconna parsing is normal</span></span>
|
||||
<span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;"> host</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">127.0.0.1</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Listening address, default is local, if you want to receive external requests, please fill in</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Configurations","description":"","frontmatter":{"title":"Configurations","order":2},"headers":[],"relativePath":"en/deploy/config.md","filePath":"en/deploy/config.md","lastUpdated":1725101868000}'),e={name:"en/deploy/config.md"};function l(o,s,h,p,k,r){return n(),a("div",null,s[0]||(s[0]=[t(`<h1 id="configurations" tabindex="-1">Configurations <a class="header-anchor" href="#configurations" aria-label="Permalink to "Configurations"">โ</a></h1><p>LiteyukiBot supports <code>yaml</code>, <code>json</code>, and <code>toml</code> as configuration files, depending on your personal preference.</p><p>When you first run LiteyukiBot, it will generate <code>config.yml</code> and the <code>config</code> directory. You can modify the configuration items and restart LiteyukiBot. In most cases, you only need to modify the <code>superusers</code> and <code>nickname</code> fields.</p><p>When starting, LiteyukiBot will load all configuration files in the project directory <code>config.yml/yaml/json/toml</code> and the <code>config</code> directory. You can create multiple configuration files in the <code>config</code> directory, and LiteyukiBot will automatically merge these configuration files.</p><h2 id="basic-configuration" tabindex="-1"><strong>Basic Configuration</strong> <a class="header-anchor" href="#basic-configuration" aria-label="Permalink to "**Basic Configuration**"">โ</a></h2><div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># NoneBot configuration</span></span>
|
||||
import{_ as i,c as a,a7 as t,o as n}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Configurations","description":"","frontmatter":{"title":"Configurations","order":2},"headers":[],"relativePath":"en/deploy/config.md","filePath":"en/deploy/config.md","lastUpdated":1734116271000}'),e={name:"en/deploy/config.md"};function l(o,s,h,p,k,r){return n(),a("div",null,s[0]||(s[0]=[t(`<h1 id="configurations" tabindex="-1">Configurations <a class="header-anchor" href="#configurations" aria-label="Permalink to "Configurations"">โ</a></h1><p>LiteyukiBot supports <code>yaml</code>, <code>json</code>, and <code>toml</code> as configuration files, depending on your personal preference.</p><p>When you first run LiteyukiBot, it will generate <code>config.yml</code> and the <code>config</code> directory. You can modify the configuration items and restart LiteyukiBot. In most cases, you only need to modify the <code>superusers</code> and <code>nickname</code> fields.</p><p>When starting, LiteyukiBot will load all configuration files in the project directory <code>config.yml/yaml/json/toml</code> and the <code>config</code> directory. You can create multiple configuration files in the <code>config</code> directory, and LiteyukiBot will automatically merge these configuration files.</p><h2 id="basic-configuration" tabindex="-1"><strong>Basic Configuration</strong> <a class="header-anchor" href="#basic-configuration" aria-label="Permalink to "**Basic Configuration**"">โ</a></h2><div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># NoneBot configuration</span></span>
|
||||
<span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">nonebot</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
|
||||
<span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;"> command_start</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [ </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"/"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">""</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ] </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Command prefix, if there is no "" empty command header, please enable alconna_use_command_start to ensure alconna parsing is normal</span></span>
|
||||
<span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;"> host</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">127.0.0.1</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Listening address, default is local, if you want to receive external requests, please fill in</span></span>
|
@ -1 +1 @@
|
||||
import{_ as t,c as o,a7 as a,o as i}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"FAQ","description":"","frontmatter":{"title":"FAQ","order":3},"headers":[],"relativePath":"en/deploy/fandq.md","filePath":"en/deploy/fandq.md","lastUpdated":1729881298000}'),n={name:"en/deploy/fandq.md"};function l(r,e,s,u,p,d){return i(),o("div",null,e[0]||(e[0]=[a('<h1 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-label="Permalink to "FAQ"">โ</a></h1><h2 id="frequently-asked-questions" tabindex="-1"><strong>Frequently Asked Questions</strong> <a class="header-anchor" href="#frequently-asked-questions" aria-label="Permalink to "**Frequently Asked Questions**"">โ</a></h2><ul><li><p>There are too many python interpreters on my computer, how do I know which one to use?</p><ul><li>You can specify which python interpreter to use by using the full path to the python executable, for example, <code>/path/to/python main.py</code></li><li>Use virtual environments to avoid conflicts between different python interpreters</li></ul></li><li><p>Update Liteyuki failed, error <code>InvalidGitRepositoryError</code></p><ul><li>Please install <code>Git</code> correctly and deploy Liteyuki using cloning instead of direct download</li></ul></li><li><p>How to log in to chat platforms?</p><ul><li>Some plugins provide the ability to log in to specific platforms, for example, using the NoneBot plugin to log in to supported adapter platforms</li></ul></li><li><p><code>Playwright</code> installation failed</p><ul><li>Enter <code>playwright install</code> to install the browser</li></ul></li><li><p>Some plugins report errors after installation and cannot be started</p><ul><li>Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode <code>safe_mode: true</code>. In safe mode, you can use <code>npm uninstall</code> to uninstall problematic plugins</li></ul></li></ul><h2 id="other-questions" tabindex="-1">Other questions <a class="header-anchor" href="#other-questions" aria-label="Permalink to "Other questions"">โ</a></h2><ul><li>Join chat group<a href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726" target="_blank" rel="noreferrer">775840726</a></li><li>If you don't have a QQ account, you can <a href="https://github.com/LiteyukiStudio/LiteyukiBot/issues/new?assignees=&labels=&projects=&template=%E9%97%AE%E9%A2%98%E5%8F%8D%E9%A6%88.md&title=" target="_blank" rel="noreferrer">submit an issue on GitHub</a></li></ul>',5)]))}const f=t(n,[["render",l]]);export{h as __pageData,f as default};
|
||||
import{_ as t,c as o,a7 as a,o as i}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"FAQ","description":"","frontmatter":{"title":"FAQ","order":3},"headers":[],"relativePath":"en/deploy/fandq.md","filePath":"en/deploy/fandq.md","lastUpdated":1734116271000}'),n={name:"en/deploy/fandq.md"};function l(r,e,s,u,p,d){return i(),o("div",null,e[0]||(e[0]=[a('<h1 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-label="Permalink to "FAQ"">โ</a></h1><h2 id="frequently-asked-questions" tabindex="-1"><strong>Frequently Asked Questions</strong> <a class="header-anchor" href="#frequently-asked-questions" aria-label="Permalink to "**Frequently Asked Questions**"">โ</a></h2><ul><li><p>There are too many python interpreters on my computer, how do I know which one to use?</p><ul><li>You can specify which python interpreter to use by using the full path to the python executable, for example, <code>/path/to/python main.py</code></li><li>Use virtual environments to avoid conflicts between different python interpreters</li></ul></li><li><p>Update Liteyuki failed, error <code>InvalidGitRepositoryError</code></p><ul><li>Please install <code>Git</code> correctly and deploy Liteyuki using cloning instead of direct download</li></ul></li><li><p>How to log in to chat platforms?</p><ul><li>Some plugins provide the ability to log in to specific platforms, for example, using the NoneBot plugin to log in to supported adapter platforms</li></ul></li><li><p><code>Playwright</code> installation failed</p><ul><li>Enter <code>playwright install</code> to install the browser</li></ul></li><li><p>Some plugins report errors after installation and cannot be started</p><ul><li>Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode <code>safe_mode: true</code>. In safe mode, you can use <code>npm uninstall</code> to uninstall problematic plugins</li></ul></li></ul><h2 id="other-questions" tabindex="-1">Other questions <a class="header-anchor" href="#other-questions" aria-label="Permalink to "Other questions"">โ</a></h2><ul><li>Join chat group<a href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726" target="_blank" rel="noreferrer">775840726</a></li><li>If you don't have a QQ account, you can <a href="https://github.com/LiteyukiStudio/LiteyukiBot/issues/new?assignees=&labels=&projects=&template=%E9%97%AE%E9%A2%98%E5%8F%8D%E9%A6%88.md&title=" target="_blank" rel="noreferrer">submit an issue on GitHub</a></li></ul>',5)]))}const f=t(n,[["render",l]]);export{h as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as o,a7 as a,o as i}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"FAQ","description":"","frontmatter":{"title":"FAQ","order":3},"headers":[],"relativePath":"en/deploy/fandq.md","filePath":"en/deploy/fandq.md","lastUpdated":1729881298000}'),n={name:"en/deploy/fandq.md"};function l(r,e,s,u,p,d){return i(),o("div",null,e[0]||(e[0]=[a('<h1 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-label="Permalink to "FAQ"">โ</a></h1><h2 id="frequently-asked-questions" tabindex="-1"><strong>Frequently Asked Questions</strong> <a class="header-anchor" href="#frequently-asked-questions" aria-label="Permalink to "**Frequently Asked Questions**"">โ</a></h2><ul><li><p>There are too many python interpreters on my computer, how do I know which one to use?</p><ul><li>You can specify which python interpreter to use by using the full path to the python executable, for example, <code>/path/to/python main.py</code></li><li>Use virtual environments to avoid conflicts between different python interpreters</li></ul></li><li><p>Update Liteyuki failed, error <code>InvalidGitRepositoryError</code></p><ul><li>Please install <code>Git</code> correctly and deploy Liteyuki using cloning instead of direct download</li></ul></li><li><p>How to log in to chat platforms?</p><ul><li>Some plugins provide the ability to log in to specific platforms, for example, using the NoneBot plugin to log in to supported adapter platforms</li></ul></li><li><p><code>Playwright</code> installation failed</p><ul><li>Enter <code>playwright install</code> to install the browser</li></ul></li><li><p>Some plugins report errors after installation and cannot be started</p><ul><li>Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode <code>safe_mode: true</code>. In safe mode, you can use <code>npm uninstall</code> to uninstall problematic plugins</li></ul></li></ul><h2 id="other-questions" tabindex="-1">Other questions <a class="header-anchor" href="#other-questions" aria-label="Permalink to "Other questions"">โ</a></h2><ul><li>Join chat group<a href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726" target="_blank" rel="noreferrer">775840726</a></li><li>If you don't have a QQ account, you can <a href="https://github.com/LiteyukiStudio/LiteyukiBot/issues/new?assignees=&labels=&projects=&template=%E9%97%AE%E9%A2%98%E5%8F%8D%E9%A6%88.md&title=" target="_blank" rel="noreferrer">submit an issue on GitHub</a></li></ul>',5)]))}const f=t(n,[["render",l]]);export{h as __pageData,f as default};
|
||||
import{_ as t,c as o,a7 as a,o as i}from"./chunks/framework.Z6UMW4JZ.js";const h=JSON.parse('{"title":"FAQ","description":"","frontmatter":{"title":"FAQ","order":3},"headers":[],"relativePath":"en/deploy/fandq.md","filePath":"en/deploy/fandq.md","lastUpdated":1734116271000}'),n={name:"en/deploy/fandq.md"};function l(r,e,s,u,p,d){return i(),o("div",null,e[0]||(e[0]=[a('<h1 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-label="Permalink to "FAQ"">โ</a></h1><h2 id="frequently-asked-questions" tabindex="-1"><strong>Frequently Asked Questions</strong> <a class="header-anchor" href="#frequently-asked-questions" aria-label="Permalink to "**Frequently Asked Questions**"">โ</a></h2><ul><li><p>There are too many python interpreters on my computer, how do I know which one to use?</p><ul><li>You can specify which python interpreter to use by using the full path to the python executable, for example, <code>/path/to/python main.py</code></li><li>Use virtual environments to avoid conflicts between different python interpreters</li></ul></li><li><p>Update Liteyuki failed, error <code>InvalidGitRepositoryError</code></p><ul><li>Please install <code>Git</code> correctly and deploy Liteyuki using cloning instead of direct download</li></ul></li><li><p>How to log in to chat platforms?</p><ul><li>Some plugins provide the ability to log in to specific platforms, for example, using the NoneBot plugin to log in to supported adapter platforms</li></ul></li><li><p><code>Playwright</code> installation failed</p><ul><li>Enter <code>playwright install</code> to install the browser</li></ul></li><li><p>Some plugins report errors after installation and cannot be started</p><ul><li>Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode <code>safe_mode: true</code>. In safe mode, you can use <code>npm uninstall</code> to uninstall problematic plugins</li></ul></li></ul><h2 id="other-questions" tabindex="-1">Other questions <a class="header-anchor" href="#other-questions" aria-label="Permalink to "Other questions"">โ</a></h2><ul><li>Join chat group<a href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726" target="_blank" rel="noreferrer">775840726</a></li><li>If you don't have a QQ account, you can <a href="https://github.com/LiteyukiStudio/LiteyukiBot/issues/new?assignees=&labels=&projects=&template=%E9%97%AE%E9%A2%98%E5%8F%8D%E9%A6%88.md&title=" target="_blank" rel="noreferrer">submit an issue on GitHub</a></li></ul>',5)]))}const f=t(n,[["render",l]]);export{h as __pageData,f as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as e,a7 as a,o as t}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Install","description":"","frontmatter":{"title":"Install","order":1},"headers":[],"relativePath":"en/deploy/install.md","filePath":"en/deploy/install.md","lastUpdated":1731694626000}'),n={name:"en/deploy/install.md"};function l(o,s,p,r,h,d){return t(),e("div",null,s[0]||(s[0]=[a(`<h1 id="install" tabindex="-1">Install <a class="header-anchor" href="#install" aria-label="Permalink to "Install"">โ</a></h1><h2 id="normal-installation" tabindex="-1"><strong>Normal Installation</strong> <a class="header-anchor" href="#normal-installation" aria-label="Permalink to "**Normal Installation**"">โ</a></h2><ol><li>Install <a href="https://git-scm.com/download/" target="_blank" rel="noreferrer"><code>Git</code></a> and <a href="https://www.python.org/downloads/release/python-31010/" target="_blank" rel="noreferrer"><code>Python3.10+</code></a> Environment.</li></ol><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Clone Repo</span></span>
|
||||
import{_ as i,c as e,a7 as a,o as t}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Install","description":"","frontmatter":{"title":"Install","order":1},"headers":[],"relativePath":"en/deploy/install.md","filePath":"en/deploy/install.md","lastUpdated":1734116271000}'),n={name:"en/deploy/install.md"};function l(o,s,p,r,h,d){return t(),e("div",null,s[0]||(s[0]=[a(`<h1 id="install" tabindex="-1">Install <a class="header-anchor" href="#install" aria-label="Permalink to "Install"">โ</a></h1><h2 id="normal-installation" tabindex="-1"><strong>Normal Installation</strong> <a class="header-anchor" href="#normal-installation" aria-label="Permalink to "**Normal Installation**"">โ</a></h2><ol><li>Install <a href="https://git-scm.com/download/" target="_blank" rel="noreferrer"><code>Git</code></a> and <a href="https://www.python.org/downloads/release/python-31010/" target="_blank" rel="noreferrer"><code>Python3.10+</code></a> Environment.</li></ol><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Clone Repo</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">git</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> clone</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> https://github.com/LiteyukiStudio/LiteyukiBot</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --depth=1</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Change directory</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as e,a7 as a,o as t}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Install","description":"","frontmatter":{"title":"Install","order":1},"headers":[],"relativePath":"en/deploy/install.md","filePath":"en/deploy/install.md","lastUpdated":1731694626000}'),n={name:"en/deploy/install.md"};function l(o,s,p,r,h,d){return t(),e("div",null,s[0]||(s[0]=[a(`<h1 id="install" tabindex="-1">Install <a class="header-anchor" href="#install" aria-label="Permalink to "Install"">โ</a></h1><h2 id="normal-installation" tabindex="-1"><strong>Normal Installation</strong> <a class="header-anchor" href="#normal-installation" aria-label="Permalink to "**Normal Installation**"">โ</a></h2><ol><li>Install <a href="https://git-scm.com/download/" target="_blank" rel="noreferrer"><code>Git</code></a> and <a href="https://www.python.org/downloads/release/python-31010/" target="_blank" rel="noreferrer"><code>Python3.10+</code></a> Environment.</li></ol><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Clone Repo</span></span>
|
||||
import{_ as i,c as e,a7 as a,o as t}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Install","description":"","frontmatter":{"title":"Install","order":1},"headers":[],"relativePath":"en/deploy/install.md","filePath":"en/deploy/install.md","lastUpdated":1734116271000}'),n={name:"en/deploy/install.md"};function l(o,s,p,r,h,d){return t(),e("div",null,s[0]||(s[0]=[a(`<h1 id="install" tabindex="-1">Install <a class="header-anchor" href="#install" aria-label="Permalink to "Install"">โ</a></h1><h2 id="normal-installation" tabindex="-1"><strong>Normal Installation</strong> <a class="header-anchor" href="#normal-installation" aria-label="Permalink to "**Normal Installation**"">โ</a></h2><ol><li>Install <a href="https://git-scm.com/download/" target="_blank" rel="noreferrer"><code>Git</code></a> and <a href="https://www.python.org/downloads/release/python-31010/" target="_blank" rel="noreferrer"><code>Python3.10+</code></a> Environment.</li></ol><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Clone Repo</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">git</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> clone</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> https://github.com/LiteyukiStudio/LiteyukiBot</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --depth=1</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Change directory</span></span>
|
@ -1 +1 @@
|
||||
import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Best Practices","description":"","frontmatter":{"title":"Best Practices","order":10},"headers":[],"relativePath":"en/dev/best_practices.md","filePath":"en/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"en/dev/best_practices.md"};function l(n,t,s,u,c,h){return r(),i("div",null,t[0]||(t[0]=[a('<h1 id="best-practices" tabindex="-1">Best Practices <a class="header-anchor" href="#best-practices" aria-label="Permalink to "Best Practices"">โ</a></h1><h2 id="bot-applications" tabindex="-1">Bot applications <a class="header-anchor" href="#bot-applications" aria-label="Permalink to "Bot applications"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/LiteyukiBot" target="_blank" rel="noreferrer">LiteyukiBot</a>: Liteyuki Official Bot</li><li><a href="https://github.com/TriM-Organization/LiteyukiBot-TriM" target="_blank" rel="noreferrer">LiteyukiBot-TriM</a>: TriM Official Custom Liteyuki Bot</li><li><a href="https://git.liteyuki.icu/LiteyukiStudio/marsho-alpha" target="_blank" rel="noreferrer">Liteyuki Marsho</a>: A cute cat girl bot based on Liteyuki and the github model</li></ul><h2 id="plugins" tabindex="-1">plugins <a class="header-anchor" href="#plugins" aria-label="Permalink to "plugins"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/liteyukibot-plugin-nonebot" target="_blank" rel="noreferrer">liteyukibot-plugin-nonebot</a>: Liteyuki Bot NoneBot plugin, allowing Liteyuki to support NoneBot</li><li><a href="https://github.com/LiteyukiStudio/nonebot-plugin-liteyukibot" target="_blank" rel="noreferrer">nonebot-plugin-liteyukibot</a>: NoneBot plugin, allowing NoneBot to support Liteyuki</li></ul><h2 id="others" tabindex="-1">Others <a class="header-anchor" href="#others" aria-label="Permalink to "Others"">โ</a></h2><ul><li><a href="https://starmap.liteyuki.icu" target="_blank" rel="noreferrer">liteyuki starmap</a>: Liteyuki official star map, showing all instances of Liteyuki and their location distribution</li><li><a href="https://timerainstarsky.github.io/TRSS_Liteyuki/" target="_blank" rel="noreferrer">TRSS_Liteyuki</a>: LiteyukiBot management script</li><li><a href="https://github.com/LiteyukiStudio/litedoc" target="_blank" rel="noreferrer">litedoc</a>: Liteyuki API documentation generator</li><li>liteyukibot-api (closed source): Liteyuki Bot stat interface</li></ul>',7)]))}const b=e(o,[["render",l]]);export{k as __pageData,b as default};
|
||||
import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Best Practices","description":"","frontmatter":{"title":"Best Practices","order":10},"headers":[],"relativePath":"en/dev/best_practices.md","filePath":"en/dev/best_practices.md","lastUpdated":1734116271000}'),o={name:"en/dev/best_practices.md"};function l(n,t,s,u,c,h){return r(),i("div",null,t[0]||(t[0]=[a('<h1 id="best-practices" tabindex="-1">Best Practices <a class="header-anchor" href="#best-practices" aria-label="Permalink to "Best Practices"">โ</a></h1><h2 id="bot-applications" tabindex="-1">Bot applications <a class="header-anchor" href="#bot-applications" aria-label="Permalink to "Bot applications"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/LiteyukiBot" target="_blank" rel="noreferrer">LiteyukiBot</a>: Liteyuki Official Bot</li><li><a href="https://github.com/TriM-Organization/LiteyukiBot-TriM" target="_blank" rel="noreferrer">LiteyukiBot-TriM</a>: TriM Official Custom Liteyuki Bot</li><li><a href="https://git.liteyuki.icu/LiteyukiStudio/marsho-alpha" target="_blank" rel="noreferrer">Liteyuki Marsho</a>: A cute cat girl bot based on Liteyuki and the github model</li></ul><h2 id="plugins" tabindex="-1">plugins <a class="header-anchor" href="#plugins" aria-label="Permalink to "plugins"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/liteyukibot-plugin-nonebot" target="_blank" rel="noreferrer">liteyukibot-plugin-nonebot</a>: Liteyuki Bot NoneBot plugin, allowing Liteyuki to support NoneBot</li><li><a href="https://github.com/LiteyukiStudio/nonebot-plugin-liteyukibot" target="_blank" rel="noreferrer">nonebot-plugin-liteyukibot</a>: NoneBot plugin, allowing NoneBot to support Liteyuki</li></ul><h2 id="others" tabindex="-1">Others <a class="header-anchor" href="#others" aria-label="Permalink to "Others"">โ</a></h2><ul><li><a href="https://starmap.liteyuki.icu" target="_blank" rel="noreferrer">liteyuki starmap</a>: Liteyuki official star map, showing all instances of Liteyuki and their location distribution</li><li><a href="https://timerainstarsky.github.io/TRSS_Liteyuki/" target="_blank" rel="noreferrer">TRSS_Liteyuki</a>: LiteyukiBot management script</li><li><a href="https://github.com/LiteyukiStudio/litedoc" target="_blank" rel="noreferrer">litedoc</a>: Liteyuki API documentation generator</li><li>liteyukibot-api (closed source): Liteyuki Bot stat interface</li></ul>',7)]))}const b=e(o,[["render",l]]);export{k as __pageData,b as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Best Practices","description":"","frontmatter":{"title":"Best Practices","order":10},"headers":[],"relativePath":"en/dev/best_practices.md","filePath":"en/dev/best_practices.md","lastUpdated":1726860160000}'),o={name:"en/dev/best_practices.md"};function l(n,t,s,u,c,h){return r(),i("div",null,t[0]||(t[0]=[a('<h1 id="best-practices" tabindex="-1">Best Practices <a class="header-anchor" href="#best-practices" aria-label="Permalink to "Best Practices"">โ</a></h1><h2 id="bot-applications" tabindex="-1">Bot applications <a class="header-anchor" href="#bot-applications" aria-label="Permalink to "Bot applications"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/LiteyukiBot" target="_blank" rel="noreferrer">LiteyukiBot</a>: Liteyuki Official Bot</li><li><a href="https://github.com/TriM-Organization/LiteyukiBot-TriM" target="_blank" rel="noreferrer">LiteyukiBot-TriM</a>: TriM Official Custom Liteyuki Bot</li><li><a href="https://git.liteyuki.icu/LiteyukiStudio/marsho-alpha" target="_blank" rel="noreferrer">Liteyuki Marsho</a>: A cute cat girl bot based on Liteyuki and the github model</li></ul><h2 id="plugins" tabindex="-1">plugins <a class="header-anchor" href="#plugins" aria-label="Permalink to "plugins"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/liteyukibot-plugin-nonebot" target="_blank" rel="noreferrer">liteyukibot-plugin-nonebot</a>: Liteyuki Bot NoneBot plugin, allowing Liteyuki to support NoneBot</li><li><a href="https://github.com/LiteyukiStudio/nonebot-plugin-liteyukibot" target="_blank" rel="noreferrer">nonebot-plugin-liteyukibot</a>: NoneBot plugin, allowing NoneBot to support Liteyuki</li></ul><h2 id="others" tabindex="-1">Others <a class="header-anchor" href="#others" aria-label="Permalink to "Others"">โ</a></h2><ul><li><a href="https://starmap.liteyuki.icu" target="_blank" rel="noreferrer">liteyuki starmap</a>: Liteyuki official star map, showing all instances of Liteyuki and their location distribution</li><li><a href="https://timerainstarsky.github.io/TRSS_Liteyuki/" target="_blank" rel="noreferrer">TRSS_Liteyuki</a>: LiteyukiBot management script</li><li><a href="https://github.com/LiteyukiStudio/litedoc" target="_blank" rel="noreferrer">litedoc</a>: Liteyuki API documentation generator</li><li>liteyukibot-api (closed source): Liteyuki Bot stat interface</li></ul>',7)]))}const b=e(o,[["render",l]]);export{k as __pageData,b as default};
|
||||
import{_ as e,c as i,a7 as a,o as r}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Best Practices","description":"","frontmatter":{"title":"Best Practices","order":10},"headers":[],"relativePath":"en/dev/best_practices.md","filePath":"en/dev/best_practices.md","lastUpdated":1734116271000}'),o={name:"en/dev/best_practices.md"};function l(n,t,s,u,c,h){return r(),i("div",null,t[0]||(t[0]=[a('<h1 id="best-practices" tabindex="-1">Best Practices <a class="header-anchor" href="#best-practices" aria-label="Permalink to "Best Practices"">โ</a></h1><h2 id="bot-applications" tabindex="-1">Bot applications <a class="header-anchor" href="#bot-applications" aria-label="Permalink to "Bot applications"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/LiteyukiBot" target="_blank" rel="noreferrer">LiteyukiBot</a>: Liteyuki Official Bot</li><li><a href="https://github.com/TriM-Organization/LiteyukiBot-TriM" target="_blank" rel="noreferrer">LiteyukiBot-TriM</a>: TriM Official Custom Liteyuki Bot</li><li><a href="https://git.liteyuki.icu/LiteyukiStudio/marsho-alpha" target="_blank" rel="noreferrer">Liteyuki Marsho</a>: A cute cat girl bot based on Liteyuki and the github model</li></ul><h2 id="plugins" tabindex="-1">plugins <a class="header-anchor" href="#plugins" aria-label="Permalink to "plugins"">โ</a></h2><ul><li><a href="https://github.com/LiteyukiStudio/liteyukibot-plugin-nonebot" target="_blank" rel="noreferrer">liteyukibot-plugin-nonebot</a>: Liteyuki Bot NoneBot plugin, allowing Liteyuki to support NoneBot</li><li><a href="https://github.com/LiteyukiStudio/nonebot-plugin-liteyukibot" target="_blank" rel="noreferrer">nonebot-plugin-liteyukibot</a>: NoneBot plugin, allowing NoneBot to support Liteyuki</li></ul><h2 id="others" tabindex="-1">Others <a class="header-anchor" href="#others" aria-label="Permalink to "Others"">โ</a></h2><ul><li><a href="https://starmap.liteyuki.icu" target="_blank" rel="noreferrer">liteyuki starmap</a>: Liteyuki official star map, showing all instances of Liteyuki and their location distribution</li><li><a href="https://timerainstarsky.github.io/TRSS_Liteyuki/" target="_blank" rel="noreferrer">TRSS_Liteyuki</a>: LiteyukiBot management script</li><li><a href="https://github.com/LiteyukiStudio/litedoc" target="_blank" rel="noreferrer">litedoc</a>: Liteyuki API documentation generator</li><li>liteyukibot-api (closed source): Liteyuki Bot stat interface</li></ul>',7)]))}const b=e(o,[["render",l]]);export{k as __pageData,b as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Process Communication","description":"","frontmatter":{"title":"Process Communication","order":4},"headers":[],"relativePath":"en/dev/comm.md","filePath":"en/dev/comm.md","lastUpdated":1726859552000}'),t={name:"en/dev/comm.md"};function l(h,s,p,k,r,o){return e(),a("div",null,s[0]||(s[0]=[n(`<h1 id="channel-communication" tabindex="-1"><strong>Channel Communication</strong> <a class="header-anchor" href="#channel-communication" aria-label="Permalink to "**Channel Communication**"">โ</a></h1><h3 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-label="Permalink to "Introduction"">โ</a></h3><p>LiteyukiBot is running in the main process MainProcess, and other plugin framework processes are child processes that come with it. Therefore, it is impossible to communicate through shared memory and direct object transfer. Liteyuki provides a channel <a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a> for inter-process communication like <code>go</code>. You can send messages to other processes through <a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a> and listen to messages from other processes.</p><h3 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to "Example"">โ</a></h3><p>The channel is full-duplex, with two receiving modes, but only one mode can be used for a channel, that is, passive mode and active mode, passive mode is implemented by the <code>chan.on_receive()</code> decorator callback function, and active mode needs to call <code>chan.receive()</code> to implement</p><ul><li>ๅๅปบๅญ่ฟ็จ็ๅๆถไผๅๅงๅไธไธช่ขซๅจ้้ๅไธไธชไธปๅจ้้๏ผไธ้้ๆ ่ฏไธบ<code>{process_name}-active</code>ๅ<code>{process_name}-passive</code>๏ผ</li><li>ไธป่ฟ็จไธญ้่ฟ<code>get_channel</code>ๅฝๆฐ่ทๅ้้ๅฏน่ฑก</li><li>ๅญ่ฟ็จไธญๅฏผๅ
ฅๅไพ<code>active_channel</code>ๅ<code>passive_channel</code>ๅณๅฏ</li></ul><blockquote><p>ๅจ่ฝป้ชๆไปถไธญ(ไธป่ฟ็จไธญ)</p></blockquote><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> asyncio</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Process Communication","description":"","frontmatter":{"title":"Process Communication","order":4},"headers":[],"relativePath":"en/dev/comm.md","filePath":"en/dev/comm.md","lastUpdated":1734116271000}'),t={name:"en/dev/comm.md"};function l(h,s,p,k,r,o){return e(),a("div",null,s[0]||(s[0]=[n(`<h1 id="channel-communication" tabindex="-1"><strong>Channel Communication</strong> <a class="header-anchor" href="#channel-communication" aria-label="Permalink to "**Channel Communication**"">โ</a></h1><h3 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-label="Permalink to "Introduction"">โ</a></h3><p>LiteyukiBot is running in the main process MainProcess, and other plugin framework processes are child processes that come with it. Therefore, it is impossible to communicate through shared memory and direct object transfer. Liteyuki provides a channel <a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a> for inter-process communication like <code>go</code>. You can send messages to other processes through <a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a> and listen to messages from other processes.</p><h3 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to "Example"">โ</a></h3><p>The channel is full-duplex, with two receiving modes, but only one mode can be used for a channel, that is, passive mode and active mode, passive mode is implemented by the <code>chan.on_receive()</code> decorator callback function, and active mode needs to call <code>chan.receive()</code> to implement</p><ul><li>ๅๅปบๅญ่ฟ็จ็ๅๆถไผๅๅงๅไธไธช่ขซๅจ้้ๅไธไธชไธปๅจ้้๏ผไธ้้ๆ ่ฏไธบ<code>{process_name}-active</code>ๅ<code>{process_name}-passive</code>๏ผ</li><li>ไธป่ฟ็จไธญ้่ฟ<code>get_channel</code>ๅฝๆฐ่ทๅ้้ๅฏน่ฑก</li><li>ๅญ่ฟ็จไธญๅฏผๅ
ฅๅไพ<code>active_channel</code>ๅ<code>passive_channel</code>ๅณๅฏ</li></ul><blockquote><p>ๅจ่ฝป้ชๆไปถไธญ(ไธป่ฟ็จไธญ)</p></blockquote><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> asyncio</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.comm </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> get_channel, Channel</span></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> get_bot</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Process Communication","description":"","frontmatter":{"title":"Process Communication","order":4},"headers":[],"relativePath":"en/dev/comm.md","filePath":"en/dev/comm.md","lastUpdated":1726859552000}'),t={name:"en/dev/comm.md"};function l(h,s,p,k,r,o){return e(),a("div",null,s[0]||(s[0]=[n(`<h1 id="channel-communication" tabindex="-1"><strong>Channel Communication</strong> <a class="header-anchor" href="#channel-communication" aria-label="Permalink to "**Channel Communication**"">โ</a></h1><h3 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-label="Permalink to "Introduction"">โ</a></h3><p>LiteyukiBot is running in the main process MainProcess, and other plugin framework processes are child processes that come with it. Therefore, it is impossible to communicate through shared memory and direct object transfer. Liteyuki provides a channel <a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a> for inter-process communication like <code>go</code>. You can send messages to other processes through <a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a> and listen to messages from other processes.</p><h3 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to "Example"">โ</a></h3><p>The channel is full-duplex, with two receiving modes, but only one mode can be used for a channel, that is, passive mode and active mode, passive mode is implemented by the <code>chan.on_receive()</code> decorator callback function, and active mode needs to call <code>chan.receive()</code> to implement</p><ul><li>ๅๅปบๅญ่ฟ็จ็ๅๆถไผๅๅงๅไธไธช่ขซๅจ้้ๅไธไธชไธปๅจ้้๏ผไธ้้ๆ ่ฏไธบ<code>{process_name}-active</code>ๅ<code>{process_name}-passive</code>๏ผ</li><li>ไธป่ฟ็จไธญ้่ฟ<code>get_channel</code>ๅฝๆฐ่ทๅ้้ๅฏน่ฑก</li><li>ๅญ่ฟ็จไธญๅฏผๅ
ฅๅไพ<code>active_channel</code>ๅ<code>passive_channel</code>ๅณๅฏ</li></ul><blockquote><p>ๅจ่ฝป้ชๆไปถไธญ(ไธป่ฟ็จไธญ)</p></blockquote><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> asyncio</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Process Communication","description":"","frontmatter":{"title":"Process Communication","order":4},"headers":[],"relativePath":"en/dev/comm.md","filePath":"en/dev/comm.md","lastUpdated":1734116271000}'),t={name:"en/dev/comm.md"};function l(h,s,p,k,r,o){return e(),a("div",null,s[0]||(s[0]=[n(`<h1 id="channel-communication" tabindex="-1"><strong>Channel Communication</strong> <a class="header-anchor" href="#channel-communication" aria-label="Permalink to "**Channel Communication**"">โ</a></h1><h3 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-label="Permalink to "Introduction"">โ</a></h3><p>LiteyukiBot is running in the main process MainProcess, and other plugin framework processes are child processes that come with it. Therefore, it is impossible to communicate through shared memory and direct object transfer. Liteyuki provides a channel <a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a> for inter-process communication like <code>go</code>. You can send messages to other processes through <a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a> and listen to messages from other processes.</p><h3 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to "Example"">โ</a></h3><p>The channel is full-duplex, with two receiving modes, but only one mode can be used for a channel, that is, passive mode and active mode, passive mode is implemented by the <code>chan.on_receive()</code> decorator callback function, and active mode needs to call <code>chan.receive()</code> to implement</p><ul><li>ๅๅปบๅญ่ฟ็จ็ๅๆถไผๅๅงๅไธไธช่ขซๅจ้้ๅไธไธชไธปๅจ้้๏ผไธ้้ๆ ่ฏไธบ<code>{process_name}-active</code>ๅ<code>{process_name}-passive</code>๏ผ</li><li>ไธป่ฟ็จไธญ้่ฟ<code>get_channel</code>ๅฝๆฐ่ทๅ้้ๅฏน่ฑก</li><li>ๅญ่ฟ็จไธญๅฏผๅ
ฅๅไพ<code>active_channel</code>ๅ<code>passive_channel</code>ๅณๅฏ</li></ul><blockquote><p>ๅจ่ฝป้ชๆไปถไธญ(ไธป่ฟ็จไธญ)</p></blockquote><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> asyncio</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.comm </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> get_channel, Channel</span></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> get_bot</span></span>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Liteyuki Function","description":"","frontmatter":{"title":"Liteyuki Function","order":2},"headers":[],"relativePath":"en/dev/lyfunc.md","filePath":"en/dev/lyfunc.md","lastUpdated":1726859552000}'),l={name:"en/dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="่ฝป้ชๅฝๆฐ" tabindex="-1"><strong>่ฝป้ชๅฝๆฐ</strong> <a class="header-anchor" href="#่ฝป้ชๅฝๆฐ" aria-label="Permalink to "**่ฝป้ชๅฝๆฐ**"">โ</a></h1><p>่ฝป้ชๅฝๆฐ Liteyuki Function ๆฏ่ฝป้ช็ไธไธชๅ่ฝ๏ผๅฎๅ
่ฎธไฝ ๅจ่ฝป้ชไธญ่ฟ่กไธไบ่ชๅฎไน็็ฑๆฐๆฎ้ฉฑๅจ็ๅฝไปค๏ผ็ฑปไผผไบMinecraft็mcfunction๏ผๅฑไบ่ตๆบๅ
็ไธ้จๅ๏ผไฝ้ๅ็ฌ่ตท็ฏๅน
.</p><h3 id="ๅฝๆฐๆไปถ" tabindex="-1"><strong>ๅฝๆฐๆไปถ</strong> <a class="header-anchor" href="#ๅฝๆฐๆไปถ" aria-label="Permalink to "**ๅฝๆฐๆไปถ**"">โ</a></h3><p>ๅฝๆฐๆไปถๆพๅจ่ตๆบๅ
็<code>functions</code>็ฎๅฝไธ๏ผๆไปถๅไปฅ<code>.mcfunction</code> <code>.lyfunction</code> <code>.lyf</code>็ปๅฐพ๏ผไพๅฆ<code>test.mcfunction</code>๏ผๆไปถๅ
ๅฎนไธบไธ็ณปๅ็ๅฝไปค๏ผๆฏ่กไธไธชๅฝไปค๏ผๆฏๆๅ่กๆณจ้<code>#</code>(็ผ่พๆถ็่ฏญๆณ้ซไบฎๅฏ้ๅ<code>shell</code>ๆ ผๅผ)๏ผไพๅฆ๏ผ</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅจๅไฟกๅจ่พๅบ"hello world"</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Liteyuki Function","description":"","frontmatter":{"title":"Liteyuki Function","order":2},"headers":[],"relativePath":"en/dev/lyfunc.md","filePath":"en/dev/lyfunc.md","lastUpdated":1734116271000}'),l={name:"en/dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="่ฝป้ชๅฝๆฐ" tabindex="-1"><strong>่ฝป้ชๅฝๆฐ</strong> <a class="header-anchor" href="#่ฝป้ชๅฝๆฐ" aria-label="Permalink to "**่ฝป้ชๅฝๆฐ**"">โ</a></h1><p>่ฝป้ชๅฝๆฐ Liteyuki Function ๆฏ่ฝป้ช็ไธไธชๅ่ฝ๏ผๅฎๅ
่ฎธไฝ ๅจ่ฝป้ชไธญ่ฟ่กไธไบ่ชๅฎไน็็ฑๆฐๆฎ้ฉฑๅจ็ๅฝไปค๏ผ็ฑปไผผไบMinecraft็mcfunction๏ผๅฑไบ่ตๆบๅ
็ไธ้จๅ๏ผไฝ้ๅ็ฌ่ตท็ฏๅน
.</p><h3 id="ๅฝๆฐๆไปถ" tabindex="-1"><strong>ๅฝๆฐๆไปถ</strong> <a class="header-anchor" href="#ๅฝๆฐๆไปถ" aria-label="Permalink to "**ๅฝๆฐๆไปถ**"">โ</a></h3><p>ๅฝๆฐๆไปถๆพๅจ่ตๆบๅ
็<code>functions</code>็ฎๅฝไธ๏ผๆไปถๅไปฅ<code>.mcfunction</code> <code>.lyfunction</code> <code>.lyf</code>็ปๅฐพ๏ผไพๅฆ<code>test.mcfunction</code>๏ผๆไปถๅ
ๅฎนไธบไธ็ณปๅ็ๅฝไปค๏ผๆฏ่กไธไธชๅฝไปค๏ผๆฏๆๅ่กๆณจ้<code>#</code>(็ผ่พๆถ็่ฏญๆณ้ซไบฎๅฏ้ๅ<code>shell</code>ๆ ผๅผ)๏ผไพๅฆ๏ผ</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅจๅไฟกๅจ่พๅบ"hello world"</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">cmd</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> echo</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> hello</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> world</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅฆๆไฝ ๆณๅๆถ่พๅบๅค่กๅ
ๅฎนๅฏไปฅๅฐ่ฏๆข่ก็ฌฆ(Pythonๆ ผๅผ)</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Liteyuki Function","description":"","frontmatter":{"title":"Liteyuki Function","order":2},"headers":[],"relativePath":"en/dev/lyfunc.md","filePath":"en/dev/lyfunc.md","lastUpdated":1726859552000}'),l={name:"en/dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="่ฝป้ชๅฝๆฐ" tabindex="-1"><strong>่ฝป้ชๅฝๆฐ</strong> <a class="header-anchor" href="#่ฝป้ชๅฝๆฐ" aria-label="Permalink to "**่ฝป้ชๅฝๆฐ**"">โ</a></h1><p>่ฝป้ชๅฝๆฐ Liteyuki Function ๆฏ่ฝป้ช็ไธไธชๅ่ฝ๏ผๅฎๅ
่ฎธไฝ ๅจ่ฝป้ชไธญ่ฟ่กไธไบ่ชๅฎไน็็ฑๆฐๆฎ้ฉฑๅจ็ๅฝไปค๏ผ็ฑปไผผไบMinecraft็mcfunction๏ผๅฑไบ่ตๆบๅ
็ไธ้จๅ๏ผไฝ้ๅ็ฌ่ตท็ฏๅน
.</p><h3 id="ๅฝๆฐๆไปถ" tabindex="-1"><strong>ๅฝๆฐๆไปถ</strong> <a class="header-anchor" href="#ๅฝๆฐๆไปถ" aria-label="Permalink to "**ๅฝๆฐๆไปถ**"">โ</a></h3><p>ๅฝๆฐๆไปถๆพๅจ่ตๆบๅ
็<code>functions</code>็ฎๅฝไธ๏ผๆไปถๅไปฅ<code>.mcfunction</code> <code>.lyfunction</code> <code>.lyf</code>็ปๅฐพ๏ผไพๅฆ<code>test.mcfunction</code>๏ผๆไปถๅ
ๅฎนไธบไธ็ณปๅ็ๅฝไปค๏ผๆฏ่กไธไธชๅฝไปค๏ผๆฏๆๅ่กๆณจ้<code>#</code>(็ผ่พๆถ็่ฏญๆณ้ซไบฎๅฏ้ๅ<code>shell</code>ๆ ผๅผ)๏ผไพๅฆ๏ผ</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅจๅไฟกๅจ่พๅบ"hello world"</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const c=JSON.parse('{"title":"Liteyuki Function","description":"","frontmatter":{"title":"Liteyuki Function","order":2},"headers":[],"relativePath":"en/dev/lyfunc.md","filePath":"en/dev/lyfunc.md","lastUpdated":1734116271000}'),l={name:"en/dev/lyfunc.md"};function e(h,s,p,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="่ฝป้ชๅฝๆฐ" tabindex="-1"><strong>่ฝป้ชๅฝๆฐ</strong> <a class="header-anchor" href="#่ฝป้ชๅฝๆฐ" aria-label="Permalink to "**่ฝป้ชๅฝๆฐ**"">โ</a></h1><p>่ฝป้ชๅฝๆฐ Liteyuki Function ๆฏ่ฝป้ช็ไธไธชๅ่ฝ๏ผๅฎๅ
่ฎธไฝ ๅจ่ฝป้ชไธญ่ฟ่กไธไบ่ชๅฎไน็็ฑๆฐๆฎ้ฉฑๅจ็ๅฝไปค๏ผ็ฑปไผผไบMinecraft็mcfunction๏ผๅฑไบ่ตๆบๅ
็ไธ้จๅ๏ผไฝ้ๅ็ฌ่ตท็ฏๅน
.</p><h3 id="ๅฝๆฐๆไปถ" tabindex="-1"><strong>ๅฝๆฐๆไปถ</strong> <a class="header-anchor" href="#ๅฝๆฐๆไปถ" aria-label="Permalink to "**ๅฝๆฐๆไปถ**"">โ</a></h3><p>ๅฝๆฐๆไปถๆพๅจ่ตๆบๅ
็<code>functions</code>็ฎๅฝไธ๏ผๆไปถๅไปฅ<code>.mcfunction</code> <code>.lyfunction</code> <code>.lyf</code>็ปๅฐพ๏ผไพๅฆ<code>test.mcfunction</code>๏ผๆไปถๅ
ๅฎนไธบไธ็ณปๅ็ๅฝไปค๏ผๆฏ่กไธไธชๅฝไปค๏ผๆฏๆๅ่กๆณจ้<code>#</code>(็ผ่พๆถ็่ฏญๆณ้ซไบฎๅฏ้ๅ<code>shell</code>ๆ ผๅผ)๏ผไพๅฆ๏ผ</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅจๅไฟกๅจ่พๅบ"hello world"</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">cmd</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> echo</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> hello</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> world</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅฆๆไฝ ๆณๅๆถ่พๅบๅค่กๅ
ๅฎนๅฏไปฅๅฐ่ฏๆข่ก็ฌฆ(Pythonๆ ผๅผ)</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"Plugin","description":"","frontmatter":{"title":"Plugin","order":3},"headers":[],"relativePath":"en/dev/plugin.md","filePath":"en/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"en/dev/plugin.md"};function l(p,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ฝป้ชๆไปถๆฏ่ฝป้ชๅ
็ฝฎ็ไธ้จๅๅ่ฝ๏ผ่ฟ่กๅจไธป่ฟ็จไธญ๏ผๅฏไปฅๅพ้ซ็จๅบฆๅฐๆฉๅฑ่ฝป้ช็ๅ่ฝใ</p><h2 id="ๅผๅง" tabindex="-1">ๅผๅง <a class="header-anchor" href="#ๅผๅง" aria-label="Permalink to "ๅผๅง"">โ</a></h2><h3 id="ๅๅปบๆไปถ" tabindex="-1">ๅๅปบๆไปถ <a class="header-anchor" href="#ๅๅปบๆไปถ" aria-label="Permalink to "ๅๅปบๆไปถ"">โ</a></h3><p>ไธไธช<code>.py</code>ๆไปถๆไธไธชๅ
ๅซ<code>__init__.py</code>็ๆไปถๅคนๅณๅฏ่ขซ่ฏๅซไธบๆไปถ</p><p>้ฆๅ
ๅๅปบไธไธชๆไปถๅคน๏ผไพๅฆ<code>watchdog_plugin</code>๏ผๅนถๅจๅ
ถไธญๅๅปบไธไธช<code>__init__.py</code>ๆไปถ๏ผๅณๅฏๅๅปบไธไธชๆไปถ</p><p><code>__init__.py</code></p><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.plugin </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> PluginMetadata, PluginType</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"Plugin","description":"","frontmatter":{"title":"Plugin","order":3},"headers":[],"relativePath":"en/dev/plugin.md","filePath":"en/dev/plugin.md","lastUpdated":1734116271000}'),h={name:"en/dev/plugin.md"};function l(p,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ฝป้ชๆไปถๆฏ่ฝป้ชๅ
็ฝฎ็ไธ้จๅๅ่ฝ๏ผ่ฟ่กๅจไธป่ฟ็จไธญ๏ผๅฏไปฅๅพ้ซ็จๅบฆๅฐๆฉๅฑ่ฝป้ช็ๅ่ฝใ</p><h2 id="ๅผๅง" tabindex="-1">ๅผๅง <a class="header-anchor" href="#ๅผๅง" aria-label="Permalink to "ๅผๅง"">โ</a></h2><h3 id="ๅๅปบๆไปถ" tabindex="-1">ๅๅปบๆไปถ <a class="header-anchor" href="#ๅๅปบๆไปถ" aria-label="Permalink to "ๅๅปบๆไปถ"">โ</a></h3><p>ไธไธช<code>.py</code>ๆไปถๆไธไธชๅ
ๅซ<code>__init__.py</code>็ๆไปถๅคนๅณๅฏ่ขซ่ฏๅซไธบๆไปถ</p><p>้ฆๅ
ๅๅปบไธไธชๆไปถๅคน๏ผไพๅฆ<code>watchdog_plugin</code>๏ผๅนถๅจๅ
ถไธญๅๅปบไธไธช<code>__init__.py</code>ๆไปถ๏ผๅณๅฏๅๅปบไธไธชๆไปถ</p><p><code>__init__.py</code></p><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.plugin </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> PluginMetadata, PluginType</span></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> .watch_dog </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> *</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # ๅฏผๅ
ฅ้ป่พ้จๅ</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅฎไนๆไปถๅ
ๆฐๆฎ</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"Plugin","description":"","frontmatter":{"title":"Plugin","order":3},"headers":[],"relativePath":"en/dev/plugin.md","filePath":"en/dev/plugin.md","lastUpdated":1729881298000}'),h={name:"en/dev/plugin.md"};function l(p,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ฝป้ชๆไปถๆฏ่ฝป้ชๅ
็ฝฎ็ไธ้จๅๅ่ฝ๏ผ่ฟ่กๅจไธป่ฟ็จไธญ๏ผๅฏไปฅๅพ้ซ็จๅบฆๅฐๆฉๅฑ่ฝป้ช็ๅ่ฝใ</p><h2 id="ๅผๅง" tabindex="-1">ๅผๅง <a class="header-anchor" href="#ๅผๅง" aria-label="Permalink to "ๅผๅง"">โ</a></h2><h3 id="ๅๅปบๆไปถ" tabindex="-1">ๅๅปบๆไปถ <a class="header-anchor" href="#ๅๅปบๆไปถ" aria-label="Permalink to "ๅๅปบๆไปถ"">โ</a></h3><p>ไธไธช<code>.py</code>ๆไปถๆไธไธชๅ
ๅซ<code>__init__.py</code>็ๆไปถๅคนๅณๅฏ่ขซ่ฏๅซไธบๆไปถ</p><p>้ฆๅ
ๅๅปบไธไธชๆไปถๅคน๏ผไพๅฆ<code>watchdog_plugin</code>๏ผๅนถๅจๅ
ถไธญๅๅปบไธไธช<code>__init__.py</code>ๆไปถ๏ผๅณๅฏๅๅปบไธไธชๆไปถ</p><p><code>__init__.py</code></p><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.plugin </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> PluginMetadata, PluginType</span></span>
|
||||
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.Z6UMW4JZ.js";const o=JSON.parse('{"title":"Plugin","description":"","frontmatter":{"title":"Plugin","order":3},"headers":[],"relativePath":"en/dev/plugin.md","filePath":"en/dev/plugin.md","lastUpdated":1734116271000}'),h={name:"en/dev/plugin.md"};function l(p,s,e,k,d,r){return t(),a("div",null,s[0]||(s[0]=[n(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ฝป้ชๆไปถๆฏ่ฝป้ชๅ
็ฝฎ็ไธ้จๅๅ่ฝ๏ผ่ฟ่กๅจไธป่ฟ็จไธญ๏ผๅฏไปฅๅพ้ซ็จๅบฆๅฐๆฉๅฑ่ฝป้ช็ๅ่ฝใ</p><h2 id="ๅผๅง" tabindex="-1">ๅผๅง <a class="header-anchor" href="#ๅผๅง" aria-label="Permalink to "ๅผๅง"">โ</a></h2><h3 id="ๅๅปบๆไปถ" tabindex="-1">ๅๅปบๆไปถ <a class="header-anchor" href="#ๅๅปบๆไปถ" aria-label="Permalink to "ๅๅปบๆไปถ"">โ</a></h3><p>ไธไธช<code>.py</code>ๆไปถๆไธไธชๅ
ๅซ<code>__init__.py</code>็ๆไปถๅคนๅณๅฏ่ขซ่ฏๅซไธบๆไปถ</p><p>้ฆๅ
ๅๅปบไธไธชๆไปถๅคน๏ผไพๅฆ<code>watchdog_plugin</code>๏ผๅนถๅจๅ
ถไธญๅๅปบไธไธช<code>__init__.py</code>ๆไปถ๏ผๅณๅฏๅๅปบไธไธชๆไปถ</p><p><code>__init__.py</code></p><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.plugin </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> PluginMetadata, PluginType</span></span>
|
||||
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> .watch_dog </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> *</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # ๅฏผๅ
ฅ้ป่พ้จๅ</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๅฎไนๆไปถๅ
ๆฐๆฎ</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Resource Pack","description":"","frontmatter":{"title":"Resource Pack","order":1},"headers":[],"relativePath":"en/dev/resource.md","filePath":"en/dev/resource.md","lastUpdated":1726859552000}'),t={name:"en/dev/resource.md"};function n(p,s,c,d,h,o){return l(),i("div",null,s[0]||(s[0]=[e(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ตๆบๅ
,ไบฆๅฏๆ นๆฎ็จ้็งฐไธบไธป้ขๅ
ใๅญไฝๅ
ใ่ฏญ่จๅ
็ญ๏ผๅฎๅ
่ฎธไฝ ไธๅฎ็จๅบฆไธ่ชๅฎไน่ฝป้ช็ๅค่ง,ๅนถไธไธ็จไฟฎๆนๆบไปฃ็ </p><ul><li><a href="./../store/resource.html">่ตๆบ/ไธป้ขๅๅบ</a>ๆไพไบไธไบ่ตๆบๅ
ไพไฝ ้ๆฉ๏ผไฝ ไนๅฏไปฅ่ชๅทฑๅถไฝ่ตๆบๅ
</li><li>่ตๆบๅ
็ๅถไฝๅพ็ฎๅ๏ผๅฆๆไฝ ๆฅ่งฆ่ฟ<code>Minecraft</code>็่ตๆบๅ
๏ผ้ฃไนไฝ ่ฝๅคๅพๅฟซๅฐฑไธๆ๏ผไป
้ๆ็
งๅๆ่ทฏๅพ่ฟ่กๆไปถๆฟๆขๅณๅฏ๏ผ่ฎฒ่ตทๆๅ
ๆไธไธชๆฐ็่ตๆบๅ
ใ</li><li>้จๅๅ
ๅฎนๅถไฝ้่ฆไธ็น็นๅ็ซฏๅบ็ก,ไพๅฆ<code>html</code>๏ผ<code>css</code></li><li>่ฝป้ชๅ็่ตๆบๅ
่ฏทๆฅ็<code>LiteyukiBot/liteyuki/resources</code>๏ผๅฏไปฅๅจๆญคๅบ็กไธ่ฟ่กไฟฎๆน</li><li>ๆฌข่ฟๅไฝๆ็จฟ่ตๆบๅ
ๅฐ่ฝป้ช่ตๆบๅๅบ</li></ul><p>่ฏทๆณจๆ๏ผไธป้ขๅ
ไธญ็htmlๆธฒๆไฝฟ็จJsๆฅ่งๅฎๆฐๆฎ็ๆธฒๆไฝ็ฝฎ๏ผ่ฏท็กฎไฟๆจๆ็ผๅ็htmlไปฃ็ ่ฝ่ขซBot่งฃๆ๏ผๅฆๅไผๅฏผ่ดๆธฒๆๅคฑ่ดฅๆๆธฒๆ็ปๆไธ็ๆณ/ๅผๅธธ/้ไฝ็ญๆ ๆณ้ขๆ็ไบๆ
ๅ็ใๆจ่ๅจ็ผๅhtmlๆถๅๆถๆดๆนๅฏนๅบJsไปฃ็ ๏ผไปฅ้ฟๅ
ๅบ็ฐๆ ๆณ้ขๆ็้ฎ้ขใ</p><hr><h2 id="ๅ ่ฝฝ่ตๆบๅ
" tabindex="-1">ๅ ่ฝฝ่ตๆบๅ
<a class="header-anchor" href="#ๅ ่ฝฝ่ตๆบๅ
" aria-label="Permalink to "ๅ ่ฝฝ่ตๆบๅ
"">โ</a></h2><ul><li>่ตๆบๅ
้ๅธธๆฏไปฅ<code>.zip</code>ๆ ผๅผๅ็ผฉ็๏ผๅช้่ฆๅฐๅ
ถ่งฃๅๅฐๆ น็ฎๅฝ<code>resources</code>็ฎๅฝไธๅณๅฏ๏ผๆณจๆไธ่ฆๅตๅฅๆไปถๅคน,ๆญฃๅธธ็่ทฏๅพๅบ่ฏฅๆฏ่ฟๆ ท็</li></ul><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">main.py</span></span>
|
||||
import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Resource Pack","description":"","frontmatter":{"title":"Resource Pack","order":1},"headers":[],"relativePath":"en/dev/resource.md","filePath":"en/dev/resource.md","lastUpdated":1734116271000}'),t={name:"en/dev/resource.md"};function n(p,s,c,d,h,o){return l(),i("div",null,s[0]||(s[0]=[e(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ตๆบๅ
,ไบฆๅฏๆ นๆฎ็จ้็งฐไธบไธป้ขๅ
ใๅญไฝๅ
ใ่ฏญ่จๅ
็ญ๏ผๅฎๅ
่ฎธไฝ ไธๅฎ็จๅบฆไธ่ชๅฎไน่ฝป้ช็ๅค่ง,ๅนถไธไธ็จไฟฎๆนๆบไปฃ็ </p><ul><li><a href="./../store/resource.html">่ตๆบ/ไธป้ขๅๅบ</a>ๆไพไบไธไบ่ตๆบๅ
ไพไฝ ้ๆฉ๏ผไฝ ไนๅฏไปฅ่ชๅทฑๅถไฝ่ตๆบๅ
</li><li>่ตๆบๅ
็ๅถไฝๅพ็ฎๅ๏ผๅฆๆไฝ ๆฅ่งฆ่ฟ<code>Minecraft</code>็่ตๆบๅ
๏ผ้ฃไนไฝ ่ฝๅคๅพๅฟซๅฐฑไธๆ๏ผไป
้ๆ็
งๅๆ่ทฏๅพ่ฟ่กๆไปถๆฟๆขๅณๅฏ๏ผ่ฎฒ่ตทๆๅ
ๆไธไธชๆฐ็่ตๆบๅ
ใ</li><li>้จๅๅ
ๅฎนๅถไฝ้่ฆไธ็น็นๅ็ซฏๅบ็ก,ไพๅฆ<code>html</code>๏ผ<code>css</code></li><li>่ฝป้ชๅ็่ตๆบๅ
่ฏทๆฅ็<code>LiteyukiBot/liteyuki/resources</code>๏ผๅฏไปฅๅจๆญคๅบ็กไธ่ฟ่กไฟฎๆน</li><li>ๆฌข่ฟๅไฝๆ็จฟ่ตๆบๅ
ๅฐ่ฝป้ช่ตๆบๅๅบ</li></ul><p>่ฏทๆณจๆ๏ผไธป้ขๅ
ไธญ็htmlๆธฒๆไฝฟ็จJsๆฅ่งๅฎๆฐๆฎ็ๆธฒๆไฝ็ฝฎ๏ผ่ฏท็กฎไฟๆจๆ็ผๅ็htmlไปฃ็ ่ฝ่ขซBot่งฃๆ๏ผๅฆๅไผๅฏผ่ดๆธฒๆๅคฑ่ดฅๆๆธฒๆ็ปๆไธ็ๆณ/ๅผๅธธ/้ไฝ็ญๆ ๆณ้ขๆ็ไบๆ
ๅ็ใๆจ่ๅจ็ผๅhtmlๆถๅๆถๆดๆนๅฏนๅบJsไปฃ็ ๏ผไปฅ้ฟๅ
ๅบ็ฐๆ ๆณ้ขๆ็้ฎ้ขใ</p><hr><h2 id="ๅ ่ฝฝ่ตๆบๅ
" tabindex="-1">ๅ ่ฝฝ่ตๆบๅ
<a class="header-anchor" href="#ๅ ่ฝฝ่ตๆบๅ
" aria-label="Permalink to "ๅ ่ฝฝ่ตๆบๅ
"">โ</a></h2><ul><li>่ตๆบๅ
้ๅธธๆฏไปฅ<code>.zip</code>ๆ ผๅผๅ็ผฉ็๏ผๅช้่ฆๅฐๅ
ถ่งฃๅๅฐๆ น็ฎๅฝ<code>resources</code>็ฎๅฝไธๅณๅฏ๏ผๆณจๆไธ่ฆๅตๅฅๆไปถๅคน,ๆญฃๅธธ็่ทฏๅพๅบ่ฏฅๆฏ่ฟๆ ท็</li></ul><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">main.py</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">resources</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">โโresource_pack_1</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> โโmetadata.yml</span></span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Resource Pack","description":"","frontmatter":{"title":"Resource Pack","order":1},"headers":[],"relativePath":"en/dev/resource.md","filePath":"en/dev/resource.md","lastUpdated":1726859552000}'),t={name:"en/dev/resource.md"};function n(p,s,c,d,h,o){return l(),i("div",null,s[0]||(s[0]=[e(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ตๆบๅ
,ไบฆๅฏๆ นๆฎ็จ้็งฐไธบไธป้ขๅ
ใๅญไฝๅ
ใ่ฏญ่จๅ
็ญ๏ผๅฎๅ
่ฎธไฝ ไธๅฎ็จๅบฆไธ่ชๅฎไน่ฝป้ช็ๅค่ง,ๅนถไธไธ็จไฟฎๆนๆบไปฃ็ </p><ul><li><a href="./../store/resource.html">่ตๆบ/ไธป้ขๅๅบ</a>ๆไพไบไธไบ่ตๆบๅ
ไพไฝ ้ๆฉ๏ผไฝ ไนๅฏไปฅ่ชๅทฑๅถไฝ่ตๆบๅ
</li><li>่ตๆบๅ
็ๅถไฝๅพ็ฎๅ๏ผๅฆๆไฝ ๆฅ่งฆ่ฟ<code>Minecraft</code>็่ตๆบๅ
๏ผ้ฃไนไฝ ่ฝๅคๅพๅฟซๅฐฑไธๆ๏ผไป
้ๆ็
งๅๆ่ทฏๅพ่ฟ่กๆไปถๆฟๆขๅณๅฏ๏ผ่ฎฒ่ตทๆๅ
ๆไธไธชๆฐ็่ตๆบๅ
ใ</li><li>้จๅๅ
ๅฎนๅถไฝ้่ฆไธ็น็นๅ็ซฏๅบ็ก,ไพๅฆ<code>html</code>๏ผ<code>css</code></li><li>่ฝป้ชๅ็่ตๆบๅ
่ฏทๆฅ็<code>LiteyukiBot/liteyuki/resources</code>๏ผๅฏไปฅๅจๆญคๅบ็กไธ่ฟ่กไฟฎๆน</li><li>ๆฌข่ฟๅไฝๆ็จฟ่ตๆบๅ
ๅฐ่ฝป้ช่ตๆบๅๅบ</li></ul><p>่ฏทๆณจๆ๏ผไธป้ขๅ
ไธญ็htmlๆธฒๆไฝฟ็จJsๆฅ่งๅฎๆฐๆฎ็ๆธฒๆไฝ็ฝฎ๏ผ่ฏท็กฎไฟๆจๆ็ผๅ็htmlไปฃ็ ่ฝ่ขซBot่งฃๆ๏ผๅฆๅไผๅฏผ่ดๆธฒๆๅคฑ่ดฅๆๆธฒๆ็ปๆไธ็ๆณ/ๅผๅธธ/้ไฝ็ญๆ ๆณ้ขๆ็ไบๆ
ๅ็ใๆจ่ๅจ็ผๅhtmlๆถๅๆถๆดๆนๅฏนๅบJsไปฃ็ ๏ผไปฅ้ฟๅ
ๅบ็ฐๆ ๆณ้ขๆ็้ฎ้ขใ</p><hr><h2 id="ๅ ่ฝฝ่ตๆบๅ
" tabindex="-1">ๅ ่ฝฝ่ตๆบๅ
<a class="header-anchor" href="#ๅ ่ฝฝ่ตๆบๅ
" aria-label="Permalink to "ๅ ่ฝฝ่ตๆบๅ
"">โ</a></h2><ul><li>่ตๆบๅ
้ๅธธๆฏไปฅ<code>.zip</code>ๆ ผๅผๅ็ผฉ็๏ผๅช้่ฆๅฐๅ
ถ่งฃๅๅฐๆ น็ฎๅฝ<code>resources</code>็ฎๅฝไธๅณๅฏ๏ผๆณจๆไธ่ฆๅตๅฅๆไปถๅคน,ๆญฃๅธธ็่ทฏๅพๅบ่ฏฅๆฏ่ฟๆ ท็</li></ul><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">main.py</span></span>
|
||||
import{_ as a,c as i,a7 as e,o as l}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"Resource Pack","description":"","frontmatter":{"title":"Resource Pack","order":1},"headers":[],"relativePath":"en/dev/resource.md","filePath":"en/dev/resource.md","lastUpdated":1734116271000}'),t={name:"en/dev/resource.md"};function n(p,s,c,d,h,o){return l(),i("div",null,s[0]||(s[0]=[e(`<h1 id="็ฎไป" tabindex="-1">็ฎไป <a class="header-anchor" href="#็ฎไป" aria-label="Permalink to "็ฎไป"">โ</a></h1><p>่ตๆบๅ
,ไบฆๅฏๆ นๆฎ็จ้็งฐไธบไธป้ขๅ
ใๅญไฝๅ
ใ่ฏญ่จๅ
็ญ๏ผๅฎๅ
่ฎธไฝ ไธๅฎ็จๅบฆไธ่ชๅฎไน่ฝป้ช็ๅค่ง,ๅนถไธไธ็จไฟฎๆนๆบไปฃ็ </p><ul><li><a href="./../store/resource.html">่ตๆบ/ไธป้ขๅๅบ</a>ๆไพไบไธไบ่ตๆบๅ
ไพไฝ ้ๆฉ๏ผไฝ ไนๅฏไปฅ่ชๅทฑๅถไฝ่ตๆบๅ
</li><li>่ตๆบๅ
็ๅถไฝๅพ็ฎๅ๏ผๅฆๆไฝ ๆฅ่งฆ่ฟ<code>Minecraft</code>็่ตๆบๅ
๏ผ้ฃไนไฝ ่ฝๅคๅพๅฟซๅฐฑไธๆ๏ผไป
้ๆ็
งๅๆ่ทฏๅพ่ฟ่กๆไปถๆฟๆขๅณๅฏ๏ผ่ฎฒ่ตทๆๅ
ๆไธไธชๆฐ็่ตๆบๅ
ใ</li><li>้จๅๅ
ๅฎนๅถไฝ้่ฆไธ็น็นๅ็ซฏๅบ็ก,ไพๅฆ<code>html</code>๏ผ<code>css</code></li><li>่ฝป้ชๅ็่ตๆบๅ
่ฏทๆฅ็<code>LiteyukiBot/liteyuki/resources</code>๏ผๅฏไปฅๅจๆญคๅบ็กไธ่ฟ่กไฟฎๆน</li><li>ๆฌข่ฟๅไฝๆ็จฟ่ตๆบๅ
ๅฐ่ฝป้ช่ตๆบๅๅบ</li></ul><p>่ฏทๆณจๆ๏ผไธป้ขๅ
ไธญ็htmlๆธฒๆไฝฟ็จJsๆฅ่งๅฎๆฐๆฎ็ๆธฒๆไฝ็ฝฎ๏ผ่ฏท็กฎไฟๆจๆ็ผๅ็htmlไปฃ็ ่ฝ่ขซBot่งฃๆ๏ผๅฆๅไผๅฏผ่ดๆธฒๆๅคฑ่ดฅๆๆธฒๆ็ปๆไธ็ๆณ/ๅผๅธธ/้ไฝ็ญๆ ๆณ้ขๆ็ไบๆ
ๅ็ใๆจ่ๅจ็ผๅhtmlๆถๅๆถๆดๆนๅฏนๅบJsไปฃ็ ๏ผไปฅ้ฟๅ
ๅบ็ฐๆ ๆณ้ขๆ็้ฎ้ขใ</p><hr><h2 id="ๅ ่ฝฝ่ตๆบๅ
" tabindex="-1">ๅ ่ฝฝ่ตๆบๅ
<a class="header-anchor" href="#ๅ ่ฝฝ่ตๆบๅ
" aria-label="Permalink to "ๅ ่ฝฝ่ตๆบๅ
"">โ</a></h2><ul><li>่ตๆบๅ
้ๅธธๆฏไปฅ<code>.zip</code>ๆ ผๅผๅ็ผฉ็๏ผๅช้่ฆๅฐๅ
ถ่งฃๅๅฐๆ น็ฎๅฝ<code>resources</code>็ฎๅฝไธๅณๅฏ๏ผๆณจๆไธ่ฆๅตๅฅๆไปถๅคน,ๆญฃๅธธ็่ทฏๅพๅบ่ฏฅๆฏ่ฟๆ ท็</li></ul><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">main.py</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">resources</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">โโresource_pack_1</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> โโmetadata.yml</span></span>
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o as i}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"LiteyukiBot","tagline":"An integrated chat bot application and management framework","actions":[{"theme":"brand","text":"๐ Get Started","link":"./deploy/install"},{"theme":"alt","text":"๐ Manual","link":"./usage/basic"},{"theme":"alt","text":"๐ฆ Extensions","link":"./store/"},{"theme":"alt","text":"๐ ๏ธ Development","link":"./dev/guide"}],"image":{"light":"/liteyuki.svg","dark":"/liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"Ecological Diversity","icon":"๐ ๏ธ","details":"Based on the liteyuki framework, compatible with any Python bot framework and application","link":"./dev/api"},{"title":"Pluggable","icon":"๐งฉ","details":"Use package manager for convenient management of plugins and resource packs","link":"./store/plugin"},{"title":"Customizable","icon":"๐จ","details":"Fully customize the appearance using resource packs","link":"./store/resource"},{"title":"Localization","icon":"๐","details":"Support for multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to use","icon":"โ๏ธ","details":"No complicated pre-process, ready to use out of the box","link":"./deploy/config"},{"title":"High Performance","icon":"๐","details":"500 plugins, starts within 2 seconds"},{"title":"Rolling Updates","icon":"โ๏ธ","details":"Keep your robot up to date with the latest commits"},{"title":"Open Source","icon":"๐","details":"The project follows the LSO LICENSE and is open to contributions","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"en/index.md","filePath":"en/index.md","lastUpdated":1726859552000}'),a={name:"en/index.md"};function o(n,l,s,r,c,d){return i(),t("div")}const m=e(a,[["render",o]]);export{u as __pageData,m as default};
|
||||
import{_ as e,c as t,o as i}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"LiteyukiBot","tagline":"An integrated chat bot application and management framework","actions":[{"theme":"brand","text":"๐ Get Started","link":"./deploy/install"},{"theme":"alt","text":"๐ Manual","link":"./usage/basic"},{"theme":"alt","text":"๐ฆ Extensions","link":"./store/"},{"theme":"alt","text":"๐ ๏ธ Development","link":"./dev/guide"}],"image":{"light":"/liteyuki.svg","dark":"/liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"Ecological Diversity","icon":"๐ ๏ธ","details":"Based on the liteyuki framework, compatible with any Python bot framework and application","link":"./dev/api"},{"title":"Pluggable","icon":"๐งฉ","details":"Use package manager for convenient management of plugins and resource packs","link":"./store/plugin"},{"title":"Customizable","icon":"๐จ","details":"Fully customize the appearance using resource packs","link":"./store/resource"},{"title":"Localization","icon":"๐","details":"Support for multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to use","icon":"โ๏ธ","details":"No complicated pre-process, ready to use out of the box","link":"./deploy/config"},{"title":"High Performance","icon":"๐","details":"500 plugins, starts within 2 seconds"},{"title":"Rolling Updates","icon":"โ๏ธ","details":"Keep your robot up to date with the latest commits"},{"title":"Open Source","icon":"๐","details":"The project follows the LSO LICENSE and is open to contributions","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"en/index.md","filePath":"en/index.md","lastUpdated":1734116271000}'),a={name:"en/index.md"};function o(n,l,s,r,c,d){return i(),t("div")}const m=e(a,[["render",o]]);export{u as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o as i}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"LiteyukiBot","tagline":"An integrated chat bot application and management framework","actions":[{"theme":"brand","text":"๐ Get Started","link":"./deploy/install"},{"theme":"alt","text":"๐ Manual","link":"./usage/basic"},{"theme":"alt","text":"๐ฆ Extensions","link":"./store/"},{"theme":"alt","text":"๐ ๏ธ Development","link":"./dev/guide"}],"image":{"light":"/liteyuki.svg","dark":"/liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"Ecological Diversity","icon":"๐ ๏ธ","details":"Based on the liteyuki framework, compatible with any Python bot framework and application","link":"./dev/api"},{"title":"Pluggable","icon":"๐งฉ","details":"Use package manager for convenient management of plugins and resource packs","link":"./store/plugin"},{"title":"Customizable","icon":"๐จ","details":"Fully customize the appearance using resource packs","link":"./store/resource"},{"title":"Localization","icon":"๐","details":"Support for multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to use","icon":"โ๏ธ","details":"No complicated pre-process, ready to use out of the box","link":"./deploy/config"},{"title":"High Performance","icon":"๐","details":"500 plugins, starts within 2 seconds"},{"title":"Rolling Updates","icon":"โ๏ธ","details":"Keep your robot up to date with the latest commits"},{"title":"Open Source","icon":"๐","details":"The project follows the LSO LICENSE and is open to contributions","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"en/index.md","filePath":"en/index.md","lastUpdated":1726859552000}'),a={name:"en/index.md"};function o(n,l,s,r,c,d){return i(),t("div")}const m=e(a,[["render",o]]);export{u as __pageData,m as default};
|
||||
import{_ as e,c as t,o as i}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"LiteyukiBot","tagline":"An integrated chat bot application and management framework","actions":[{"theme":"brand","text":"๐ Get Started","link":"./deploy/install"},{"theme":"alt","text":"๐ Manual","link":"./usage/basic"},{"theme":"alt","text":"๐ฆ Extensions","link":"./store/"},{"theme":"alt","text":"๐ ๏ธ Development","link":"./dev/guide"}],"image":{"light":"/liteyuki.svg","dark":"/liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"Ecological Diversity","icon":"๐ ๏ธ","details":"Based on the liteyuki framework, compatible with any Python bot framework and application","link":"./dev/api"},{"title":"Pluggable","icon":"๐งฉ","details":"Use package manager for convenient management of plugins and resource packs","link":"./store/plugin"},{"title":"Customizable","icon":"๐จ","details":"Fully customize the appearance using resource packs","link":"./store/resource"},{"title":"Localization","icon":"๐","details":"Support for multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to use","icon":"โ๏ธ","details":"No complicated pre-process, ready to use out of the box","link":"./deploy/config"},{"title":"High Performance","icon":"๐","details":"500 plugins, starts within 2 seconds"},{"title":"Rolling Updates","icon":"โ๏ธ","details":"Keep your robot up to date with the latest commits"},{"title":"Open Source","icon":"๐","details":"The project follows the LSO LICENSE and is open to contributions","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"en/index.md","filePath":"en/index.md","lastUpdated":1734116271000}'),a={name:"en/index.md"};function o(n,l,s,r,c,d){return i(),t("div")}const m=e(a,[["render",o]]);export{u as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as n,G as o,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"Plugin Store","description":"","frontmatter":{"title":"Plugin Store","order":2},"headers":[],"relativePath":"en/store/plugin.md","filePath":"en/store/plugin.md","lastUpdated":1725200049000}'),s={name:"en/store/plugin.md"};function l(i,c,p,d,u,_){const e=r("PluginStore");return a(),n("div",null,[o(e)])}const f=t(s,[["render",l]]);export{g as __pageData,f as default};
|
||||
import{_ as t,c as n,G as o,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"Plugin Store","description":"","frontmatter":{"title":"Plugin Store","order":2},"headers":[],"relativePath":"en/store/plugin.md","filePath":"en/store/plugin.md","lastUpdated":1734116271000}'),s={name:"en/store/plugin.md"};function l(i,c,p,d,u,_){const e=r("PluginStore");return a(),n("div",null,[o(e)])}const f=t(s,[["render",l]]);export{g as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as n,G as o,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"Plugin Store","description":"","frontmatter":{"title":"Plugin Store","order":2},"headers":[],"relativePath":"en/store/plugin.md","filePath":"en/store/plugin.md","lastUpdated":1725200049000}'),s={name:"en/store/plugin.md"};function l(i,c,p,d,u,_){const e=r("PluginStore");return a(),n("div",null,[o(e)])}const f=t(s,[["render",l]]);export{g as __pageData,f as default};
|
||||
import{_ as t,c as n,G as o,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const g=JSON.parse('{"title":"Plugin Store","description":"","frontmatter":{"title":"Plugin Store","order":2},"headers":[],"relativePath":"en/store/plugin.md","filePath":"en/store/plugin.md","lastUpdated":1734116271000}'),s={name:"en/store/plugin.md"};function l(i,c,p,d,u,_){const e=r("PluginStore");return a(),n("div",null,[o(e)])}const f=t(s,[["render",l]]);export{g as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"Resource Store","description":"","frontmatter":{"title":"Resource Store","order":1},"headers":[],"relativePath":"en/store/resource.md","filePath":"en/store/resource.md","lastUpdated":1725200049000}'),c={name:"en/store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const S=t(c,[["render",n]]);export{f as __pageData,S as default};
|
||||
import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"Resource Store","description":"","frontmatter":{"title":"Resource Store","order":1},"headers":[],"relativePath":"en/store/resource.md","filePath":"en/store/resource.md","lastUpdated":1734116271000}'),c={name:"en/store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const S=t(c,[["render",n]]);export{f as __pageData,S as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"Resource Store","description":"","frontmatter":{"title":"Resource Store","order":1},"headers":[],"relativePath":"en/store/resource.md","filePath":"en/store/resource.md","lastUpdated":1725200049000}'),c={name:"en/store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const S=t(c,[["render",n]]);export{f as __pageData,S as default};
|
||||
import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"Resource Store","description":"","frontmatter":{"title":"Resource Store","order":1},"headers":[],"relativePath":"en/store/resource.md","filePath":"en/store/resource.md","lastUpdated":1734116271000}'),c={name:"en/store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const S=t(c,[["render",n]]);export{f as __pageData,S as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็จๆทๅ่ฎฎ","description":"","frontmatter":{"title":"็จๆทๅ่ฎฎ","order":3},"headers":[],"relativePath":"en/usage/agreement.md","filePath":"en/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"en/usage/agreement.md"};function i(n,e,d,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('<h1 id="็จๆทๅ่ฎฎ" tabindex="-1">็จๆทๅ่ฎฎ <a class="header-anchor" href="#็จๆทๅ่ฎฎ" aria-label="Permalink to "็จๆทๅ่ฎฎ"">โ</a></h1><ol><li>ๆฌ้กน็ฎ้ตๅพช<code>MIT</code>ๅ่ฎฎ๏ผไฝ ๅฏไปฅ่ช็ฑไฝฟ็จ๏ผไฟฎๆน๏ผๅๅ๏ผไฝๆฏ่ฏทไฟ็ๅไฝ่
ไฟกๆฏ</li><li>ไฝ ๅฏไปฅ้ๆฉๅผๅฏ<code>auto_report</code>(้ป่ฎคๅผๅฏ)๏ผ่ฝป้ชไผๆถ้ไปฅไธๅ
ๅฎน <ul><li>่ฟ่ก็ฏๅข็่ฎพๅคไฟกๆฏ๏ผCPU๏ผๅ
ๅญ๏ผ็ณป็ปไฟกๆฏๅPythonไฟกๆฏ</li><li>ๆไปถไฟกๆฏ(ไธๅซๆไปถๆฐๆฎ)</li><li>้จๅๅผๅธธไฟกๆฏ๏ผ</li><li>ไผ่ฏ่ด่ฝฝไฟกๆฏ(ไธๅซ้็ง้จๅ) ไปฅไธๅ
ๅฎนไป
็จไบ้กน็ฎ็ไผๅ๏ผไธๅ
ๅซไปปไฝ้็งไฟกๆฏ๏ผไธ้่ฟๅฎๅ
จ็ๆนๅผไผ ่พๅฐ่ฝป้ช็ๆๅกๅจ๏ผ่ฅไฝ ไธๅธๆๆไพ่ฟไบไฟกๆฏ๏ผๅฏไปฅๅจ้
็ฝฎๆไปถไธญๆ<code>auto_report</code>่ฎพๅฎไธบ<code>false</code></li></ul></li><li>ๆฌ้กน็ฎไธไผๆถ้็จๆท็ไปปไฝ้็งไฟกๆฏ๏ผไฝ่ฏทๆณจๆ็ๅซ็ฌฌไธๆนๆไปถ็ๅฎๅ
จๆง</li><li>ไฝฟ็จๆญค้กน็ฎไปฃ่กจไฝ ๅทฒ็ปๅๆไปฅไธๅ่ฎฎ</li></ol>',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default};
|
||||
import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็จๆทๅ่ฎฎ","description":"","frontmatter":{"title":"็จๆทๅ่ฎฎ","order":3},"headers":[],"relativePath":"en/usage/agreement.md","filePath":"en/usage/agreement.md","lastUpdated":1734116271000}'),r={name:"en/usage/agreement.md"};function i(n,e,d,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('<h1 id="็จๆทๅ่ฎฎ" tabindex="-1">็จๆทๅ่ฎฎ <a class="header-anchor" href="#็จๆทๅ่ฎฎ" aria-label="Permalink to "็จๆทๅ่ฎฎ"">โ</a></h1><ol><li>ๆฌ้กน็ฎ้ตๅพช<code>MIT</code>ๅ่ฎฎ๏ผไฝ ๅฏไปฅ่ช็ฑไฝฟ็จ๏ผไฟฎๆน๏ผๅๅ๏ผไฝๆฏ่ฏทไฟ็ๅไฝ่
ไฟกๆฏ</li><li>ไฝ ๅฏไปฅ้ๆฉๅผๅฏ<code>auto_report</code>(้ป่ฎคๅผๅฏ)๏ผ่ฝป้ชไผๆถ้ไปฅไธๅ
ๅฎน <ul><li>่ฟ่ก็ฏๅข็่ฎพๅคไฟกๆฏ๏ผCPU๏ผๅ
ๅญ๏ผ็ณป็ปไฟกๆฏๅPythonไฟกๆฏ</li><li>ๆไปถไฟกๆฏ(ไธๅซๆไปถๆฐๆฎ)</li><li>้จๅๅผๅธธไฟกๆฏ๏ผ</li><li>ไผ่ฏ่ด่ฝฝไฟกๆฏ(ไธๅซ้็ง้จๅ) ไปฅไธๅ
ๅฎนไป
็จไบ้กน็ฎ็ไผๅ๏ผไธๅ
ๅซไปปไฝ้็งไฟกๆฏ๏ผไธ้่ฟๅฎๅ
จ็ๆนๅผไผ ่พๅฐ่ฝป้ช็ๆๅกๅจ๏ผ่ฅไฝ ไธๅธๆๆไพ่ฟไบไฟกๆฏ๏ผๅฏไปฅๅจ้
็ฝฎๆไปถไธญๆ<code>auto_report</code>่ฎพๅฎไธบ<code>false</code></li></ul></li><li>ๆฌ้กน็ฎไธไผๆถ้็จๆท็ไปปไฝ้็งไฟกๆฏ๏ผไฝ่ฏทๆณจๆ็ๅซ็ฌฌไธๆนๆไปถ็ๅฎๅ
จๆง</li><li>ไฝฟ็จๆญค้กน็ฎไปฃ่กจไฝ ๅทฒ็ปๅๆไปฅไธๅ่ฎฎ</li></ol>',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็จๆทๅ่ฎฎ","description":"","frontmatter":{"title":"็จๆทๅ่ฎฎ","order":3},"headers":[],"relativePath":"en/usage/agreement.md","filePath":"en/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"en/usage/agreement.md"};function i(n,e,d,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('<h1 id="็จๆทๅ่ฎฎ" tabindex="-1">็จๆทๅ่ฎฎ <a class="header-anchor" href="#็จๆทๅ่ฎฎ" aria-label="Permalink to "็จๆทๅ่ฎฎ"">โ</a></h1><ol><li>ๆฌ้กน็ฎ้ตๅพช<code>MIT</code>ๅ่ฎฎ๏ผไฝ ๅฏไปฅ่ช็ฑไฝฟ็จ๏ผไฟฎๆน๏ผๅๅ๏ผไฝๆฏ่ฏทไฟ็ๅไฝ่
ไฟกๆฏ</li><li>ไฝ ๅฏไปฅ้ๆฉๅผๅฏ<code>auto_report</code>(้ป่ฎคๅผๅฏ)๏ผ่ฝป้ชไผๆถ้ไปฅไธๅ
ๅฎน <ul><li>่ฟ่ก็ฏๅข็่ฎพๅคไฟกๆฏ๏ผCPU๏ผๅ
ๅญ๏ผ็ณป็ปไฟกๆฏๅPythonไฟกๆฏ</li><li>ๆไปถไฟกๆฏ(ไธๅซๆไปถๆฐๆฎ)</li><li>้จๅๅผๅธธไฟกๆฏ๏ผ</li><li>ไผ่ฏ่ด่ฝฝไฟกๆฏ(ไธๅซ้็ง้จๅ) ไปฅไธๅ
ๅฎนไป
็จไบ้กน็ฎ็ไผๅ๏ผไธๅ
ๅซไปปไฝ้็งไฟกๆฏ๏ผไธ้่ฟๅฎๅ
จ็ๆนๅผไผ ่พๅฐ่ฝป้ช็ๆๅกๅจ๏ผ่ฅไฝ ไธๅธๆๆไพ่ฟไบไฟกๆฏ๏ผๅฏไปฅๅจ้
็ฝฎๆไปถไธญๆ<code>auto_report</code>่ฎพๅฎไธบ<code>false</code></li></ul></li><li>ๆฌ้กน็ฎไธไผๆถ้็จๆท็ไปปไฝ้็งไฟกๆฏ๏ผไฝ่ฏทๆณจๆ็ๅซ็ฌฌไธๆนๆไปถ็ๅฎๅ
จๆง</li><li>ไฝฟ็จๆญค้กน็ฎไปฃ่กจไฝ ๅทฒ็ปๅๆไปฅไธๅ่ฎฎ</li></ol>',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default};
|
||||
import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็จๆทๅ่ฎฎ","description":"","frontmatter":{"title":"็จๆทๅ่ฎฎ","order":3},"headers":[],"relativePath":"en/usage/agreement.md","filePath":"en/usage/agreement.md","lastUpdated":1734116271000}'),r={name:"en/usage/agreement.md"};function i(n,e,d,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('<h1 id="็จๆทๅ่ฎฎ" tabindex="-1">็จๆทๅ่ฎฎ <a class="header-anchor" href="#็จๆทๅ่ฎฎ" aria-label="Permalink to "็จๆทๅ่ฎฎ"">โ</a></h1><ol><li>ๆฌ้กน็ฎ้ตๅพช<code>MIT</code>ๅ่ฎฎ๏ผไฝ ๅฏไปฅ่ช็ฑไฝฟ็จ๏ผไฟฎๆน๏ผๅๅ๏ผไฝๆฏ่ฏทไฟ็ๅไฝ่
ไฟกๆฏ</li><li>ไฝ ๅฏไปฅ้ๆฉๅผๅฏ<code>auto_report</code>(้ป่ฎคๅผๅฏ)๏ผ่ฝป้ชไผๆถ้ไปฅไธๅ
ๅฎน <ul><li>่ฟ่ก็ฏๅข็่ฎพๅคไฟกๆฏ๏ผCPU๏ผๅ
ๅญ๏ผ็ณป็ปไฟกๆฏๅPythonไฟกๆฏ</li><li>ๆไปถไฟกๆฏ(ไธๅซๆไปถๆฐๆฎ)</li><li>้จๅๅผๅธธไฟกๆฏ๏ผ</li><li>ไผ่ฏ่ด่ฝฝไฟกๆฏ(ไธๅซ้็ง้จๅ) ไปฅไธๅ
ๅฎนไป
็จไบ้กน็ฎ็ไผๅ๏ผไธๅ
ๅซไปปไฝ้็งไฟกๆฏ๏ผไธ้่ฟๅฎๅ
จ็ๆนๅผไผ ่พๅฐ่ฝป้ช็ๆๅกๅจ๏ผ่ฅไฝ ไธๅธๆๆไพ่ฟไบไฟกๆฏ๏ผๅฏไปฅๅจ้
็ฝฎๆไปถไธญๆ<code>auto_report</code>่ฎพๅฎไธบ<code>false</code></li></ul></li><li>ๆฌ้กน็ฎไธไผๆถ้็จๆท็ไปปไฝ้็งไฟกๆฏ๏ผไฝ่ฏทๆณจๆ็ๅซ็ฌฌไธๆนๆไปถ็ๅฎๅ
จๆง</li><li>ไฝฟ็จๆญค้กน็ฎไปฃ่กจไฝ ๅทฒ็ปๅๆไปฅไธๅ่ฎฎ</li></ol>',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as t,c as e,o as i}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"่ฝป้ชๆบๅจไบบ","tagline":"ไธไธช็ปผๅๆง็่ๅคฉๆบๅจไบบๅบ็จๅ็ฎก็ๆกๆถ","actions":[{"theme":"brand","text":"๐ ๅฟซ้ๅผๅง","link":"./deploy/install"},{"theme":"alt","text":"๐ ไฝฟ็จๆๅ","link":"./usage/basic"},{"theme":"alt","text":"๐ฆ ๆฉๅฑ","link":"./store/resource"},{"theme":"alt","text":"๐ ๏ธ ๅผๅ","link":"./dev/guide"}],"image":{"light":"./liteyuki.svg","dark":"./liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"็ๆ่ฏๅฅฝ","icon":"๐ ๏ธ","details":"ๅบไบ่ฝป้ชๆกๆถ๏ผๅ็ๆฏๆไปปๆPython Botๆกๆถๅๅบ็จ็จๅบ","link":"./dev/api"},{"title":"ๆไปถ็ฎก็","icon":"๐งฉ","details":"ไฝฟ็จๅ
็ฎก็ๅจ๏ผไพฟๆท็ฎก็ๆไปถๅ่ตๆบๅ
","link":"./store/plugin"},{"title":"่ช็ฑๅฎๅถ","icon":"๐จ","details":"ไฝฟ็จ่ตๆบๅ
ๅฏนๅค่ง่ฟ่กๅฎๅ
จ่ชๅฎไน","link":"./store/resource"},{"title":"ๅฝ้
ๅ","icon":"๐","details":"้่ฟ่ตๆบๅ
ๆฏๆๅค็ง่ฏญ่จ","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"็ฎๆไฝฟ็จ","icon":"โ๏ธ","details":"ๆ ้็น็ๅๆ่ฟ็จ๏ผๅผ็ฎฑๅณ็จ","link":"./deploy/config"},{"title":"่ถ
้ซๆง่ฝ","icon":"๐","details":"500ไธชๆไปถ๏ผ2็งๅ
ๅฏๅจ"},{"title":"ๆปๅจๆดๆฐ","icon":"โ๏ธ","details":"่ฎฉไฝ ็ๆบๅจไบบไฟๆๆๆฐๆไบค"},{"title":"ๅผๆบ้กน็ฎ","icon":"๐","details":"้กน็ฎ้ตๅพชLSO LICENCEๅผๆบ๏ผๆฌข่ฟๅไฝ็่ดก็ฎ","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"index.md","filePath":"zh/index.md","lastUpdated":1726859552000}'),a={name:"index.md"};function l(n,o,s,d,c,r){return i(),e("div")}const m=t(a,[["render",l]]);export{k as __pageData,m as default};
|
||||
import{_ as t,c as e,o as i}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"่ฝป้ชๆบๅจไบบ","tagline":"ไธไธช็ปผๅๆง็่ๅคฉๆบๅจไบบๅบ็จๅ็ฎก็ๆกๆถ","actions":[{"theme":"brand","text":"๐ ๅฟซ้ๅผๅง","link":"./deploy/install"},{"theme":"alt","text":"๐ ไฝฟ็จๆๅ","link":"./usage/basic"},{"theme":"alt","text":"๐ฆ ๆฉๅฑ","link":"./store/resource"},{"theme":"alt","text":"๐ ๏ธ ๅผๅ","link":"./dev/guide"}],"image":{"light":"./liteyuki.svg","dark":"./liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"็ๆ่ฏๅฅฝ","icon":"๐ ๏ธ","details":"ๅบไบ่ฝป้ชๆกๆถ๏ผๅ็ๆฏๆไปปๆPython Botๆกๆถๅๅบ็จ็จๅบ","link":"./dev/api"},{"title":"ๆไปถ็ฎก็","icon":"๐งฉ","details":"ไฝฟ็จๅ
็ฎก็ๅจ๏ผไพฟๆท็ฎก็ๆไปถๅ่ตๆบๅ
","link":"./store/plugin"},{"title":"่ช็ฑๅฎๅถ","icon":"๐จ","details":"ไฝฟ็จ่ตๆบๅ
ๅฏนๅค่ง่ฟ่กๅฎๅ
จ่ชๅฎไน","link":"./store/resource"},{"title":"ๅฝ้
ๅ","icon":"๐","details":"้่ฟ่ตๆบๅ
ๆฏๆๅค็ง่ฏญ่จ","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"็ฎๆไฝฟ็จ","icon":"โ๏ธ","details":"ๆ ้็น็ๅๆ่ฟ็จ๏ผๅผ็ฎฑๅณ็จ","link":"./deploy/config"},{"title":"่ถ
้ซๆง่ฝ","icon":"๐","details":"500ไธชๆไปถ๏ผ2็งๅ
ๅฏๅจ"},{"title":"ๆปๅจๆดๆฐ","icon":"โ๏ธ","details":"่ฎฉไฝ ็ๆบๅจไบบไฟๆๆๆฐๆไบค"},{"title":"ๅผๆบ้กน็ฎ","icon":"๐","details":"้กน็ฎ้ตๅพชLSO LICENCEๅผๆบ๏ผๆฌข่ฟๅไฝ็่ดก็ฎ","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"index.md","filePath":"zh/index.md","lastUpdated":1734116271000}'),a={name:"index.md"};function l(n,o,s,d,c,r){return i(),e("div")}const m=t(a,[["render",l]]);export{k as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as e,o as i}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"่ฝป้ชๆบๅจไบบ","tagline":"ไธไธช็ปผๅๆง็่ๅคฉๆบๅจไบบๅบ็จๅ็ฎก็ๆกๆถ","actions":[{"theme":"brand","text":"๐ ๅฟซ้ๅผๅง","link":"./deploy/install"},{"theme":"alt","text":"๐ ไฝฟ็จๆๅ","link":"./usage/basic"},{"theme":"alt","text":"๐ฆ ๆฉๅฑ","link":"./store/resource"},{"theme":"alt","text":"๐ ๏ธ ๅผๅ","link":"./dev/guide"}],"image":{"light":"./liteyuki.svg","dark":"./liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"็ๆ่ฏๅฅฝ","icon":"๐ ๏ธ","details":"ๅบไบ่ฝป้ชๆกๆถ๏ผๅ็ๆฏๆไปปๆPython Botๆกๆถๅๅบ็จ็จๅบ","link":"./dev/api"},{"title":"ๆไปถ็ฎก็","icon":"๐งฉ","details":"ไฝฟ็จๅ
็ฎก็ๅจ๏ผไพฟๆท็ฎก็ๆไปถๅ่ตๆบๅ
","link":"./store/plugin"},{"title":"่ช็ฑๅฎๅถ","icon":"๐จ","details":"ไฝฟ็จ่ตๆบๅ
ๅฏนๅค่ง่ฟ่กๅฎๅ
จ่ชๅฎไน","link":"./store/resource"},{"title":"ๅฝ้
ๅ","icon":"๐","details":"้่ฟ่ตๆบๅ
ๆฏๆๅค็ง่ฏญ่จ","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"็ฎๆไฝฟ็จ","icon":"โ๏ธ","details":"ๆ ้็น็ๅๆ่ฟ็จ๏ผๅผ็ฎฑๅณ็จ","link":"./deploy/config"},{"title":"่ถ
้ซๆง่ฝ","icon":"๐","details":"500ไธชๆไปถ๏ผ2็งๅ
ๅฏๅจ"},{"title":"ๆปๅจๆดๆฐ","icon":"โ๏ธ","details":"่ฎฉไฝ ็ๆบๅจไบบไฟๆๆๆฐๆไบค"},{"title":"ๅผๆบ้กน็ฎ","icon":"๐","details":"้กน็ฎ้ตๅพชLSO LICENCEๅผๆบ๏ผๆฌข่ฟๅไฝ็่ดก็ฎ","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"index.md","filePath":"zh/index.md","lastUpdated":1726859552000}'),a={name:"index.md"};function l(n,o,s,d,c,r){return i(),e("div")}const m=t(a,[["render",l]]);export{k as __pageData,m as default};
|
||||
import{_ as t,c as e,o as i}from"./chunks/framework.Z6UMW4JZ.js";const k=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"่ฝป้ชๆบๅจไบบ","tagline":"ไธไธช็ปผๅๆง็่ๅคฉๆบๅจไบบๅบ็จๅ็ฎก็ๆกๆถ","actions":[{"theme":"brand","text":"๐ ๅฟซ้ๅผๅง","link":"./deploy/install"},{"theme":"alt","text":"๐ ไฝฟ็จๆๅ","link":"./usage/basic"},{"theme":"alt","text":"๐ฆ ๆฉๅฑ","link":"./store/resource"},{"theme":"alt","text":"๐ ๏ธ ๅผๅ","link":"./dev/guide"}],"image":{"light":"./liteyuki.svg","dark":"./liteyuki-dark.svg","alt":"Liteyuki Logo"}},"features":[{"title":"็ๆ่ฏๅฅฝ","icon":"๐ ๏ธ","details":"ๅบไบ่ฝป้ชๆกๆถ๏ผๅ็ๆฏๆไปปๆPython Botๆกๆถๅๅบ็จ็จๅบ","link":"./dev/api"},{"title":"ๆไปถ็ฎก็","icon":"๐งฉ","details":"ไฝฟ็จๅ
็ฎก็ๅจ๏ผไพฟๆท็ฎก็ๆไปถๅ่ตๆบๅ
","link":"./store/plugin"},{"title":"่ช็ฑๅฎๅถ","icon":"๐จ","details":"ไฝฟ็จ่ตๆบๅ
ๅฏนๅค่ง่ฟ่กๅฎๅ
จ่ชๅฎไน","link":"./store/resource"},{"title":"ๅฝ้
ๅ","icon":"๐","details":"้่ฟ่ตๆบๅ
ๆฏๆๅค็ง่ฏญ่จ","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"็ฎๆไฝฟ็จ","icon":"โ๏ธ","details":"ๆ ้็น็ๅๆ่ฟ็จ๏ผๅผ็ฎฑๅณ็จ","link":"./deploy/config"},{"title":"่ถ
้ซๆง่ฝ","icon":"๐","details":"500ไธชๆไปถ๏ผ2็งๅ
ๅฏๅจ"},{"title":"ๆปๅจๆดๆฐ","icon":"โ๏ธ","details":"่ฎฉไฝ ็ๆบๅจไบบไฟๆๆๆฐๆไบค"},{"title":"ๅผๆบ้กน็ฎ","icon":"๐","details":"้กน็ฎ้ตๅพชLSO LICENCEๅผๆบ๏ผๆฌข่ฟๅไฝ็่ดก็ฎ","link":"https://github.com/LiteyukiStudio/LiteyukiStudioOpensourceLICENSE"}]},"headers":[],"relativePath":"index.md","filePath":"zh/index.md","lastUpdated":1734116271000}'),a={name:"index.md"};function l(n,o,s,d,c,r){return i(),e("div")}const m=t(a,[["render",l]]);export{k as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as o,G as n,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"ๆไปถๅๅบ","description":"","frontmatter":{"title":"ๆไปถๅๅบ","order":2},"headers":[],"relativePath":"store/plugin.md","filePath":"zh/store/plugin.md","lastUpdated":1725200049000}'),s={name:"store/plugin.md"};function c(l,p,i,d,_,m){const e=r("PluginStore");return a(),o("div",null,[n(e)])}const g=t(s,[["render",c]]);export{f as __pageData,g as default};
|
||||
import{_ as t,c as o,G as n,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"ๆไปถๅๅบ","description":"","frontmatter":{"title":"ๆไปถๅๅบ","order":2},"headers":[],"relativePath":"store/plugin.md","filePath":"zh/store/plugin.md","lastUpdated":1734116271000}'),s={name:"store/plugin.md"};function c(l,p,i,d,_,m){const e=r("PluginStore");return a(),o("div",null,[n(e)])}const g=t(s,[["render",c]]);export{f as __pageData,g as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as o,G as n,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"ๆไปถๅๅบ","description":"","frontmatter":{"title":"ๆไปถๅๅบ","order":2},"headers":[],"relativePath":"store/plugin.md","filePath":"zh/store/plugin.md","lastUpdated":1725200049000}'),s={name:"store/plugin.md"};function c(l,p,i,d,_,m){const e=r("PluginStore");return a(),o("div",null,[n(e)])}const g=t(s,[["render",c]]);export{f as __pageData,g as default};
|
||||
import{_ as t,c as o,G as n,B as r,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"ๆไปถๅๅบ","description":"","frontmatter":{"title":"ๆไปถๅๅบ","order":2},"headers":[],"relativePath":"store/plugin.md","filePath":"zh/store/plugin.md","lastUpdated":1734116271000}'),s={name:"store/plugin.md"};function c(l,p,i,d,_,m){const e=r("PluginStore");return a(),o("div",null,[n(e)])}const g=t(s,[["render",c]]);export{f as __pageData,g as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"่ตๆบๅๅบ","description":"","frontmatter":{"title":"่ตๆบๅๅบ","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1725200049000}'),c={name:"store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const h=t(c,[["render",n]]);export{f as __pageData,h as default};
|
||||
import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"่ตๆบๅๅบ","description":"","frontmatter":{"title":"่ตๆบๅๅบ","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1734116271000}'),c={name:"store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const h=t(c,[["render",n]]);export{f as __pageData,h as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"่ตๆบๅๅบ","description":"","frontmatter":{"title":"่ตๆบๅๅบ","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1725200049000}'),c={name:"store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const h=t(c,[["render",n]]);export{f as __pageData,h as default};
|
||||
import{_ as t,c as r,G as o,B as s,o as a}from"./chunks/framework.Z6UMW4JZ.js";const f=JSON.parse('{"title":"่ตๆบๅๅบ","description":"","frontmatter":{"title":"่ตๆบๅๅบ","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1734116271000}'),c={name:"store/resource.md"};function n(d,p,_,l,i,m){const e=s("ResStore");return a(),r("div",null,[o(e)])}const h=t(c,[["render",n]]);export{f as __pageData,h as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็จๆทๅ่ฎฎ","description":"","frontmatter":{"title":"็จๆทๅ่ฎฎ","order":3},"headers":[],"relativePath":"usage/agreement.md","filePath":"zh/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"usage/agreement.md"};function i(d,e,n,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('<h1 id="็จๆทๅ่ฎฎ" tabindex="-1">็จๆทๅ่ฎฎ <a class="header-anchor" href="#็จๆทๅ่ฎฎ" aria-label="Permalink to "็จๆทๅ่ฎฎ"">โ</a></h1><ol><li>ๆฌ้กน็ฎ้ตๅพช<code>MIT</code>ๅ่ฎฎ๏ผไฝ ๅฏไปฅ่ช็ฑไฝฟ็จ๏ผไฟฎๆน๏ผๅๅ๏ผไฝๆฏ่ฏทไฟ็ๅไฝ่
ไฟกๆฏ</li><li>ไฝ ๅฏไปฅ้ๆฉๅผๅฏ<code>auto_report</code>(้ป่ฎคๅผๅฏ)๏ผ่ฝป้ชไผๆถ้ไปฅไธๅ
ๅฎน <ul><li>่ฟ่ก็ฏๅข็่ฎพๅคไฟกๆฏ๏ผCPU๏ผๅ
ๅญ๏ผ็ณป็ปไฟกๆฏๅPythonไฟกๆฏ</li><li>ๆไปถไฟกๆฏ(ไธๅซๆไปถๆฐๆฎ)</li><li>้จๅๅผๅธธไฟกๆฏ๏ผ</li><li>ไผ่ฏ่ด่ฝฝไฟกๆฏ(ไธๅซ้็ง้จๅ) ไปฅไธๅ
ๅฎนไป
็จไบ้กน็ฎ็ไผๅ๏ผไธๅ
ๅซไปปไฝ้็งไฟกๆฏ๏ผไธ้่ฟๅฎๅ
จ็ๆนๅผไผ ่พๅฐ่ฝป้ช็ๆๅกๅจ๏ผ่ฅไฝ ไธๅธๆๆไพ่ฟไบไฟกๆฏ๏ผๅฏไปฅๅจ้
็ฝฎๆไปถไธญๆ<code>auto_report</code>่ฎพๅฎไธบ<code>false</code></li></ul></li><li>ๆฌ้กน็ฎไธไผๆถ้็จๆท็ไปปไฝ้็งไฟกๆฏ๏ผไฝ่ฏทๆณจๆ็ๅซ็ฌฌไธๆนๆไปถ็ๅฎๅ
จๆง</li><li>ไฝฟ็จๆญค้กน็ฎไปฃ่กจไฝ ๅทฒ็ปๅๆไปฅไธๅ่ฎฎ</li></ol>',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default};
|
||||
import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็จๆทๅ่ฎฎ","description":"","frontmatter":{"title":"็จๆทๅ่ฎฎ","order":3},"headers":[],"relativePath":"usage/agreement.md","filePath":"zh/usage/agreement.md","lastUpdated":1734116271000}'),r={name:"usage/agreement.md"};function i(d,e,n,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('<h1 id="็จๆทๅ่ฎฎ" tabindex="-1">็จๆทๅ่ฎฎ <a class="header-anchor" href="#็จๆทๅ่ฎฎ" aria-label="Permalink to "็จๆทๅ่ฎฎ"">โ</a></h1><ol><li>ๆฌ้กน็ฎ้ตๅพช<code>MIT</code>ๅ่ฎฎ๏ผไฝ ๅฏไปฅ่ช็ฑไฝฟ็จ๏ผไฟฎๆน๏ผๅๅ๏ผไฝๆฏ่ฏทไฟ็ๅไฝ่
ไฟกๆฏ</li><li>ไฝ ๅฏไปฅ้ๆฉๅผๅฏ<code>auto_report</code>(้ป่ฎคๅผๅฏ)๏ผ่ฝป้ชไผๆถ้ไปฅไธๅ
ๅฎน <ul><li>่ฟ่ก็ฏๅข็่ฎพๅคไฟกๆฏ๏ผCPU๏ผๅ
ๅญ๏ผ็ณป็ปไฟกๆฏๅPythonไฟกๆฏ</li><li>ๆไปถไฟกๆฏ(ไธๅซๆไปถๆฐๆฎ)</li><li>้จๅๅผๅธธไฟกๆฏ๏ผ</li><li>ไผ่ฏ่ด่ฝฝไฟกๆฏ(ไธๅซ้็ง้จๅ) ไปฅไธๅ
ๅฎนไป
็จไบ้กน็ฎ็ไผๅ๏ผไธๅ
ๅซไปปไฝ้็งไฟกๆฏ๏ผไธ้่ฟๅฎๅ
จ็ๆนๅผไผ ่พๅฐ่ฝป้ช็ๆๅกๅจ๏ผ่ฅไฝ ไธๅธๆๆไพ่ฟไบไฟกๆฏ๏ผๅฏไปฅๅจ้
็ฝฎๆไปถไธญๆ<code>auto_report</code>่ฎพๅฎไธบ<code>false</code></li></ul></li><li>ๆฌ้กน็ฎไธไผๆถ้็จๆท็ไปปไฝ้็งไฟกๆฏ๏ผไฝ่ฏทๆณจๆ็ๅซ็ฌฌไธๆนๆไปถ็ๅฎๅ
จๆง</li><li>ไฝฟ็จๆญค้กน็ฎไปฃ่กจไฝ ๅทฒ็ปๅๆไปฅไธๅ่ฎฎ</li></ol>',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็จๆทๅ่ฎฎ","description":"","frontmatter":{"title":"็จๆทๅ่ฎฎ","order":3},"headers":[],"relativePath":"usage/agreement.md","filePath":"zh/usage/agreement.md","lastUpdated":1725101868000}'),r={name:"usage/agreement.md"};function i(d,e,n,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('<h1 id="็จๆทๅ่ฎฎ" tabindex="-1">็จๆทๅ่ฎฎ <a class="header-anchor" href="#็จๆทๅ่ฎฎ" aria-label="Permalink to "็จๆทๅ่ฎฎ"">โ</a></h1><ol><li>ๆฌ้กน็ฎ้ตๅพช<code>MIT</code>ๅ่ฎฎ๏ผไฝ ๅฏไปฅ่ช็ฑไฝฟ็จ๏ผไฟฎๆน๏ผๅๅ๏ผไฝๆฏ่ฏทไฟ็ๅไฝ่
ไฟกๆฏ</li><li>ไฝ ๅฏไปฅ้ๆฉๅผๅฏ<code>auto_report</code>(้ป่ฎคๅผๅฏ)๏ผ่ฝป้ชไผๆถ้ไปฅไธๅ
ๅฎน <ul><li>่ฟ่ก็ฏๅข็่ฎพๅคไฟกๆฏ๏ผCPU๏ผๅ
ๅญ๏ผ็ณป็ปไฟกๆฏๅPythonไฟกๆฏ</li><li>ๆไปถไฟกๆฏ(ไธๅซๆไปถๆฐๆฎ)</li><li>้จๅๅผๅธธไฟกๆฏ๏ผ</li><li>ไผ่ฏ่ด่ฝฝไฟกๆฏ(ไธๅซ้็ง้จๅ) ไปฅไธๅ
ๅฎนไป
็จไบ้กน็ฎ็ไผๅ๏ผไธๅ
ๅซไปปไฝ้็งไฟกๆฏ๏ผไธ้่ฟๅฎๅ
จ็ๆนๅผไผ ่พๅฐ่ฝป้ช็ๆๅกๅจ๏ผ่ฅไฝ ไธๅธๆๆไพ่ฟไบไฟกๆฏ๏ผๅฏไปฅๅจ้
็ฝฎๆไปถไธญๆ<code>auto_report</code>่ฎพๅฎไธบ<code>false</code></li></ul></li><li>ๆฌ้กน็ฎไธไผๆถ้็จๆท็ไปปไฝ้็งไฟกๆฏ๏ผไฝ่ฏทๆณจๆ็ๅซ็ฌฌไธๆนๆไปถ็ๅฎๅ
จๆง</li><li>ไฝฟ็จๆญค้กน็ฎไปฃ่กจไฝ ๅทฒ็ปๅๆไปฅไธๅ่ฎฎ</li></ol>',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default};
|
||||
import{_ as t,c as a,a7 as o,o as l}from"./chunks/framework.Z6UMW4JZ.js";const u=JSON.parse('{"title":"็จๆทๅ่ฎฎ","description":"","frontmatter":{"title":"็จๆทๅ่ฎฎ","order":3},"headers":[],"relativePath":"usage/agreement.md","filePath":"zh/usage/agreement.md","lastUpdated":1734116271000}'),r={name:"usage/agreement.md"};function i(d,e,n,s,c,m){return l(),a("div",null,e[0]||(e[0]=[o('<h1 id="็จๆทๅ่ฎฎ" tabindex="-1">็จๆทๅ่ฎฎ <a class="header-anchor" href="#็จๆทๅ่ฎฎ" aria-label="Permalink to "็จๆทๅ่ฎฎ"">โ</a></h1><ol><li>ๆฌ้กน็ฎ้ตๅพช<code>MIT</code>ๅ่ฎฎ๏ผไฝ ๅฏไปฅ่ช็ฑไฝฟ็จ๏ผไฟฎๆน๏ผๅๅ๏ผไฝๆฏ่ฏทไฟ็ๅไฝ่
ไฟกๆฏ</li><li>ไฝ ๅฏไปฅ้ๆฉๅผๅฏ<code>auto_report</code>(้ป่ฎคๅผๅฏ)๏ผ่ฝป้ชไผๆถ้ไปฅไธๅ
ๅฎน <ul><li>่ฟ่ก็ฏๅข็่ฎพๅคไฟกๆฏ๏ผCPU๏ผๅ
ๅญ๏ผ็ณป็ปไฟกๆฏๅPythonไฟกๆฏ</li><li>ๆไปถไฟกๆฏ(ไธๅซๆไปถๆฐๆฎ)</li><li>้จๅๅผๅธธไฟกๆฏ๏ผ</li><li>ไผ่ฏ่ด่ฝฝไฟกๆฏ(ไธๅซ้็ง้จๅ) ไปฅไธๅ
ๅฎนไป
็จไบ้กน็ฎ็ไผๅ๏ผไธๅ
ๅซไปปไฝ้็งไฟกๆฏ๏ผไธ้่ฟๅฎๅ
จ็ๆนๅผไผ ่พๅฐ่ฝป้ช็ๆๅกๅจ๏ผ่ฅไฝ ไธๅธๆๆไพ่ฟไบไฟกๆฏ๏ผๅฏไปฅๅจ้
็ฝฎๆไปถไธญๆ<code>auto_report</code>่ฎพๅฎไธบ<code>false</code></li></ul></li><li>ๆฌ้กน็ฎไธไผๆถ้็จๆท็ไปปไฝ้็งไฟกๆฏ๏ผไฝ่ฏทๆณจๆ็ๅซ็ฌฌไธๆนๆไปถ็ๅฎๅ
จๆง</li><li>ไฝฟ็จๆญค้กน็ฎไปฃ่กจไฝ ๅทฒ็ปๅๆไปฅไธๅ่ฎฎ</li></ol>',2)]))}const _=t(r,[["render",i]]);export{u as __pageData,_ as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user