1
0
forked from bot/app

Deploying to docs from @ LiteyukiStudio/LiteyukiBot@3a8c09d6db ๐Ÿš€

This commit is contained in:
2024-12-13 18:58:37 +00:00
parent 709d0a7c20
commit 4b016551ea
166 changed files with 401 additions and 401 deletions

File diff suppressed because one or more lines are too long

View File

@ -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

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

View File

@ -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

View File

@ -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 &quot;้…็ฝฎ&quot;">โ€‹</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 &quot;**ๅŸบ็ก€้…็ฝฎ้กน**&quot;">โ€‹</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 &quot;้…็ฝฎ&quot;">โ€‹</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 &quot;**ๅŸบ็ก€้…็ฝฎ้กน**&quot;">โ€‹</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;">&quot;/&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ] </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๆŒ‡ไปคๅ‰็ผ€๏ผŒ่‹ฅๆฒกๆœ‰&quot;&quot;็ฉบๅ‘ฝไปคๅคด๏ผŒ่ฏทๅผ€ๅฏ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>

View File

@ -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 &quot;้…็ฝฎ&quot;">โ€‹</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 &quot;**ๅŸบ็ก€้…็ฝฎ้กน**&quot;">โ€‹</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 &quot;้…็ฝฎ&quot;">โ€‹</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 &quot;**ๅŸบ็ก€้…็ฝฎ้กน**&quot;">โ€‹</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;">&quot;/&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ] </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ๆŒ‡ไปคๅ‰็ผ€๏ผŒ่‹ฅๆฒกๆœ‰&quot;&quot;็ฉบๅ‘ฝไปคๅคด๏ผŒ่ฏทๅผ€ๅฏ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>

View File

@ -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 &quot;็ญ”็–‘&quot;">โ€‹</a></h1><h2 id="ๅธธ่ง้—ฎ้ข˜" tabindex="-1"><strong>ๅธธ่ง้—ฎ้ข˜</strong> <a class="header-anchor" href="#ๅธธ่ง้—ฎ้ข˜" aria-label="Permalink to &quot;**ๅธธ่ง้—ฎ้ข˜**&quot;">โ€‹</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 &quot;ๅ…ถไป–้—ฎ้ข˜&quot;">โ€‹</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 &quot;็ญ”็–‘&quot;">โ€‹</a></h1><h2 id="ๅธธ่ง้—ฎ้ข˜" tabindex="-1"><strong>ๅธธ่ง้—ฎ้ข˜</strong> <a class="header-anchor" href="#ๅธธ่ง้—ฎ้ข˜" aria-label="Permalink to &quot;**ๅธธ่ง้—ฎ้ข˜**&quot;">โ€‹</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 &quot;ๅ…ถไป–้—ฎ้ข˜&quot;">โ€‹</a></h2><pre><code>-
ๅŠ ๅ…ฅQQ็พค[775840726](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&amp;k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&amp;authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&amp;noverify=0&amp;group_code=775840726)
</code></pre>`,5)]))}const m=o(i,[["render",d]]);export{u as __pageData,m as default};

View File

@ -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 &quot;็ญ”็–‘&quot;">โ€‹</a></h1><h2 id="ๅธธ่ง้—ฎ้ข˜" tabindex="-1"><strong>ๅธธ่ง้—ฎ้ข˜</strong> <a class="header-anchor" href="#ๅธธ่ง้—ฎ้ข˜" aria-label="Permalink to &quot;**ๅธธ่ง้—ฎ้ข˜**&quot;">โ€‹</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 &quot;ๅ…ถไป–้—ฎ้ข˜&quot;">โ€‹</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 &quot;็ญ”็–‘&quot;">โ€‹</a></h1><h2 id="ๅธธ่ง้—ฎ้ข˜" tabindex="-1"><strong>ๅธธ่ง้—ฎ้ข˜</strong> <a class="header-anchor" href="#ๅธธ่ง้—ฎ้ข˜" aria-label="Permalink to &quot;**ๅธธ่ง้—ฎ้ข˜**&quot;">โ€‹</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 &quot;ๅ…ถไป–้—ฎ้ข˜&quot;">โ€‹</a></h2><pre><code>-
ๅŠ ๅ…ฅQQ็พค[775840726](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&amp;k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&amp;authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&amp;noverify=0&amp;group_code=775840726)
</code></pre>`,5)]))}const m=o(i,[["render",d]]);export{u as __pageData,m as default};

