Deploying to docs from @ LiteyukiStudio/LiteyukiBot@7bf94a15c8 ๐Ÿš€

This commit is contained in:
2024-10-25 18:36:07 +00:00
parent e94846f1a4
commit e13e920f5d
128 changed files with 561 additions and 555 deletions

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{R as p}from"./chunks/theme.CoOFLGSO.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.jrU0lkHV.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.DsuJY84h.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.jrU0lkHV.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.CoOFLGSO.js";import{d as e,o as a,c as n,j as t,t as i,k as p,_ as u}from"./framework.jrU0lkHV.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.DsuJY84h.js";import{d as e,o as a,c as n,j as t,t as i,k as p,_ as u}from"./framework.jrU0lkHV.js";const _="https://github.com/",o="LiteyukiStudio/LiteyukiBot",b=`${_}${o}`,m={class:"contributor-bar"},l=e({__name:"ContributorBar",setup(h){const r=`https://contrib.rocks/image?repo=${o}`,s=`${b}/graphs/contributors`;return(d,f)=>(a(),n("div",m,[t("h2",null,i(p(c)("thx_contributors")),1),t("a",{href:s},[t("div",{class:"contributor-list"},[t("img",{src:r,alt:"Contributors"})])])]))}}),k=u(l,[["__scopeId","data-v-bc374713"]]);export{k as C};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,3 @@
import{_ as o,c as t,a7 as a,o as l}from"./chunks/framework.jrU0lkHV.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>-
ๅŠ ๅ…ฅ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

@ -0,0 +1,3 @@
import{_ as o,c as t,a7 as a,o as l}from"./chunks/framework.jrU0lkHV.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>-
ๅŠ ๅ…ฅ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 +0,0 @@
import{_ as a,c as n,j as e,a as t,o as i}from"./chunks/framework.jrU0lkHV.js";const u=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"dev/api/session/message/segments.md","filePath":"zh/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"dev/api/session/message/segments.md"};function m(l,s,r,d,g,c){return i(),n("div",null,s[0]||(s[0]=[e("h1",{id:"ๆจกๅ—-liteyuki-session-message-segments",tabindex:"-1"},[e("strong",null,"ๆจกๅ—"),t(),e("code",null,"liteyuki.session.message.segments"),t(),e("a",{class:"header-anchor",href:"#ๆจกๅ—-liteyuki-session-message-segments","aria-label":'Permalink to "**ๆจกๅ—** `liteyuki.session.message.segments`"'},"โ€‹")],-1)]))}const f=a(o,[["render",m]]);export{u as __pageData,f as default};

View File

@ -1 +0,0 @@
import{_ as a,c as n,j as e,a as t,o as i}from"./chunks/framework.jrU0lkHV.js";const u=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"dev/api/session/message/segments.md","filePath":"zh/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"dev/api/session/message/segments.md"};function m(l,s,r,d,g,c){return i(),n("div",null,s[0]||(s[0]=[e("h1",{id:"ๆจกๅ—-liteyuki-session-message-segments",tabindex:"-1"},[e("strong",null,"ๆจกๅ—"),t(),e("code",null,"liteyuki.session.message.segments"),t(),e("a",{class:"header-anchor",href:"#ๆจกๅ—-liteyuki-session-message-segments","aria-label":'Permalink to "**ๆจกๅ—** `liteyuki.session.message.segments`"'},"โ€‹")],-1)]))}const f=a(o,[["render",m]]);export{u as __pageData,f as default};

View File