View File

@ -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 &quot;ๅฎ‰่ฃ…&quot;">โ€‹</a></h1><h2 id="ๅธธ่ง„้ƒจ็ฝฒ" tabindex="-1"><strong>ๅธธ่ง„้ƒจ็ฝฒ</strong> <a class="header-anchor" href="#ๅธธ่ง„้ƒจ็ฝฒ" aria-label="Permalink to &quot;**ๅธธ่ง„้ƒจ็ฝฒ**&quot;">โ€‹</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 &quot;ๅฎ‰่ฃ…&quot;">โ€‹</a></h1><h2 id="ๅธธ่ง„้ƒจ็ฝฒ" tabindex="-1"><strong>ๅธธ่ง„้ƒจ็ฝฒ</strong> <a class="header-anchor" href="#ๅธธ่ง„้ƒจ็ฝฒ" aria-label="Permalink to &quot;**ๅธธ่ง„้ƒจ็ฝฒ**&quot;">โ€‹</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>

View File

@ -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 &quot;ๅฎ‰่ฃ…&quot;">โ€‹</a></h1><h2 id="ๅธธ่ง„้ƒจ็ฝฒ" tabindex="-1"><strong>ๅธธ่ง„้ƒจ็ฝฒ</strong> <a class="header-anchor" href="#ๅธธ่ง„้ƒจ็ฝฒ" aria-label="Permalink to &quot;**ๅธธ่ง„้ƒจ็ฝฒ**&quot;">โ€‹</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 &quot;ๅฎ‰่ฃ…&quot;">โ€‹</a></h1><h2 id="ๅธธ่ง„้ƒจ็ฝฒ" tabindex="-1"><strong>ๅธธ่ง„้ƒจ็ฝฒ</strong> <a class="header-anchor" href="#ๅธธ่ง„้ƒจ็ฝฒ" aria-label="Permalink to &quot;**ๅธธ่ง„้ƒจ็ฝฒ**&quot;">โ€‹</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>

View File

@ -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 &quot;ๆœ€ไฝณๅฎž่ทต&quot;">โ€‹</a></h1><h2 id="ๆœบๅ™จไบบๅบ”็”จ" tabindex="-1">ๆœบๅ™จไบบๅบ”็”จ <a class="header-anchor" href="#ๆœบๅ™จไบบๅบ”็”จ" aria-label="Permalink to &quot;ๆœบๅ™จไบบๅบ”็”จ&quot;">โ€‹</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 &quot;ๆ’ไปถ&quot;">โ€‹</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 &quot;ๅ…ถไป–&quot;">โ€‹</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 &quot;ๆœ€ไฝณๅฎž่ทต&quot;">โ€‹</a></h1><h2 id="ๆœบๅ™จไบบๅบ”็”จ" tabindex="-1">ๆœบๅ™จไบบๅบ”็”จ <a class="header-anchor" href="#ๆœบๅ™จไบบๅบ”็”จ" aria-label="Permalink to &quot;ๆœบๅ™จไบบๅบ”็”จ&quot;">โ€‹</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 &quot;ๆ’ไปถ&quot;">โ€‹</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 &quot;ๅ…ถไป–&quot;">โ€‹</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};

View File

@ -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 &quot;ๆœ€ไฝณๅฎž่ทต&quot;">โ€‹</a></h1><h2 id="ๆœบๅ™จไบบๅบ”็”จ" tabindex="-1">ๆœบๅ™จไบบๅบ”็”จ <a class="header-anchor" href="#ๆœบๅ™จไบบๅบ”็”จ" aria-label="Permalink to &quot;ๆœบๅ™จไบบๅบ”็”จ&quot;">โ€‹</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 &quot;ๆ’ไปถ&quot;">โ€‹</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 &quot;ๅ…ถไป–&quot;">โ€‹</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 &quot;ๆœ€ไฝณๅฎž่ทต&quot;">โ€‹</a></h1><h2 id="ๆœบๅ™จไบบๅบ”็”จ" tabindex="-1">ๆœบๅ™จไบบๅบ”็”จ <a class="header-anchor" href="#ๆœบๅ™จไบบๅบ”็”จ" aria-label="Permalink to &quot;ๆœบๅ™จไบบๅบ”็”จ&quot;">โ€‹</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 &quot;ๆ’ไปถ&quot;">โ€‹</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 &quot;ๅ…ถไป–&quot;">โ€‹</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};

View File

@ -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 &quot;**้€š้“้€šไฟก**&quot;">โ€‹</a></h1><h3 id="็ฎ€ไป‹" tabindex="-1">็ฎ€ไป‹ <a class="header-anchor" href="#็ฎ€ไป‹" aria-label="Permalink to &quot;็ฎ€ไป‹&quot;">โ€‹</a></h3><p>่ฝป้›ช่ฟ่กŒๅœจไธป่ฟ›็จ‹ MainProcess ้‡Œ๏ผŒๆœ‰้ƒจๅˆ†ๅฎž็Žฐๆ’ไปถไธบไบ†ไธ€ไบ›ๅŠŸ่ƒฝๅœจๅญ่ฟ›็จ‹ไธญ่ฟ่กŒ๏ผŒ่ฟ™ๆ ทไธคไธช่ฟ›็จ‹ไธŠไธ‹ๆ–‡ๆ˜ฏไธไผšไบ’็›ธๅนฒๆ‰ฐ็š„๏ผŒๅ› ๆญคๆ— ๆณ•้€š่ฟ‡ๅ…ฑไบซๅ†…ๅญ˜ๅ’Œ็›ดๆŽฅๅฏน่ฑกไผ ้€’่ฟ›่กŒ้€šไฟกใ€‚</p><p>ไพ‹ๅฆ‚ๅญ่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐ็”จๆˆทไฟกๆฏ้œ€่ฆ้‡ๅฏๆœบๅ™จไบบ๏ผŒ่ฟ™ๆ—ถๅฏไปฅ้€š่ฟ‡้€š้“ๅฏนไธป่ฟ›็จ‹ๅ‘้€ๆถˆๆฏ๏ผŒไธป่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐๆถˆๆฏๅŽ้‡ๅฏๅฏนๅบ”ๅญ่ฟ›็จ‹ใ€‚</p><h3 id="็คบไพ‹" tabindex="-1">็คบไพ‹ <a class="header-anchor" href="#็คบไพ‹" aria-label="Permalink to &quot;็คบไพ‹&quot;">โ€‹</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 &quot;**้€š้“้€šไฟก**&quot;">โ€‹</a></h1><h3 id="็ฎ€ไป‹" tabindex="-1">็ฎ€ไป‹ <a class="header-anchor" href="#็ฎ€ไป‹" aria-label="Permalink to &quot;็ฎ€ไป‹&quot;">โ€‹</a></h3><p>่ฝป้›ช่ฟ่กŒๅœจไธป่ฟ›็จ‹ MainProcess ้‡Œ๏ผŒๆœ‰้ƒจๅˆ†ๅฎž็Žฐๆ’ไปถไธบไบ†ไธ€ไบ›ๅŠŸ่ƒฝๅœจๅญ่ฟ›็จ‹ไธญ่ฟ่กŒ๏ผŒ่ฟ™ๆ ทไธคไธช่ฟ›็จ‹ไธŠไธ‹ๆ–‡ๆ˜ฏไธไผšไบ’็›ธๅนฒๆ‰ฐ็š„๏ผŒๅ› ๆญคๆ— ๆณ•้€š่ฟ‡ๅ…ฑไบซๅ†…ๅญ˜ๅ’Œ็›ดๆŽฅๅฏน่ฑกไผ ้€’่ฟ›่กŒ้€šไฟกใ€‚</p><p>ไพ‹ๅฆ‚ๅญ่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐ็”จๆˆทไฟกๆฏ้œ€่ฆ้‡ๅฏๆœบๅ™จไบบ๏ผŒ่ฟ™ๆ—ถๅฏไปฅ้€š่ฟ‡้€š้“ๅฏนไธป่ฟ›็จ‹ๅ‘้€ๆถˆๆฏ๏ผŒไธป่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐๆถˆๆฏๅŽ้‡ๅฏๅฏนๅบ”ๅญ่ฟ›็จ‹ใ€‚</p><h3 id="็คบไพ‹" tabindex="-1">็คบไพ‹ <a class="header-anchor" href="#็คบไพ‹" aria-label="Permalink to &quot;็คบไพ‹&quot;">โ€‹</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>