@ -0,0 +1 @@
import{_ as a,c as t,a7 as s,o as r}from"./chunks/framework.jrU0lkHV.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"dev/api/session/message/segments.md","filePath":"zh/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return r(),t("div",null,e[0]||(e[0]=[s('<h1 id="ๆจกๅ—-liteyuki-session-message-segments" tabindex="-1"><strong>ๆจกๅ—</strong> <code>liteyuki.session.message.segments</code> <a class="header-anchor" href="#ๆจกๅ—-liteyuki-session-message-segments" aria-label="Permalink to &quot;**ๆจกๅ—** `liteyuki.session.message.segments`&quot;">โ€‹</a></h1><h3 id="class-baseseg-basemodel" tabindex="-1"><em><strong>class</strong></em> <code>BaseSeg(BaseModel)</code> <a class="header-anchor" href="#class-baseseg-basemodel" aria-label="Permalink to &quot;***class*** `BaseSeg(BaseModel)`&quot;">โ€‹</a></h3><h4 id="attr-type-str-segment" tabindex="-1"><em><strong>attr</strong></em> <code>type: str = &#39;Segment&#39;</code> <a class="header-anchor" href="#attr-type-str-segment" aria-label="Permalink to &quot;***attr*** `type: str = &#39;Segment&#39;`&quot;">โ€‹</a></h4><h4 id="attr-data-dict-str-any-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>data: dict[str, Any] = NO_DEFAULT</code> <a class="header-anchor" href="#attr-data-dict-str-any-no-default" aria-label="Permalink to &quot;***attr*** `data: dict[str, Any] = NO_DEFAULT`&quot;">โ€‹</a></h4><h3 id="class-text-baseseg" tabindex="-1"><em><strong>class</strong></em> <code>Text(BaseSeg)</code> <a class="header-anchor" href="#class-text-baseseg" aria-label="Permalink to &quot;***class*** `Text(BaseSeg)`&quot;">โ€‹</a></h3><h4 id="attr-content-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>content: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-content-str-no-default" aria-label="Permalink to &quot;***attr*** `content: str = NO_DEFAULT`&quot;">โ€‹</a></h4><h3 id="class-image-baseseg" tabindex="-1"><em><strong>class</strong></em> <code>Image(BaseSeg)</code> <a class="header-anchor" href="#class-image-baseseg" aria-label="Permalink to &quot;***class*** `Image(BaseSeg)`&quot;">โ€‹</a></h3><h4 id="attr-url-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>url: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-url-str-no-default" aria-label="Permalink to &quot;***attr*** `url: str = NO_DEFAULT`&quot;">โ€‹</a></h4>',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default};

View File

@ -0,0 +1 @@
import{_ as a,c as t,a7 as s,o as r}from"./chunks/framework.jrU0lkHV.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"dev/api/session/message/segments.md","filePath":"zh/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return r(),t("div",null,e[0]||(e[0]=[s('<h1 id="ๆจกๅ—-liteyuki-session-message-segments" tabindex="-1"><strong>ๆจกๅ—</strong> <code>liteyuki.session.message.segments</code> <a class="header-anchor" href="#ๆจกๅ—-liteyuki-session-message-segments" aria-label="Permalink to &quot;**ๆจกๅ—** `liteyuki.session.message.segments`&quot;">โ€‹</a></h1><h3 id="class-baseseg-basemodel" tabindex="-1"><em><strong>class</strong></em> <code>BaseSeg(BaseModel)</code> <a class="header-anchor" href="#class-baseseg-basemodel" aria-label="Permalink to &quot;***class*** `BaseSeg(BaseModel)`&quot;">โ€‹</a></h3><h4 id="attr-type-str-segment" tabindex="-1"><em><strong>attr</strong></em> <code>type: str = &#39;Segment&#39;</code> <a class="header-anchor" href="#attr-type-str-segment" aria-label="Permalink to &quot;***attr*** `type: str = &#39;Segment&#39;`&quot;">โ€‹</a></h4><h4 id="attr-data-dict-str-any-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>data: dict[str, Any] = NO_DEFAULT</code> <a class="header-anchor" href="#attr-data-dict-str-any-no-default" aria-label="Permalink to &quot;***attr*** `data: dict[str, Any] = NO_DEFAULT`&quot;">โ€‹</a></h4><h3 id="class-text-baseseg" tabindex="-1"><em><strong>class</strong></em> <code>Text(BaseSeg)</code> <a class="header-anchor" href="#class-text-baseseg" aria-label="Permalink to &quot;***class*** `Text(BaseSeg)`&quot;">โ€‹</a></h3><h4 id="attr-content-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>content: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-content-str-no-default" aria-label="Permalink to &quot;***attr*** `content: str = NO_DEFAULT`&quot;">โ€‹</a></h4><h3 id="class-image-baseseg" tabindex="-1"><em><strong>class</strong></em> <code>Image(BaseSeg)</code> <a class="header-anchor" href="#class-image-baseseg" aria-label="Permalink to &quot;***class*** `Image(BaseSeg)`&quot;">โ€‹</a></h3><h4 id="attr-url-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>url: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-url-str-no-default" aria-label="Permalink to &quot;***attr*** `url: str = NO_DEFAULT`&quot;">โ€‹</a></h4>',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default};

View File

@ -1,4 +1,4 @@
import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.jrU0lkHV.js";const o=JSON.parse('{"title":"่ฟ›็จ‹้€šไฟก","description":"","frontmatter":{"title":"่ฟ›็จ‹้€šไฟก","order":4},"headers":[],"relativePath":"dev/comm.md","filePath":"zh/dev/comm.md","lastUpdated":1725102337000}'),l={name:"dev/comm.md"};function h(t,s,p,k,r,d){return e(),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 ้‡Œ๏ผŒๅ…ถไป–ๆ’ไปถๆก†ๆžถ่ฟ›็จ‹ๆ˜ฏไผด้š็š„ๅญ่ฟ›็จ‹๏ผŒๅ› ๆญคๆ— ๆณ•้€š่ฟ‡ๅ†…ๅญ˜ๅ…ฑไบซๅ’Œ็›ดๆŽฅๅฏน่ฑกไผ ้€’็š„ๆ–นๅผ่ฟ›่กŒ้€šไฟก๏ผŒ ่ฝป้›ชๆไพ›ไบ†ไธ€ไธช้€š้“<a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a>็”จไบŽ่ทจ่ฟ›็จ‹้€šไฟก๏ผŒ ไฝ ๅฏไปฅ้€š่ฟ‡<a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a>ๅ‘้€ๆถˆๆฏ็ป™ๅ…ถไป–่ฟ›็จ‹๏ผŒไนŸๅฏไปฅ็›‘ๅฌๅ…ถไป–่ฟ›็จ‹็š„ๆถˆๆฏใ€‚</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.jrU0lkHV.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>
<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>
@ -40,4 +40,4 @@ import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.jrU0lkHV.js";const o
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">...</span></span></code></pre></div><h2 id="ๅ…ฑไบซๅ†…ๅญ˜้€šไฟก" tabindex="-1"><strong>ๅ…ฑไบซๅ†…ๅญ˜้€šไฟก</strong> <a class="header-anchor" href="#ๅ…ฑไบซๅ†…ๅญ˜้€šไฟก" aria-label="Permalink to &quot;**ๅ…ฑไบซๅ†…ๅญ˜้€šไฟก**&quot;">โ€‹</a></h2><h3 id="็ฎ€ไป‹-1" tabindex="-1">็ฎ€ไป‹ <a class="header-anchor" href="#็ฎ€ไป‹-1" aria-label="Permalink to &quot;็ฎ€ไป‹&quot;">โ€‹</a></h3><ul><li>็›ธๆฏ”ไบŽๆ™ฎ้€š่ฟ›็จ‹้€šไฟก๏ผŒๅ†…ๅญ˜ๅ…ฑไบซไฝฟๅพ—ไปฃ็ ็ผ–ๅ†™ๆ›ดๅŠ ็ฎ€ๆด๏ผŒ่ฝป้›ชๆก†ๆžถๆไพ›ไบ†ไธ€ไธชๅ†…ๅญ˜ๅ…ฑไบซ้€šไฟก็š„ๆŽฅๅฃ๏ผŒไฝ ๅฏไปฅ้€š่ฟ‡<code>storage</code>ๆจกๅ—ๅฎž็Žฐๅ†…ๅญ˜ๅ…ฑไบซ้€šไฟก๏ผŒ่ฏฅๆจกๅ—ๅฐ่ฃ…้€š้“ๅฎž็Žฐ</li><li>ๅ†…ๅญ˜ๅ…ฑไบซๆ˜ฏ็บฟ็จ‹ๅฎ‰ๅ…จ็š„๏ผŒไฝ ๅฏไปฅๅœจๅคšไธช็บฟ็จ‹ไธญ่ฏปๅ†™ๅ…ฑไบซๅ†…ๅญ˜๏ผŒ็บฟ็จ‹้”ไผš่‡ชๅŠจไฟๆŠคๅ…ฑไบซๅ†…ๅญ˜็š„่ฏปๅ†™ๆ“ไฝœ</li></ul><h3 id="็คบไพ‹-1" tabindex="-1">็คบไพ‹ <a class="header-anchor" href="#็คบไพ‹-1" aria-label="Permalink to &quot;็คบไพ‹&quot;">โ€‹</a></h3><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;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.comm.storage </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> shared_memory</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">shared_memory.set(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;key&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;value&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ่ฎพ็ฝฎๅ…ฑไบซๅ†…ๅญ˜</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> shared_memory.get(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;key&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ่Žทๅ–ๅ…ฑไบซๅ†…ๅญ˜</span></span></code></pre></div><p>ๆบไปฃ็ ๏ผš<a href="https://github.com/LiteyukiStudio/LiteyukiBot/blob/main/liteyuki/comm/storage.py" target="_blank" rel="noreferrer">liteyuki/comm/storage.py</a></p>`,20)]))}const c=i(l,[["render",h]]);export{o as __pageData,c as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> shared_memory.get(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;key&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ่Žทๅ–ๅ…ฑไบซๅ†…ๅญ˜</span></span></code></pre></div><p>ๆบไปฃ็ ๏ผš<a href="https://github.com/LiteyukiStudio/LiteyukiBot/blob/main/liteyuki/comm/storage.py" target="_blank" rel="noreferrer">liteyuki/comm/storage.py</a></p>`,20)]))}const c=i(l,[["render",e]]);export{o as __pageData,c as default};

View File

@ -1,4 +1,4 @@
import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.jrU0lkHV.js";const o=JSON.parse('{"title":"่ฟ›็จ‹้€šไฟก","description":"","frontmatter":{"title":"่ฟ›็จ‹้€šไฟก","order":4},"headers":[],"relativePath":"dev/comm.md","filePath":"zh/dev/comm.md","lastUpdated":1725102337000}'),l={name:"dev/comm.md"};function h(t,s,p,k,r,d){return e(),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 ้‡Œ๏ผŒๅ…ถไป–ๆ’ไปถๆก†ๆžถ่ฟ›็จ‹ๆ˜ฏไผด้š็š„ๅญ่ฟ›็จ‹๏ผŒๅ› ๆญคๆ— ๆณ•้€š่ฟ‡ๅ†…ๅญ˜ๅ…ฑไบซๅ’Œ็›ดๆŽฅๅฏน่ฑกไผ ้€’็š„ๆ–นๅผ่ฟ›่กŒ้€šไฟก๏ผŒ ่ฝป้›ชๆไพ›ไบ†ไธ€ไธช้€š้“<a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a>็”จไบŽ่ทจ่ฟ›็จ‹้€šไฟก๏ผŒ ไฝ ๅฏไปฅ้€š่ฟ‡<a href="./api/comm/channel.html#class-channel-generic-t"><code>Channel</code></a>ๅ‘้€ๆถˆๆฏ็ป™ๅ…ถไป–่ฟ›็จ‹๏ผŒไนŸๅฏไปฅ็›‘ๅฌๅ…ถไป–่ฟ›็จ‹็š„ๆถˆๆฏใ€‚</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.jrU0lkHV.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>
<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>
@ -40,4 +40,4 @@ import{_ as i,c as a,a7 as n,o as e}from"./chunks/framework.jrU0lkHV.js";const o
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">...</span></span></code></pre></div><h2 id="ๅ…ฑไบซๅ†…ๅญ˜้€šไฟก" tabindex="-1"><strong>ๅ…ฑไบซๅ†…ๅญ˜้€šไฟก</strong> <a class="header-anchor" href="#ๅ…ฑไบซๅ†…ๅญ˜้€šไฟก" aria-label="Permalink to &quot;**ๅ…ฑไบซๅ†…ๅญ˜้€šไฟก**&quot;">โ€‹</a></h2><h3 id="็ฎ€ไป‹-1" tabindex="-1">็ฎ€ไป‹ <a class="header-anchor" href="#็ฎ€ไป‹-1" aria-label="Permalink to &quot;็ฎ€ไป‹&quot;">โ€‹</a></h3><ul><li>็›ธๆฏ”ไบŽๆ™ฎ้€š่ฟ›็จ‹้€šไฟก๏ผŒๅ†…ๅญ˜ๅ…ฑไบซไฝฟๅพ—ไปฃ็ ็ผ–ๅ†™ๆ›ดๅŠ ็ฎ€ๆด๏ผŒ่ฝป้›ชๆก†ๆžถๆไพ›ไบ†ไธ€ไธชๅ†…ๅญ˜ๅ…ฑไบซ้€šไฟก็š„ๆŽฅๅฃ๏ผŒไฝ ๅฏไปฅ้€š่ฟ‡<code>storage</code>ๆจกๅ—ๅฎž็Žฐๅ†…ๅญ˜ๅ…ฑไบซ้€šไฟก๏ผŒ่ฏฅๆจกๅ—ๅฐ่ฃ…้€š้“ๅฎž็Žฐ</li><li>ๅ†…ๅญ˜ๅ…ฑไบซๆ˜ฏ็บฟ็จ‹ๅฎ‰ๅ…จ็š„๏ผŒไฝ ๅฏไปฅๅœจๅคšไธช็บฟ็จ‹ไธญ่ฏปๅ†™ๅ…ฑไบซๅ†…ๅญ˜๏ผŒ็บฟ็จ‹้”ไผš่‡ชๅŠจไฟๆŠคๅ…ฑไบซๅ†…ๅญ˜็š„่ฏปๅ†™ๆ“ไฝœ</li></ul><h3 id="็คบไพ‹-1" tabindex="-1">็คบไพ‹ <a class="header-anchor" href="#็คบไพ‹-1" aria-label="Permalink to &quot;็คบไพ‹&quot;">โ€‹</a></h3><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;">from</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.comm.storage </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> shared_memory</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">shared_memory.set(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;key&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;value&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ่ฎพ็ฝฎๅ…ฑไบซๅ†…ๅญ˜</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> shared_memory.get(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;key&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ่Žทๅ–ๅ…ฑไบซๅ†…ๅญ˜</span></span></code></pre></div><p>ๆบไปฃ็ ๏ผš<a href="https://github.com/LiteyukiStudio/LiteyukiBot/blob/main/liteyuki/comm/storage.py" target="_blank" rel="noreferrer">liteyuki/comm/storage.py</a></p>`,20)]))}const c=i(l,[["render",h]]);export{o as __pageData,c as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> shared_memory.get(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;key&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ่Žทๅ–ๅ…ฑไบซๅ†…ๅญ˜</span></span></code></pre></div><p>ๆบไปฃ็ ๏ผš<a href="https://github.com/LiteyukiStudio/LiteyukiBot/blob/main/liteyuki/comm/storage.py" target="_blank" rel="noreferrer">liteyuki/comm/storage.py</a></p>`,20)]))}const c=i(l,[["render",e]]);export{o as __pageData,c 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,4 +1,4 @@
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.jrU0lkHV.js";const o=JSON.parse('{"title":"่ฝป้›ชๆ’ไปถๅผ€ๅ‘","description":"","frontmatter":{"title":"่ฝป้›ชๆ’ไปถๅผ€ๅ‘","order":3},"headers":[],"relativePath":"dev/plugin.md","filePath":"zh/dev/plugin.md","lastUpdated":1725101868000}'),h={name:"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.jrU0lkHV.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>
<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>
@ -29,4 +29,4 @@ import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.jrU0lkHV.js";const o
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> logger.debug(</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">f</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;File </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">{</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">event.src_path</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">}</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> changed, reloading nonebot...&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.restart_process(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;nonebot&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ่ฐƒ็”จ้‡ๅฏ่ฟ›็จ‹ๆ–นๆณ•</span></span></code></pre></div><h3 id="ๅŠ ่ฝฝๆ’ไปถ" tabindex="-1">ๅŠ ่ฝฝๆ’ไปถ <a class="header-anchor" href="#ๅŠ ่ฝฝๆ’ไปถ" aria-label="Permalink to &quot;ๅŠ ่ฝฝๆ’ไปถ&quot;">โ€‹</a></h3><h4 id="ๆ–นๆณ•1" tabindex="-1">ๆ–นๆณ•1 <a class="header-anchor" href="#ๆ–นๆณ•1" aria-label="Permalink to &quot;ๆ–นๆณ•1&quot;">โ€‹</a></h4><ul><li>ๅœจ้…็ฝฎๆ–‡ไปถไธญ็š„<code>liteyuki.plugins</code>ไธญๆทปๅŠ ไฝ ็š„ๆ’ไปถ่ทฏๅพ„๏ผŒไพ‹ๅฆ‚<code>watchdog_plugin</code>๏ผŒ้‡ๅฏ่ฝป้›ชๅณๅฏๅŠ ่ฝฝๆ’ไปถใ€‚</li></ul><h4 id="ๆ–นๆณ•2" tabindex="-1">ๆ–นๆณ•2 <a class="header-anchor" href="#ๆ–นๆณ•2" aria-label="Permalink to &quot;ๆ–นๆณ•2&quot;">โ€‹</a></h4><ul><li>ไฝฟ็”จๅผ€ๅ‘ๅทฅๅ…ทๅฟซ้€Ÿ่ฟ่กŒๆ’ไปถ๏ผŒๆ— ้œ€ๆ‰‹ๅŠจๅˆ›ๅปบๅฎžไพ‹</li><li>ๅˆ›ๅปบๅ…ฅๅฃๆ–‡ไปถ๏ผŒไพ‹ๅฆ‚<code>main.py</code>๏ผŒๅนถๅœจๅ…ถไธญๅ†™ๅ…ฅไปฅไธ‹ไปฃ็ </li></ul><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.dev.plugin </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> run_plugins</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">run_plugins(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;watchdog_plugin&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><p>็„ถๅŽ่ฟ่กŒ<code>python main.py</code>ๅณๅฏๅฏๅŠจๆ’ไปถ</p><p>ๅฏ็”จๆ’ไปถๅŽ๏ผŒๆˆ‘ไปฌๅœจsrc/nonebot_pluginsไธ‹ๅˆ›ๅปบไธ€ไธชๆ–‡ไปถ๏ผŒไพ‹ๅฆ‚<code>test.py</code>๏ผŒๅนถๅœจๅ…ถไธญๅ†™ๅ…ฅไธ€ไบ›ไปฃ็ ๏ผŒไฟๅญ˜ๅŽ่ฝป้›ชไผš่‡ชๅŠจ้‡่ฝฝNoneBot่ฟ›็จ‹</p>`,19)]))}const g=i(h,[["render",l]]);export{o as __pageData,g as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">run_plugins(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;watchdog_plugin&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><p>็„ถๅŽ่ฟ่กŒ<code>python main.py</code>ๅณๅฏๅฏๅŠจๆ’ไปถ</p><p>ๅฏ็”จๆ’ไปถๅŽ๏ผŒๆˆ‘ไปฌๅœจsrc/nonebot_pluginsไธ‹ๅˆ›ๅปบไธ€ไธชๆ–‡ไปถ๏ผŒไพ‹ๅฆ‚<code>test.py</code>๏ผŒๅนถๅœจๅ…ถไธญๅ†™ๅ…ฅไธ€ไบ›ไปฃ็ ๏ผŒไฟๅญ˜ๅŽ่ฝป้›ชไผš่‡ชๅŠจ้‡่ฝฝNoneBot่ฟ›็จ‹</p>`,24)]))}const g=i(h,[["render",p]]);export{E as __pageData,g as default};

View File

@ -1,4 +1,4 @@
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.jrU0lkHV.js";const o=JSON.parse('{"title":"่ฝป้›ชๆ’ไปถๅผ€ๅ‘","description":"","frontmatter":{"title":"่ฝป้›ชๆ’ไปถๅผ€ๅ‘","order":3},"headers":[],"relativePath":"dev/plugin.md","filePath":"zh/dev/plugin.md","lastUpdated":1725101868000}'),h={name:"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.jrU0lkHV.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>
<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>
@ -29,4 +29,4 @@ import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.jrU0lkHV.js";const o
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> logger.debug(</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">f</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;File </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">{</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">event.src_path</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">}</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> changed, reloading nonebot...&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> liteyuki.restart_process(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;nonebot&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># ่ฐƒ็”จ้‡ๅฏ่ฟ›็จ‹ๆ–นๆณ•</span></span></code></pre></div><h3 id="ๅŠ ่ฝฝๆ’ไปถ" tabindex="-1">ๅŠ ่ฝฝๆ’ไปถ <a class="header-anchor" href="#ๅŠ ่ฝฝๆ’ไปถ" aria-label="Permalink to &quot;ๅŠ ่ฝฝๆ’ไปถ&quot;">โ€‹</a></h3><h4 id="ๆ–นๆณ•1" tabindex="-1">ๆ–นๆณ•1 <a class="header-anchor" href="#ๆ–นๆณ•1" aria-label="Permalink to &quot;ๆ–นๆณ•1&quot;">โ€‹</a></h4><ul><li>ๅœจ้…็ฝฎๆ–‡ไปถไธญ็š„<code>liteyuki.plugins</code>ไธญๆทปๅŠ ไฝ ็š„ๆ’ไปถ่ทฏๅพ„๏ผŒไพ‹ๅฆ‚<code>watchdog_plugin</code>๏ผŒ้‡ๅฏ่ฝป้›ชๅณๅฏๅŠ ่ฝฝๆ’ไปถใ€‚</li></ul><h4 id="ๆ–นๆณ•2" tabindex="-1">ๆ–นๆณ•2 <a class="header-anchor" href="#ๆ–นๆณ•2" aria-label="Permalink to &quot;ๆ–นๆณ•2&quot;">โ€‹</a></h4><ul><li>ไฝฟ็”จๅผ€ๅ‘ๅทฅๅ…ทๅฟซ้€Ÿ่ฟ่กŒๆ’ไปถ๏ผŒๆ— ้œ€ๆ‰‹ๅŠจๅˆ›ๅปบๅฎžไพ‹</li><li>ๅˆ›ๅปบๅ…ฅๅฃๆ–‡ไปถ๏ผŒไพ‹ๅฆ‚<code>main.py</code>๏ผŒๅนถๅœจๅ…ถไธญๅ†™ๅ…ฅไปฅไธ‹ไปฃ็ </li></ul><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.dev.plugin </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> run_plugins</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">run_plugins(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;watchdog_plugin&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><p>็„ถๅŽ่ฟ่กŒ<code>python main.py</code>ๅณๅฏๅฏๅŠจๆ’ไปถ</p><p>ๅฏ็”จๆ’ไปถๅŽ๏ผŒๆˆ‘ไปฌๅœจsrc/nonebot_pluginsไธ‹ๅˆ›ๅปบไธ€ไธชๆ–‡ไปถ๏ผŒไพ‹ๅฆ‚<code>test.py</code>๏ผŒๅนถๅœจๅ…ถไธญๅ†™ๅ…ฅไธ€ไบ›ไปฃ็ ๏ผŒไฟๅญ˜ๅŽ่ฝป้›ชไผš่‡ชๅŠจ้‡่ฝฝNoneBot่ฟ›็จ‹</p>`,19)]))}const g=i(h,[["render",l]]);export{o as __pageData,g as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">run_plugins(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;watchdog_plugin&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><p>็„ถๅŽ่ฟ่กŒ<code>python main.py</code>ๅณๅฏๅฏๅŠจๆ’ไปถ</p><p>ๅฏ็”จๆ’ไปถๅŽ๏ผŒๆˆ‘ไปฌๅœจsrc/nonebot_pluginsไธ‹ๅˆ›ๅปบไธ€ไธชๆ–‡ไปถ๏ผŒไพ‹ๅฆ‚<code>test.py</code>๏ผŒๅนถๅœจๅ…ถไธญๅ†™ๅ…ฅไธ€ไบ›ไปฃ็ ๏ผŒไฟๅญ˜ๅŽ่ฝป้›ชไผš่‡ชๅŠจ้‡่ฝฝNoneBot่ฟ›็จ‹</p>`,24)]))}const g=i(h,[["render",p]]);export{E as __pageData,g as default};

View File

@ -0,0 +1 @@
import{_ as t,c as o,a7 as a,o as i}from"./chunks/framework.jrU0lkHV.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};

View File

@ -0,0 +1 @@
import{_ as t,c as o,a7 as a,o as i}from"./chunks/framework.jrU0lkHV.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};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as a,c as t,a7 as s,o as r}from"./chunks/framework.jrU0lkHV.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"en/dev/api/session/message/segments.md","filePath":"en/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"en/dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return r(),t("div",null,e[0]||(e[0]=[s('<h1 id="module-liteyuki-session-message-segments" tabindex="-1"><strong>Module</strong> <code>liteyuki.session.message.segments</code> <a class="header-anchor" href="#module-liteyuki-session-message-segments" aria-label="Permalink to &quot;**Module** `liteyuki.session.message.segments`&quot;">โ€‹</a></h1><h3 id="class-baseseg-basemodel" tabindex="-1"><em><strong>class</strong></em> <code>BaseSeg(BaseModel)</code> <a class="header-anchor" href="#class-baseseg-basemodel" aria-label="Permalink to &quot;***class*** `BaseSeg(BaseModel)`&quot;">โ€‹</a></h3><h4 id="attr-type-str-segment" tabindex="-1"><em><strong>attr</strong></em> <code>type: str = &#39;Segment&#39;</code> <a class="header-anchor" href="#attr-type-str-segment" aria-label="Permalink to &quot;***attr*** `type: str = &#39;Segment&#39;`&quot;">โ€‹</a></h4><h4 id="attr-data-dict-str-any-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>data: dict[str, Any] = NO_DEFAULT</code> <a class="header-anchor" href="#attr-data-dict-str-any-no-default" aria-label="Permalink to &quot;***attr*** `data: dict[str, Any] = NO_DEFAULT`&quot;">โ€‹</a></h4><h3 id="class-text-baseseg" tabindex="-1"><em><strong>class</strong></em> <code>Text(BaseSeg)</code> <a class="header-anchor" href="#class-text-baseseg" aria-label="Permalink to &quot;***class*** `Text(BaseSeg)`&quot;">โ€‹</a></h3><h4 id="attr-content-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>content: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-content-str-no-default" aria-label="Permalink to &quot;***attr*** `content: str = NO_DEFAULT`&quot;">โ€‹</a></h4><h3 id="class-image-baseseg" tabindex="-1"><em><strong>class</strong></em> <code>Image(BaseSeg)</code> <a class="header-anchor" href="#class-image-baseseg" aria-label="Permalink to &quot;***class*** `Image(BaseSeg)`&quot;">โ€‹</a></h3><h4 id="attr-url-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>url: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-url-str-no-default" aria-label="Permalink to &quot;***attr*** `url: str = NO_DEFAULT`&quot;">โ€‹</a></h4>',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default};

View File

@ -0,0 +1 @@
import{_ as a,c as t,a7 as s,o as r}from"./chunks/framework.jrU0lkHV.js";const h=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"en/dev/api/session/message/segments.md","filePath":"en/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"en/dev/api/session/message/segments.md"};function n(l,e,d,i,c,m){return r(),t("div",null,e[0]||(e[0]=[s('<h1 id="module-liteyuki-session-message-segments" tabindex="-1"><strong>Module</strong> <code>liteyuki.session.message.segments</code> <a class="header-anchor" href="#module-liteyuki-session-message-segments" aria-label="Permalink to &quot;**Module** `liteyuki.session.message.segments`&quot;">โ€‹</a></h1><h3 id="class-baseseg-basemodel" tabindex="-1"><em><strong>class</strong></em> <code>BaseSeg(BaseModel)</code> <a class="header-anchor" href="#class-baseseg-basemodel" aria-label="Permalink to &quot;***class*** `BaseSeg(BaseModel)`&quot;">โ€‹</a></h3><h4 id="attr-type-str-segment" tabindex="-1"><em><strong>attr</strong></em> <code>type: str = &#39;Segment&#39;</code> <a class="header-anchor" href="#attr-type-str-segment" aria-label="Permalink to &quot;***attr*** `type: str = &#39;Segment&#39;`&quot;">โ€‹</a></h4><h4 id="attr-data-dict-str-any-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>data: dict[str, Any] = NO_DEFAULT</code> <a class="header-anchor" href="#attr-data-dict-str-any-no-default" aria-label="Permalink to &quot;***attr*** `data: dict[str, Any] = NO_DEFAULT`&quot;">โ€‹</a></h4><h3 id="class-text-baseseg" tabindex="-1"><em><strong>class</strong></em> <code>Text(BaseSeg)</code> <a class="header-anchor" href="#class-text-baseseg" aria-label="Permalink to &quot;***class*** `Text(BaseSeg)`&quot;">โ€‹</a></h3><h4 id="attr-content-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>content: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-content-str-no-default" aria-label="Permalink to &quot;***attr*** `content: str = NO_DEFAULT`&quot;">โ€‹</a></h4><h3 id="class-image-baseseg" tabindex="-1"><em><strong>class</strong></em> <code>Image(BaseSeg)</code> <a class="header-anchor" href="#class-image-baseseg" aria-label="Permalink to &quot;***class*** `Image(BaseSeg)`&quot;">โ€‹</a></h3><h4 id="attr-url-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>url: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-url-str-no-default" aria-label="Permalink to &quot;***attr*** `url: str = NO_DEFAULT`&quot;">โ€‹</a></h4>',8)]))}const u=a(o,[["render",n]]);export{h as __pageData,u as default};

View File

@ -1 +0,0 @@
import{_ as a,c as n,j as e,a as t,o as i}from"./chunks/framework.jrU0lkHV.js";const p=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"en/dev/api/session/message/segments.md","filePath":"en/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"en/dev/api/session/message/segments.md"};function l(m,s,r,d,g,u){return i(),n("div",null,s[0]||(s[0]=[e("h1",{id:"module-liteyuki-session-message-segments",tabindex:"-1"},[e("strong",null,"Module"),t(),e("code",null,"liteyuki.session.message.segments"),t(),e("a",{class:"header-anchor",href:"#module-liteyuki-session-message-segments","aria-label":'Permalink to "**Module** `liteyuki.session.message.segments`"'},"โ€‹")],-1)]))}const f=a(o,[["render",l]]);export{p as __pageData,f as default};

View File

@ -1 +0,0 @@
import{_ as a,c as n,j as e,a as t,o as i}from"./chunks/framework.jrU0lkHV.js";const p=JSON.parse('{"title":"liteyuki.session.message.segments","description":"","frontmatter":{"title":"liteyuki.session.message.segments"},"headers":[],"relativePath":"en/dev/api/session/message/segments.md","filePath":"en/dev/api/session/message/segments.md","lastUpdated":null}'),o={name:"en/dev/api/session/message/segments.md"};function l(m,s,r,d,g,u){return i(),n("div",null,s[0]||(s[0]=[e("h1",{id:"module-liteyuki-session-message-segments",tabindex:"-1"},[e("strong",null,"Module"),t(),e("code",null,"liteyuki.session.message.segments"),t(),e("a",{class:"header-anchor",href:"#module-liteyuki-session-message-segments","aria-label":'Permalink to "**Module** `liteyuki.session.message.segments`"'},"โ€‹")],-1)]))}const f=a(o,[["render",l]]);export{p as __pageData,f 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,4 +1,4 @@
import{_ as i,c as a,a7 as n,o as t}from"./chunks/framework.jrU0lkHV.js";const o=JSON.parse('{"title":"Liteyuki Plugin","description":"","frontmatter":{"title":"Liteyuki Plugin","order":3},"headers":[],"relativePath":"en/dev/plugin.md","filePath":"en/dev/plugin.md","lastUpdated":1726859552000}'),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.jrU0lkHV.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>
<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.jrU0lkHV.js";const o=JSON.parse('{"title":"Liteyuki Plugin","description":"","frontmatter":{"title":"Liteyuki Plugin","order":3},"headers":[],"relativePath":"en/dev/plugin.md","filePath":"en/dev/plugin.md","lastUpdated":1726859552000}'),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.jrU0lkHV.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>
<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>

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

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