View File

@ -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 &quot;**้€š้“้€šไฟก**&quot;">โ€‹</a></h1><h3 id="็ฎ€ไป‹" tabindex="-1">็ฎ€ไป‹ <a class="header-anchor" href="#็ฎ€ไป‹" aria-label="Permalink to &quot;็ฎ€ไป‹&quot;">โ€‹</a></h3><p>่ฝป้›ช่ฟ่กŒๅœจไธป่ฟ›็จ‹ MainProcess ้‡Œ๏ผŒๆœ‰้ƒจๅˆ†ๅฎž็Žฐๆ’ไปถไธบไบ†ไธ€ไบ›ๅŠŸ่ƒฝๅœจๅญ่ฟ›็จ‹ไธญ่ฟ่กŒ๏ผŒ่ฟ™ๆ ทไธคไธช่ฟ›็จ‹ไธŠไธ‹ๆ–‡ๆ˜ฏไธไผšไบ’็›ธๅนฒๆ‰ฐ็š„๏ผŒๅ› ๆญคๆ— ๆณ•้€š่ฟ‡ๅ…ฑไบซๅ†…ๅญ˜ๅ’Œ็›ดๆŽฅๅฏน่ฑกไผ ้€’่ฟ›่กŒ้€šไฟกใ€‚</p><p>ไพ‹ๅฆ‚ๅญ่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐ็”จๆˆทไฟกๆฏ้œ€่ฆ้‡ๅฏๆœบๅ™จไบบ๏ผŒ่ฟ™ๆ—ถๅฏไปฅ้€š่ฟ‡้€š้“ๅฏนไธป่ฟ›็จ‹ๅ‘้€ๆถˆๆฏ๏ผŒไธป่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐๆถˆๆฏๅŽ้‡ๅฏๅฏนๅบ”ๅญ่ฟ›็จ‹ใ€‚</p><h3 id="็คบไพ‹" tabindex="-1">็คบไพ‹ <a class="header-anchor" href="#็คบไพ‹" aria-label="Permalink to &quot;็คบไพ‹&quot;">โ€‹</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 &quot;**้€š้“้€šไฟก**&quot;">โ€‹</a></h1><h3 id="็ฎ€ไป‹" tabindex="-1">็ฎ€ไป‹ <a class="header-anchor" href="#็ฎ€ไป‹" aria-label="Permalink to &quot;็ฎ€ไป‹&quot;">โ€‹</a></h3><p>่ฝป้›ช่ฟ่กŒๅœจไธป่ฟ›็จ‹ MainProcess ้‡Œ๏ผŒๆœ‰้ƒจๅˆ†ๅฎž็Žฐๆ’ไปถไธบไบ†ไธ€ไบ›ๅŠŸ่ƒฝๅœจๅญ่ฟ›็จ‹ไธญ่ฟ่กŒ๏ผŒ่ฟ™ๆ ทไธคไธช่ฟ›็จ‹ไธŠไธ‹ๆ–‡ๆ˜ฏไธไผšไบ’็›ธๅนฒๆ‰ฐ็š„๏ผŒๅ› ๆญคๆ— ๆณ•้€š่ฟ‡ๅ…ฑไบซๅ†…ๅญ˜ๅ’Œ็›ดๆŽฅๅฏน่ฑกไผ ้€’่ฟ›่กŒ้€šไฟกใ€‚</p><p>ไพ‹ๅฆ‚ๅญ่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐ็”จๆˆทไฟกๆฏ้œ€่ฆ้‡ๅฏๆœบๅ™จไบบ๏ผŒ่ฟ™ๆ—ถๅฏไปฅ้€š่ฟ‡้€š้“ๅฏนไธป่ฟ›็จ‹ๅ‘้€ๆถˆๆฏ๏ผŒไธป่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐๆถˆๆฏๅŽ้‡ๅฏๅฏนๅบ”ๅญ่ฟ›็จ‹ใ€‚</p><h3 id="็คบไพ‹" tabindex="-1">็คบไพ‹ <a class="header-anchor" href="#็คบไพ‹" aria-label="Permalink to &quot;็คบไพ‹&quot;">โ€‹</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

View File

@ -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 &quot;**่ฝป้›ชๅ‡ฝๆ•ฐ**&quot;">โ€‹</a></h1><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong> <a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ" aria-label="Permalink to &quot;**ๅ‡ฝๆ•ฐๆ–‡ไปถ**&quot;">โ€‹</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;"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</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 &quot;**่ฝป้›ชๅ‡ฝๆ•ฐ**&quot;">โ€‹</a></h1><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong> <a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ" aria-label="Permalink to &quot;**ๅ‡ฝๆ•ฐๆ–‡ไปถ**&quot;">โ€‹</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;"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</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>

View File

@ -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 &quot;**่ฝป้›ชๅ‡ฝๆ•ฐ**&quot;">โ€‹</a></h1><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong> <a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ" aria-label="Permalink to &quot;**ๅ‡ฝๆ•ฐๆ–‡ไปถ**&quot;">โ€‹</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;"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</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 &quot;**่ฝป้›ชๅ‡ฝๆ•ฐ**&quot;">โ€‹</a></h1><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong> <a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ" aria-label="Permalink to &quot;**ๅ‡ฝๆ•ฐๆ–‡ไปถ**&quot;">โ€‹</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;"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</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>

View File

@ -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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅผ€ๅง‹&quot;">โ€‹</a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1">ๅˆ›ๅปบๆ’ไปถ <a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ" aria-label="Permalink to &quot;ๅˆ›ๅปบๆ’ไปถ&quot;">โ€‹</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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅผ€ๅง‹&quot;">โ€‹</a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1">ๅˆ›ๅปบๆ’ไปถ <a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ" aria-label="Permalink to &quot;ๅˆ›ๅปบๆ’ไปถ&quot;">โ€‹</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>

View File

@ -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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅผ€ๅง‹&quot;">โ€‹</a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1">ๅˆ›ๅปบๆ’ไปถ <a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ" aria-label="Permalink to &quot;ๅˆ›ๅปบๆ’ไปถ&quot;">โ€‹</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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅผ€ๅง‹&quot;">โ€‹</a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1">ๅˆ›ๅปบๆ’ไปถ <a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ" aria-label="Permalink to &quot;ๅˆ›ๅปบๆ’ไปถ&quot;">โ€‹</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>

View File

@ -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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅŠ ่ฝฝ่ต„ๆบๅŒ…&quot;">โ€‹</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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅŠ ่ฝฝ่ต„ๆบๅŒ…&quot;">โ€‹</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>

View File

@ -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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅŠ ่ฝฝ่ต„ๆบๅŒ…&quot;">โ€‹</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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅŠ ่ฝฝ่ต„ๆบๅŒ…&quot;">โ€‹</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>

View File

@ -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 &quot;Configurations&quot;">โ€‹</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 &quot;**Basic Configuration**&quot;">โ€‹</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 &quot;Configurations&quot;">โ€‹</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 &quot;**Basic Configuration**&quot;">โ€‹</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;">&quot;/&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ] </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Command prefix, if there is no &quot;&quot; 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>

View File

@ -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 &quot;Configurations&quot;">โ€‹</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 &quot;**Basic Configuration**&quot;">โ€‹</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 &quot;Configurations&quot;">โ€‹</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 &quot;**Basic Configuration**&quot;">โ€‹</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;">&quot;/&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ] </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Command prefix, if there is no &quot;&quot; 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>

View File

@ -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 &quot;FAQ&quot;">โ€‹</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 &quot;**Frequently Asked Questions**&quot;">โ€‹</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 &quot;Other questions&quot;">โ€‹</a></h2><ul><li>Join chat group<a href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&amp;k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&amp;authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&amp;noverify=0&amp;group_code=775840726" target="_blank" rel="noreferrer">775840726</a></li><li>If you don&#39;t have a QQ account, you can <a href="https://github.com/LiteyukiStudio/LiteyukiBot/issues/new?assignees=&amp;labels=&amp;projects=&amp;template=%E9%97%AE%E9%A2%98%E5%8F%8D%E9%A6%88.md&amp;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 &quot;FAQ&quot;">โ€‹</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 &quot;**Frequently Asked Questions**&quot;">โ€‹</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 &quot;Other questions&quot;">โ€‹</a></h2><ul><li>Join chat group<a href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&amp;k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&amp;authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&amp;noverify=0&amp;group_code=775840726" target="_blank" rel="noreferrer">775840726</a></li><li>If you don&#39;t have a QQ account, you can <a href="https://github.com/LiteyukiStudio/LiteyukiBot/issues/new?assignees=&amp;labels=&amp;projects=&amp;template=%E9%97%AE%E9%A2%98%E5%8F%8D%E9%A6%88.md&amp;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};

View File

@ -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 &quot;FAQ&quot;">โ€‹</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 &quot;**Frequently Asked Questions**&quot;">โ€‹</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 &quot;Other questions&quot;">โ€‹</a></h2><ul><li>Join chat group<a href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&amp;k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&amp;authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&amp;noverify=0&amp;group_code=775840726" target="_blank" rel="noreferrer">775840726</a></li><li>If you don&#39;t have a QQ account, you can <a href="https://github.com/LiteyukiStudio/LiteyukiBot/issues/new?assignees=&amp;labels=&amp;projects=&amp;template=%E9%97%AE%E9%A2%98%E5%8F%8D%E9%A6%88.md&amp;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 &quot;FAQ&quot;">โ€‹</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 &quot;**Frequently Asked Questions**&quot;">โ€‹</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 &quot;Other questions&quot;">โ€‹</a></h2><ul><li>Join chat group<a href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&amp;k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&amp;authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&amp;noverify=0&amp;group_code=775840726" target="_blank" rel="noreferrer">775840726</a></li><li>If you don&#39;t have a QQ account, you can <a href="https://github.com/LiteyukiStudio/LiteyukiBot/issues/new?assignees=&amp;labels=&amp;projects=&amp;template=%E9%97%AE%E9%A2%98%E5%8F%8D%E9%A6%88.md&amp;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};

View File

@ -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 &quot;Install&quot;">โ€‹</a></h1><h2 id="normal-installation" tabindex="-1"><strong>Normal Installation</strong> <a class="header-anchor" href="#normal-installation" aria-label="Permalink to &quot;**Normal Installation**&quot;">โ€‹</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 &quot;Install&quot;">โ€‹</a></h1><h2 id="normal-installation" tabindex="-1"><strong>Normal Installation</strong> <a class="header-anchor" href="#normal-installation" aria-label="Permalink to &quot;**Normal Installation**&quot;">โ€‹</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>

View File

@ -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 &quot;Install&quot;">โ€‹</a></h1><h2 id="normal-installation" tabindex="-1"><strong>Normal Installation</strong> <a class="header-anchor" href="#normal-installation" aria-label="Permalink to &quot;**Normal Installation**&quot;">โ€‹</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 &quot;Install&quot;">โ€‹</a></h1><h2 id="normal-installation" tabindex="-1"><strong>Normal Installation</strong> <a class="header-anchor" href="#normal-installation" aria-label="Permalink to &quot;**Normal Installation**&quot;">โ€‹</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>

View File

@ -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 &quot;Best Practices&quot;">โ€‹</a></h1><h2 id="bot-applications" tabindex="-1">Bot applications <a class="header-anchor" href="#bot-applications" aria-label="Permalink to &quot;Bot applications&quot;">โ€‹</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 &quot;plugins&quot;">โ€‹</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 &quot;Others&quot;">โ€‹</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 &quot;Best Practices&quot;">โ€‹</a></h1><h2 id="bot-applications" tabindex="-1">Bot applications <a class="header-anchor" href="#bot-applications" aria-label="Permalink to &quot;Bot applications&quot;">โ€‹</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 &quot;plugins&quot;">โ€‹</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 &quot;Others&quot;">โ€‹</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};

View File

@ -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 &quot;Best Practices&quot;">โ€‹</a></h1><h2 id="bot-applications" tabindex="-1">Bot applications <a class="header-anchor" href="#bot-applications" aria-label="Permalink to &quot;Bot applications&quot;">โ€‹</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 &quot;plugins&quot;">โ€‹</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 &quot;Others&quot;">โ€‹</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 &quot;Best Practices&quot;">โ€‹</a></h1><h2 id="bot-applications" tabindex="-1">Bot applications <a class="header-anchor" href="#bot-applications" aria-label="Permalink to &quot;Bot applications&quot;">โ€‹</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 &quot;plugins&quot;">โ€‹</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 &quot;Others&quot;">โ€‹</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};

View File

@ -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 &quot;**Channel Communication**&quot;">โ€‹</a></h1><h3 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-label="Permalink to &quot;Introduction&quot;">โ€‹</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 &quot;Example&quot;">โ€‹</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 &quot;**Channel Communication**&quot;">โ€‹</a></h1><h3 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-label="Permalink to &quot;Introduction&quot;">โ€‹</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 &quot;Example&quot;">โ€‹</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>

View File

@ -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 &quot;**Channel Communication**&quot;">โ€‹</a></h1><h3 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-label="Permalink to &quot;Introduction&quot;">โ€‹</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 &quot;Example&quot;">โ€‹</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 &quot;**Channel Communication**&quot;">โ€‹</a></h1><h3 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-label="Permalink to &quot;Introduction&quot;">โ€‹</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 &quot;Example&quot;">โ€‹</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

View File

@ -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 &quot;**่ฝป้›ชๅ‡ฝๆ•ฐ**&quot;">โ€‹</a></h1><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong> <a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ" aria-label="Permalink to &quot;**ๅ‡ฝๆ•ฐๆ–‡ไปถ**&quot;">โ€‹</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;"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</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 &quot;**่ฝป้›ชๅ‡ฝๆ•ฐ**&quot;">โ€‹</a></h1><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong> <a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ" aria-label="Permalink to &quot;**ๅ‡ฝๆ•ฐๆ–‡ไปถ**&quot;">โ€‹</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;"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</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>

View File

@ -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 &quot;**่ฝป้›ชๅ‡ฝๆ•ฐ**&quot;">โ€‹</a></h1><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong> <a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ" aria-label="Permalink to &quot;**ๅ‡ฝๆ•ฐๆ–‡ไปถ**&quot;">โ€‹</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;"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</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 &quot;**่ฝป้›ชๅ‡ฝๆ•ฐ**&quot;">โ€‹</a></h1><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong> <a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ" aria-label="Permalink to &quot;**ๅ‡ฝๆ•ฐๆ–‡ไปถ**&quot;">โ€‹</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;"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</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>

View File

@ -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 &quot;็ฎ€ไป‹&quot;">โ€‹</a></h1><p>่ฝป้›ชๆ’ไปถๆ˜ฏ่ฝป้›ชๅ†…็ฝฎ็š„ไธ€้ƒจๅˆ†ๅŠŸ่ƒฝ๏ผŒ่ฟ่กŒๅœจไธป่ฟ›็จ‹ไธญ๏ผŒๅฏไปฅๅพˆ้ซ˜็จ‹ๅบฆๅœฐๆ‰ฉๅฑ•่ฝป้›ช็š„ๅŠŸ่ƒฝใ€‚</p><h2 id="ๅผ€ๅง‹" tabindex="-1">ๅผ€ๅง‹ <a class="header-anchor" href="#ๅผ€ๅง‹" aria-label="Permalink to &quot;ๅผ€ๅง‹&quot;">โ€‹</a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1">ๅˆ›ๅปบๆ’ไปถ <a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ" aria-label="Permalink to &quot;ๅˆ›ๅปบๆ’ไปถ&quot;">โ€‹</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 &quot;็ฎ€ไป‹&quot;">โ€‹</a></h1><p>่ฝป้›ชๆ’ไปถๆ˜ฏ่ฝป้›ชๅ†…็ฝฎ็š„ไธ€้ƒจๅˆ†ๅŠŸ่ƒฝ๏ผŒ่ฟ่กŒๅœจไธป่ฟ›็จ‹ไธญ๏ผŒๅฏไปฅๅพˆ้ซ˜็จ‹ๅบฆๅœฐๆ‰ฉๅฑ•่ฝป้›ช็š„ๅŠŸ่ƒฝใ€‚</p><h2 id="ๅผ€ๅง‹" tabindex="-1">ๅผ€ๅง‹ <a class="header-anchor" href="#ๅผ€ๅง‹" aria-label="Permalink to &quot;ๅผ€ๅง‹&quot;">โ€‹</a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1">ๅˆ›ๅปบๆ’ไปถ <a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ" aria-label="Permalink to &quot;ๅˆ›ๅปบๆ’ไปถ&quot;">โ€‹</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>

View File

@ -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 &quot;็ฎ€ไป‹&quot;">โ€‹</a></h1><p>่ฝป้›ชๆ’ไปถๆ˜ฏ่ฝป้›ชๅ†…็ฝฎ็š„ไธ€้ƒจๅˆ†ๅŠŸ่ƒฝ๏ผŒ่ฟ่กŒๅœจไธป่ฟ›็จ‹ไธญ๏ผŒๅฏไปฅๅพˆ้ซ˜็จ‹ๅบฆๅœฐๆ‰ฉๅฑ•่ฝป้›ช็š„ๅŠŸ่ƒฝใ€‚</p><h2 id="ๅผ€ๅง‹" tabindex="-1">ๅผ€ๅง‹ <a class="header-anchor" href="#ๅผ€ๅง‹" aria-label="Permalink to &quot;ๅผ€ๅง‹&quot;">โ€‹</a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1">ๅˆ›ๅปบๆ’ไปถ <a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ" aria-label="Permalink to &quot;ๅˆ›ๅปบๆ’ไปถ&quot;">โ€‹</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 &quot;็ฎ€ไป‹&quot;">โ€‹</a></h1><p>่ฝป้›ชๆ’ไปถๆ˜ฏ่ฝป้›ชๅ†…็ฝฎ็š„ไธ€้ƒจๅˆ†ๅŠŸ่ƒฝ๏ผŒ่ฟ่กŒๅœจไธป่ฟ›็จ‹ไธญ๏ผŒๅฏไปฅๅพˆ้ซ˜็จ‹ๅบฆๅœฐๆ‰ฉๅฑ•่ฝป้›ช็š„ๅŠŸ่ƒฝใ€‚</p><h2 id="ๅผ€ๅง‹" tabindex="-1">ๅผ€ๅง‹ <a class="header-anchor" href="#ๅผ€ๅง‹" aria-label="Permalink to &quot;ๅผ€ๅง‹&quot;">โ€‹</a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1">ๅˆ›ๅปบๆ’ไปถ <a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ" aria-label="Permalink to &quot;ๅˆ›ๅปบๆ’ไปถ&quot;">โ€‹</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>

View File

@ -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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅŠ ่ฝฝ่ต„ๆบๅŒ…&quot;">โ€‹</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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅŠ ่ฝฝ่ต„ๆบๅŒ…&quot;">โ€‹</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>

View File

@ -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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅŠ ่ฝฝ่ต„ๆบๅŒ…&quot;">โ€‹</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 &quot;็ฎ€ไป‹&quot;">โ€‹</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 &quot;ๅŠ ่ฝฝ่ต„ๆบๅŒ…&quot;">โ€‹</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>

View File

@ -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};

View File

@ -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};

View File

@ -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};

View File

@ -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};

View File

@ -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};

View File

@ -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};

View File

@ -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 &quot;็”จๆˆทๅ่ฎฎ&quot;">โ€‹</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 &quot;็”จๆˆทๅ่ฎฎ&quot;">โ€‹</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};

View File

@ -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 &quot;็”จๆˆทๅ่ฎฎ&quot;">โ€‹</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 &quot;็”จๆˆทๅ่ฎฎ&quot;">โ€‹</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

View File

@ -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};

View File

@ -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};

View File

@ -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};

View File

@ -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};

View File

@ -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};

View File

@ -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};

View File

@ -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 &quot;็”จๆˆทๅ่ฎฎ&quot;">โ€‹</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 &quot;็”จๆˆทๅ่ฎฎ&quot;">โ€‹</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};

View File

@ -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 &quot;็”จๆˆทๅ่ฎฎ&quot;">โ€‹</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 &quot;็”จๆˆทๅ่ฎฎ&quot;">โ€‹</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