Deploying to gh-pages from @ LiteyukiStudio/LiteyukiBot@85a3a9ad52 ๐Ÿš€

This commit is contained in:
2024-08-19 01:56:38 +00:00
parent 75e12d40fc
commit 553b95d78d
155 changed files with 2286 additions and 219 deletions

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{_ as t,o as e,c as o,b as n}from"./app-DOGtdh9N.js";const a={},r=n("p",null,"404 Not Found",-1),s=[r];function c(p,i){return e(),o("div",null,s)}const d=t(a,[["render",c],["__file","404.html.vue"]]),m=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,m as data};
import{_ as t,o as e,c as o,b as n}from"./app-0e_4pVFu.js";const a={},r=n("p",null,"404 Not Found",-1),s=[r];function c(p,i){return e(),o("div",null,s)}const d=t(a,[["render",c],["__file","404.html.vue"]]),m=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,m as data};

View File

@ -1 +1 @@
import{_ as e,o as t,c as o,e as a}from"./app-DOGtdh9N.js";const r={},i=a("<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>",1),n=[i];function l(c,m){return t(),o("div",null,n)}const s=e(r,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/usage/agreement.html","title":"็”จๆˆทๅ่ฎฎ","lang":"zh-CN","frontmatter":{"title":"็”จๆˆทๅ่ฎฎ","icon":"user-secret","order":3,"category":"ไฝฟ็”จๆ‰‹ๅ†Œ","description":"ๆœฌ้กน็›ฎ้ตๅพชMITๅ่ฎฎ๏ผŒไฝ ๅฏไปฅ่‡ช็”ฑไฝฟ็”จ๏ผŒไฟฎๆ”น๏ผŒๅˆ†ๅ‘๏ผŒไฝ†ๆ˜ฏ่ฏทไฟ็•™ๅŽŸไฝœ่€…ไฟกๆฏ ไฝ ๅฏไปฅ้€‰ๆ‹ฉๅผ€ๅฏauto_report(้ป˜่ฎคๅผ€ๅฏ)๏ผŒ่ฝป้›ชไผšๆ”ถ้›†ไปฅไธ‹ๅ†…ๅฎน ่ฟ่กŒ็Žฏๅขƒ็š„่ฎพๅค‡ไฟกๆฏ๏ผšCPU๏ผŒๅ†…ๅญ˜๏ผŒ็ณป็ปŸไฟกๆฏๅŠPythonไฟกๆฏ ๆ’ไปถไฟกๆฏ(ไธๅซๆ’ไปถๆ•ฐๆฎ) ้ƒจๅˆ†ๅผ‚ๅธธไฟกๆฏ๏ผŒ ไผš่ฏ่ดŸ่ฝฝไฟกๆฏ(ไธๅซ้š็ง้ƒจๅˆ†) ไปฅไธŠๅ†…ๅฎนไป…็”จไบŽ้กน็›ฎ็š„ไผ˜ๅŒ–๏ผŒไธๅŒ…ๅซไปปไฝ•้š็งไฟกๆฏ๏ผŒไธ”้€š่ฟ‡ๅฎ‰ๅ…จ็š„ๆ–นๅผไผ ่พ“ๅˆฐ่ฝป้›ช็š„ๆœๅŠก...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"็”จๆˆทๅ่ฎฎ"}],["meta",{"property":"og:description","content":"ๆœฌ้กน็›ฎ้ตๅพชMITๅ่ฎฎ๏ผŒไฝ ๅฏไปฅ่‡ช็”ฑไฝฟ็”จ๏ผŒไฟฎๆ”น๏ผŒๅˆ†ๅ‘๏ผŒไฝ†ๆ˜ฏ่ฏทไฟ็•™ๅŽŸไฝœ่€…ไฟกๆฏ ไฝ ๅฏไปฅ้€‰ๆ‹ฉๅผ€ๅฏauto_report(้ป˜่ฎคๅผ€ๅฏ)๏ผŒ่ฝป้›ชไผšๆ”ถ้›†ไปฅไธ‹ๅ†…ๅฎน ่ฟ่กŒ็Žฏๅขƒ็š„่ฎพๅค‡ไฟกๆฏ๏ผšCPU๏ผŒๅ†…ๅญ˜๏ผŒ็ณป็ปŸไฟกๆฏๅŠPythonไฟกๆฏ ๆ’ไปถไฟกๆฏ(ไธๅซๆ’ไปถๆ•ฐๆฎ) ้ƒจๅˆ†ๅผ‚ๅธธไฟกๆฏ๏ผŒ ไผš่ฏ่ดŸ่ฝฝไฟกๆฏ(ไธๅซ้š็ง้ƒจๅˆ†) ไปฅไธŠๅ†…ๅฎนไป…็”จไบŽ้กน็›ฎ็š„ไผ˜ๅŒ–๏ผŒไธๅŒ…ๅซไปปไฝ•้š็งไฟกๆฏ๏ผŒไธ”้€š่ฟ‡ๅฎ‰ๅ…จ็š„ๆ–นๅผไผ ่พ“ๅˆฐ่ฝป้›ช็š„ๆœๅŠก..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-20T16:40:55.000Z"}],["meta",{"property":"article:modified_time","content":"2024-07-20T16:40:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"็”จๆˆทๅ่ฎฎ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-20T16:40:55.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1721493655000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1}]},"readingTime":{"minutes":0.76,"words":227},"filePathRelative":"usage/agreement.md","localizedDate":"2024ๅนด3ๆœˆ28ๆ—ฅ","autoDesc":true}');export{s as comp,d as data};
import{_ as e,o as t,c as o,e as a}from"./app-0e_4pVFu.js";const r={},i=a("<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>",1),n=[i];function l(c,m){return t(),o("div",null,n)}const s=e(r,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/usage/agreement.html","title":"็”จๆˆทๅ่ฎฎ","lang":"zh-CN","frontmatter":{"title":"็”จๆˆทๅ่ฎฎ","icon":"user-secret","order":3,"category":"ไฝฟ็”จๆ‰‹ๅ†Œ","description":"ๆœฌ้กน็›ฎ้ตๅพชMITๅ่ฎฎ๏ผŒไฝ ๅฏไปฅ่‡ช็”ฑไฝฟ็”จ๏ผŒไฟฎๆ”น๏ผŒๅˆ†ๅ‘๏ผŒไฝ†ๆ˜ฏ่ฏทไฟ็•™ๅŽŸไฝœ่€…ไฟกๆฏ ไฝ ๅฏไปฅ้€‰ๆ‹ฉๅผ€ๅฏauto_report(้ป˜่ฎคๅผ€ๅฏ)๏ผŒ่ฝป้›ชไผšๆ”ถ้›†ไปฅไธ‹ๅ†…ๅฎน ่ฟ่กŒ็Žฏๅขƒ็š„่ฎพๅค‡ไฟกๆฏ๏ผšCPU๏ผŒๅ†…ๅญ˜๏ผŒ็ณป็ปŸไฟกๆฏๅŠPythonไฟกๆฏ ๆ’ไปถไฟกๆฏ(ไธๅซๆ’ไปถๆ•ฐๆฎ) ้ƒจๅˆ†ๅผ‚ๅธธไฟกๆฏ๏ผŒ ไผš่ฏ่ดŸ่ฝฝไฟกๆฏ(ไธๅซ้š็ง้ƒจๅˆ†) ไปฅไธŠๅ†…ๅฎนไป…็”จไบŽ้กน็›ฎ็š„ไผ˜ๅŒ–๏ผŒไธๅŒ…ๅซไปปไฝ•้š็งไฟกๆฏ๏ผŒไธ”้€š่ฟ‡ๅฎ‰ๅ…จ็š„ๆ–นๅผไผ ่พ“ๅˆฐ่ฝป้›ช็š„ๆœๅŠก...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"็”จๆˆทๅ่ฎฎ"}],["meta",{"property":"og:description","content":"ๆœฌ้กน็›ฎ้ตๅพชMITๅ่ฎฎ๏ผŒไฝ ๅฏไปฅ่‡ช็”ฑไฝฟ็”จ๏ผŒไฟฎๆ”น๏ผŒๅˆ†ๅ‘๏ผŒไฝ†ๆ˜ฏ่ฏทไฟ็•™ๅŽŸไฝœ่€…ไฟกๆฏ ไฝ ๅฏไปฅ้€‰ๆ‹ฉๅผ€ๅฏauto_report(้ป˜่ฎคๅผ€ๅฏ)๏ผŒ่ฝป้›ชไผšๆ”ถ้›†ไปฅไธ‹ๅ†…ๅฎน ่ฟ่กŒ็Žฏๅขƒ็š„่ฎพๅค‡ไฟกๆฏ๏ผšCPU๏ผŒๅ†…ๅญ˜๏ผŒ็ณป็ปŸไฟกๆฏๅŠPythonไฟกๆฏ ๆ’ไปถไฟกๆฏ(ไธๅซๆ’ไปถๆ•ฐๆฎ) ้ƒจๅˆ†ๅผ‚ๅธธไฟกๆฏ๏ผŒ ไผš่ฏ่ดŸ่ฝฝไฟกๆฏ(ไธๅซ้š็ง้ƒจๅˆ†) ไปฅไธŠๅ†…ๅฎนไป…็”จไบŽ้กน็›ฎ็š„ไผ˜ๅŒ–๏ผŒไธๅŒ…ๅซไปปไฝ•้š็งไฟกๆฏ๏ผŒไธ”้€š่ฟ‡ๅฎ‰ๅ…จ็š„ๆ–นๅผไผ ่พ“ๅˆฐ่ฝป้›ช็š„ๆœๅŠก..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-20T16:40:55.000Z"}],["meta",{"property":"article:modified_time","content":"2024-07-20T16:40:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"็”จๆˆทๅ่ฎฎ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-20T16:40:55.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1721493655000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1}]},"readingTime":{"minutes":0.76,"words":227},"filePathRelative":"usage/agreement.md","localizedDate":"2024ๅนด3ๆœˆ28ๆ—ฅ","autoDesc":true}');export{s as comp,d as data};

View File

@ -1 +1 @@
import{_ as e,o as t,c as o,e as r}from"./app-DOGtdh9N.js";const a={},n=r("<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>",1),i=[n];function l(c,s){return t(),o("div",null,i)}const p=e(a,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/en/usage/agreement.html","title":"User Agreement","lang":"en-US","frontmatter":{"title":"User Agreement","icon":"user-secret","order":3,"category":"usage","description":"ๆœฌ้กน็›ฎ้ตๅพชMITๅ่ฎฎ๏ผŒไฝ ๅฏไปฅ่‡ช็”ฑไฝฟ็”จ๏ผŒไฟฎๆ”น๏ผŒๅˆ†ๅ‘๏ผŒไฝ†ๆ˜ฏ่ฏทไฟ็•™ๅŽŸไฝœ่€…ไฟกๆฏ ไฝ ๅฏไปฅ้€‰ๆ‹ฉๅผ€ๅฏauto_report(้ป˜่ฎคๅผ€ๅฏ)๏ผŒ่ฝป้›ชไผšๆ”ถ้›†ไปฅไธ‹ๅ†…ๅฎน ่ฟ่กŒ็Žฏๅขƒ็š„่ฎพๅค‡ไฟกๆฏ๏ผšCPU๏ผŒๅ†…ๅญ˜๏ผŒ็ณป็ปŸไฟกๆฏๅŠPythonไฟกๆฏ ๆ’ไปถไฟกๆฏ(ไธๅซๆ’ไปถๆ•ฐๆฎ) ้ƒจๅˆ†ๅผ‚ๅธธไฟกๆฏ๏ผŒ ไผš่ฏ่ดŸ่ฝฝไฟกๆฏ(ไธๅซ้š็ง้ƒจๅˆ†) ไปฅไธŠๅ†…ๅฎนไป…็”จไบŽ้กน็›ฎ็š„ไผ˜ๅŒ–๏ผŒไธๅŒ…ๅซไปปไฝ•้š็งไฟกๆฏ๏ผŒไธ”้€š่ฟ‡ๅฎ‰ๅ…จ็š„ๆ–นๅผไผ ่พ“ๅˆฐ่ฝป้›ช็š„ๆœๅŠก...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"User Agreement"}],["meta",{"property":"og:description","content":"ๆœฌ้กน็›ฎ้ตๅพชMITๅ่ฎฎ๏ผŒไฝ ๅฏไปฅ่‡ช็”ฑไฝฟ็”จ๏ผŒไฟฎๆ”น๏ผŒๅˆ†ๅ‘๏ผŒไฝ†ๆ˜ฏ่ฏทไฟ็•™ๅŽŸไฝœ่€…ไฟกๆฏ ไฝ ๅฏไปฅ้€‰ๆ‹ฉๅผ€ๅฏauto_report(้ป˜่ฎคๅผ€ๅฏ)๏ผŒ่ฝป้›ชไผšๆ”ถ้›†ไปฅไธ‹ๅ†…ๅฎน ่ฟ่กŒ็Žฏๅขƒ็š„่ฎพๅค‡ไฟกๆฏ๏ผšCPU๏ผŒๅ†…ๅญ˜๏ผŒ็ณป็ปŸไฟกๆฏๅŠPythonไฟกๆฏ ๆ’ไปถไฟกๆฏ(ไธๅซๆ’ไปถๆ•ฐๆฎ) ้ƒจๅˆ†ๅผ‚ๅธธไฟกๆฏ๏ผŒ ไผš่ฏ่ดŸ่ฝฝไฟกๆฏ(ไธๅซ้š็ง้ƒจๅˆ†) ไปฅไธŠๅ†…ๅฎนไป…็”จไบŽ้กน็›ฎ็š„ไผ˜ๅŒ–๏ผŒไธๅŒ…ๅซไปปไฝ•้š็งไฟกๆฏ๏ผŒไธ”้€š่ฟ‡ๅฎ‰ๅ…จ็š„ๆ–นๅผไผ ่พ“ๅˆฐ่ฝป้›ช็š„ๆœๅŠก..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"User Agreement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.74,"words":222},"filePathRelative":"en/usage/agreement.md","localizedDate":"August 16, 2024","autoDesc":true}');export{p as comp,d as data};
import{_ as e,o as t,c as o,e as r}from"./app-0e_4pVFu.js";const a={},n=r("<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>",1),i=[n];function l(c,s){return t(),o("div",null,i)}const p=e(a,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/en/usage/agreement.html","title":"User Agreement","lang":"en-US","frontmatter":{"title":"User Agreement","icon":"user-secret","order":3,"category":"usage","description":"ๆœฌ้กน็›ฎ้ตๅพชMITๅ่ฎฎ๏ผŒไฝ ๅฏไปฅ่‡ช็”ฑไฝฟ็”จ๏ผŒไฟฎๆ”น๏ผŒๅˆ†ๅ‘๏ผŒไฝ†ๆ˜ฏ่ฏทไฟ็•™ๅŽŸไฝœ่€…ไฟกๆฏ ไฝ ๅฏไปฅ้€‰ๆ‹ฉๅผ€ๅฏauto_report(้ป˜่ฎคๅผ€ๅฏ)๏ผŒ่ฝป้›ชไผšๆ”ถ้›†ไปฅไธ‹ๅ†…ๅฎน ่ฟ่กŒ็Žฏๅขƒ็š„่ฎพๅค‡ไฟกๆฏ๏ผšCPU๏ผŒๅ†…ๅญ˜๏ผŒ็ณป็ปŸไฟกๆฏๅŠPythonไฟกๆฏ ๆ’ไปถไฟกๆฏ(ไธๅซๆ’ไปถๆ•ฐๆฎ) ้ƒจๅˆ†ๅผ‚ๅธธไฟกๆฏ๏ผŒ ไผš่ฏ่ดŸ่ฝฝไฟกๆฏ(ไธๅซ้š็ง้ƒจๅˆ†) ไปฅไธŠๅ†…ๅฎนไป…็”จไบŽ้กน็›ฎ็š„ไผ˜ๅŒ–๏ผŒไธๅŒ…ๅซไปปไฝ•้š็งไฟกๆฏ๏ผŒไธ”้€š่ฟ‡ๅฎ‰ๅ…จ็š„ๆ–นๅผไผ ่พ“ๅˆฐ่ฝป้›ช็š„ๆœๅŠก...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"User Agreement"}],["meta",{"property":"og:description","content":"ๆœฌ้กน็›ฎ้ตๅพชMITๅ่ฎฎ๏ผŒไฝ ๅฏไปฅ่‡ช็”ฑไฝฟ็”จ๏ผŒไฟฎๆ”น๏ผŒๅˆ†ๅ‘๏ผŒไฝ†ๆ˜ฏ่ฏทไฟ็•™ๅŽŸไฝœ่€…ไฟกๆฏ ไฝ ๅฏไปฅ้€‰ๆ‹ฉๅผ€ๅฏauto_report(้ป˜่ฎคๅผ€ๅฏ)๏ผŒ่ฝป้›ชไผšๆ”ถ้›†ไปฅไธ‹ๅ†…ๅฎน ่ฟ่กŒ็Žฏๅขƒ็š„่ฎพๅค‡ไฟกๆฏ๏ผšCPU๏ผŒๅ†…ๅญ˜๏ผŒ็ณป็ปŸไฟกๆฏๅŠPythonไฟกๆฏ ๆ’ไปถไฟกๆฏ(ไธๅซๆ’ไปถๆ•ฐๆฎ) ้ƒจๅˆ†ๅผ‚ๅธธไฟกๆฏ๏ผŒ ไผš่ฏ่ดŸ่ฝฝไฟกๆฏ(ไธๅซ้š็ง้ƒจๅˆ†) ไปฅไธŠๅ†…ๅฎนไป…็”จไบŽ้กน็›ฎ็š„ไผ˜ๅŒ–๏ผŒไธๅŒ…ๅซไปปไฝ•้š็งไฟกๆฏ๏ผŒไธ”้€š่ฟ‡ๅฎ‰ๅ…จ็š„ๆ–นๅผไผ ่พ“ๅˆฐ่ฝป้›ช็š„ๆœๅŠก..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"User Agreement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.74,"words":222},"filePathRelative":"en/usage/agreement.md","localizedDate":"August 16, 2024","autoDesc":true}');export{p as comp,d as data};

45
assets/app-0e_4pVFu.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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,9 @@
import{_ as e,o as n,c as a,e as t}from"./app-0e_4pVFu.js";const l={},c=t(`<h3 id="def-set-channel-name-str-channel-channel-none" tabindex="-1"><a class="header-anchor" href="#def-set-channel-name-str-channel-channel-none"><span><em><strong>def</strong></em> <code>set_channel(name: str, channel: Channel) -&gt; None</code></span></a></h3><p>่ฎพ็ฝฎ้€š้“ๅฎžไพ‹</p><p>Args:</p><pre><code>name: ้€š้“ๅ็งฐ
channel: ้€š้“ๅฎžไพ‹
</code></pre><h3 id="def-set-channels-channels-dict-str-channel-none" tabindex="-1"><a class="header-anchor" href="#def-set-channels-channels-dict-str-channel-none"><span><em><strong>def</strong></em> <code>set_channels(channels: dict[str, Channel]) -&gt; None</code></span></a></h3><p>่ฎพ็ฝฎ้€š้“ๅฎžไพ‹</p><p>Args:</p><pre><code>channels: ้€š้“ๅ็งฐ
</code></pre><h3 id="def-get-channel-name-str-channel" tabindex="-1"><a class="header-anchor" href="#def-get-channel-name-str-channel"><span><em><strong>def</strong></em> <code>get_channel(name: str) -&gt; Channel</code></span></a></h3><p>่Žทๅ–้€š้“ๅฎžไพ‹</p><p>Args:</p><pre><code>name: ้€š้“ๅ็งฐ
</code></pre><p>Returns:</p><h3 id="def-get-channels-dict-str-channel" tabindex="-1"><a class="header-anchor" href="#def-get-channels-dict-str-channel"><span><em><strong>def</strong></em> <code>get_channels() -&gt; dict[str, Channel]</code></span></a></h3><p>่Žทๅ–้€š้“ๅฎžไพ‹</p><p>Returns:</p><h3 id="def-on-set-channel-data-tuple-str-dict-str-any-none" tabindex="-1"><a class="header-anchor" href="#def-on-set-channel-data-tuple-str-dict-str-any-none"><span><em><strong>def</strong></em> <code>on_set_channel(data: tuple[str, dict[str, Any]]) -&gt; None</code></span></a></h3><h3 id="def-on-get-channel-data-tuple-str-dict-str-any-none" tabindex="-1"><a class="header-anchor" href="#def-on-get-channel-data-tuple-str-dict-str-any-none"><span><em><strong>def</strong></em> <code>on_get_channel(data: tuple[str, dict[str, Any]]) -&gt; None</code></span></a></h3><h3 id="def-on-get-channels-data-tuple-str-dict-str-any-none" tabindex="-1"><a class="header-anchor" href="#def-on-get-channels-data-tuple-str-dict-str-any-none"><span><em><strong>def</strong></em> <code>on_get_channels(data: tuple[str, dict[str, Any]]) -&gt; None</code></span></a></h3><h3 id="def-decorator-func-callable-t-any-callable-t-any" tabindex="-1"><a class="header-anchor" href="#def-decorator-func-callable-t-any-callable-t-any"><span><em><strong>def</strong></em> <code>decorator(func: Callable[[T], Any]) -&gt; Callable[[T], Any]</code></span></a></h3><h3 id="async-def-wrapper-data-t-any" tabindex="-1"><a class="header-anchor" href="#async-def-wrapper-data-t-any"><span><em><strong>async def</strong></em> <code>wrapper(data: T) -&gt; Any</code></span></a></h3><h3 id="class-channel-generic-t" tabindex="-1"><a class="header-anchor" href="#class-channel-generic-t"><span><em><strong>class</strong></em> <code>Channel(Generic[T])</code></span></a></h3><p>้€š้“็ฑป๏ผŒๅฏไปฅๅœจ่ฟ›็จ‹้—ดๅ’Œ่ฟ›็จ‹ๅ†…้€šไฟก๏ผŒๅŒๅ‘ไฝ†ๅŒๆ—ถๅช่ƒฝๆœ‰ไธ€ไธชๅ‘้€่€…ๅ’Œไธ€ไธชๆŽฅๆ”ถ่€…</p><p>ๆœ‰ไธค็งๆŽฅๆ”ถๅทฅไฝœๆ–นๅผ๏ผŒไฝ†ๆ˜ฏๅช่ƒฝ้€‰ๆ‹ฉไธ€็ง๏ผŒไธปๅŠจๆŽฅๆ”ถๅ’Œ่ขซๅŠจๆŽฅๆ”ถ๏ผŒไธปๅŠจๆŽฅๆ”ถไฝฟ็”จ <code>receive</code> ๆ–นๆณ•๏ผŒ่ขซๅŠจๆŽฅๆ”ถไฝฟ็”จ <code>on_receive</code> ่ฃ…้ฅฐๅ™จ</p><h3 id="def-send-self-any-data-t-none" tabindex="-1"><a class="header-anchor" href="#def-send-self-any-data-t-none"><span>โ€ƒ <em><strong>def</strong></em> <code>send(self: Any, data: T) -&gt; None</code></span></a></h3><p>โ€ƒๅ‘้€ๆ•ฐๆฎ</p><p>Args:</p><pre><code>data: ๆ•ฐๆฎ
</code></pre><h3 id="def-receive-self-any-t" tabindex="-1"><a class="header-anchor" href="#def-receive-self-any-t"><span>โ€ƒ <em><strong>def</strong></em> <code>receive(self: Any) -&gt; T</code></span></a></h3><p>โ€ƒๆŽฅๆ”ถๆ•ฐๆฎ</p><p>Args:</p><h3 id="def-close-self-any-none" tabindex="-1"><a class="header-anchor" href="#def-close-self-any-none"><span>โ€ƒ <em><strong>def</strong></em> <code>close(self: Any) -&gt; None</code></span></a></h3><p>โ€ƒๅ…ณ้—ญ้€š้“</p><h3 id="def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any" tabindex="-1"><a class="header-anchor" href="#def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any"><span>โ€ƒ <em><strong>def</strong></em> <code>on_receive(self: Any, filter_func: Optional[FILTER_FUNC]) -&gt; Callable[[Callable[[T], Any]], Callable[[T], Any]]</code></span></a></h3><p>โ€ƒๆŽฅๆ”ถๆ•ฐๆฎๅนถๆ‰ง่กŒๅ‡ฝๆ•ฐ</p><p>Args:</p><pre><code>filter_func: ่ฟ‡ๆปคๅ‡ฝๆ•ฐ๏ผŒไธบNoneๅˆ™ไธ่ฟ‡ๆปค
</code></pre><p>Returns:</p><pre><code>่ฃ…้ฅฐๅ™จ๏ผŒ่ฃ…้ฅฐไธ€ไธชๅ‡ฝๆ•ฐๅœจๆŽฅๆ”ถๅˆฐๆ•ฐๆฎๅŽๆ‰ง่กŒ
</code></pre>`,39),s=[c];function d(r,o){return n(),a("div",null,s)}const i=e(l,[["render",d],["__file","channel.html.vue"]]),f=JSON.parse('{"path":"/en/dev/api/liteyuki/comm/channel.html","title":"liteyuki.comm.channel","lang":"en-US","frontmatter":{"title":"liteyuki.comm.channel","order":1,"icon":"laptop-code","category":"API","description":"def set_channel(name: str, channel: Channel) -> None ่ฎพ็ฝฎ้€š้“ๅฎžไพ‹ Args: def set_channels(channels: dict[str, Channel]) -> None ่ฎพ็ฝฎ้€š้“ๅฎžไพ‹ Args: def get_channel(name: str) -> Channel ่Žทๅ–้€š้“ๅฎž...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/comm/channel.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.comm.channel"}],["meta",{"property":"og:description","content":"def set_channel(name: str, channel: Channel) -> None ่ฎพ็ฝฎ้€š้“ๅฎžไพ‹ Args: def set_channels(channels: dict[str, Channel]) -> None ่ฎพ็ฝฎ้€š้“ๅฎžไพ‹ Args: def get_channel(name: str) -> Channel ่Žทๅ–้€š้“ๅฎž..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm.channel\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def set_channel(name: str, channel: Channel) -> None","slug":"def-set-channel-name-str-channel-channel-none","link":"#def-set-channel-name-str-channel-channel-none","children":[]},{"level":3,"title":"def set_channels(channels: dict[str, Channel]) -> None","slug":"def-set-channels-channels-dict-str-channel-none","link":"#def-set-channels-channels-dict-str-channel-none","children":[]},{"level":3,"title":"def get_channel(name: str) -> Channel","slug":"def-get-channel-name-str-channel","link":"#def-get-channel-name-str-channel","children":[]},{"level":3,"title":"def get_channels() -> dict[str, Channel]","slug":"def-get-channels-dict-str-channel","link":"#def-get-channels-dict-str-channel","children":[]},{"level":3,"title":"def on_set_channel(data: tuple[str, dict[str, Any]]) -> None","slug":"def-on-set-channel-data-tuple-str-dict-str-any-none","link":"#def-on-set-channel-data-tuple-str-dict-str-any-none","children":[]},{"level":3,"title":"def on_get_channel(data: tuple[str, dict[str, Any]]) -> None","slug":"def-on-get-channel-data-tuple-str-dict-str-any-none","link":"#def-on-get-channel-data-tuple-str-dict-str-any-none","children":[]},{"level":3,"title":"def on_get_channels(data: tuple[str, dict[str, Any]]) -> None","slug":"def-on-get-channels-data-tuple-str-dict-str-any-none","link":"#def-on-get-channels-data-tuple-str-dict-str-any-none","children":[]},{"level":3,"title":"def decorator(func: Callable[[T], Any]) -> Callable[[T], Any]","slug":"def-decorator-func-callable-t-any-callable-t-any","link":"#def-decorator-func-callable-t-any-callable-t-any","children":[]},{"level":3,"title":"async def wrapper(data: T) -> Any","slug":"async-def-wrapper-data-t-any","link":"#async-def-wrapper-data-t-any","children":[]},{"level":3,"title":"class Channel(Generic[T])","slug":"class-channel-generic-t","link":"#class-channel-generic-t","children":[]},{"level":3,"title":"def send(self: Any, data: T) -> None","slug":"def-send-self-any-data-t-none","link":"#def-send-self-any-data-t-none","children":[]},{"level":3,"title":"def receive(self: Any) -> T","slug":"def-receive-self-any-t","link":"#def-receive-self-any-t","children":[]},{"level":3,"title":"def close(self: Any) -> None","slug":"def-close-self-any-none","link":"#def-close-self-any-none","children":[]},{"level":3,"title":"def on_receive(self: Any, filter_func: Optional[FILTER_FUNC]) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]","slug":"def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any","link":"#def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":1.01,"words":303},"filePathRelative":"en/dev/api/liteyuki/comm/channel.md","localizedDate":"August 19, 2024","autoDesc":true}');export{i as comp,f as data};

View File

@ -0,0 +1,9 @@
import{_ as e,o as n,c as a,e as t}from"./app-0e_4pVFu.js";const l={},c=t(`<h3 id="def-set-channel-name-str-channel-channel-none" tabindex="-1"><a class="header-anchor" href="#def-set-channel-name-str-channel-channel-none"><span><em><strong>def</strong></em> <code>set_channel(name: str, channel: Channel) -&gt; None</code></span></a></h3><p>่ฎพ็ฝฎ้€š้“ๅฎžไพ‹</p><p>Args:</p><pre><code>name: ้€š้“ๅ็งฐ
channel: ้€š้“ๅฎžไพ‹
</code></pre><h3 id="def-set-channels-channels-dict-str-channel-none" tabindex="-1"><a class="header-anchor" href="#def-set-channels-channels-dict-str-channel-none"><span><em><strong>def</strong></em> <code>set_channels(channels: dict[str, Channel]) -&gt; None</code></span></a></h3><p>่ฎพ็ฝฎ้€š้“ๅฎžไพ‹</p><p>Args:</p><pre><code>channels: ้€š้“ๅ็งฐ
</code></pre><h3 id="def-get-channel-name-str-channel" tabindex="-1"><a class="header-anchor" href="#def-get-channel-name-str-channel"><span><em><strong>def</strong></em> <code>get_channel(name: str) -&gt; Channel</code></span></a></h3><p>่Žทๅ–้€š้“ๅฎžไพ‹</p><p>Args:</p><pre><code>name: ้€š้“ๅ็งฐ
</code></pre><p>Returns:</p><h3 id="def-get-channels-dict-str-channel" tabindex="-1"><a class="header-anchor" href="#def-get-channels-dict-str-channel"><span><em><strong>def</strong></em> <code>get_channels() -&gt; dict[str, Channel]</code></span></a></h3><p>่Žทๅ–้€š้“ๅฎžไพ‹</p><p>Returns:</p><h3 id="def-on-set-channel-data-tuple-str-dict-str-any-none" tabindex="-1"><a class="header-anchor" href="#def-on-set-channel-data-tuple-str-dict-str-any-none"><span><em><strong>def</strong></em> <code>on_set_channel(data: tuple[str, dict[str, Any]]) -&gt; None</code></span></a></h3><h3 id="def-on-get-channel-data-tuple-str-dict-str-any-none" tabindex="-1"><a class="header-anchor" href="#def-on-get-channel-data-tuple-str-dict-str-any-none"><span><em><strong>def</strong></em> <code>on_get_channel(data: tuple[str, dict[str, Any]]) -&gt; None</code></span></a></h3><h3 id="def-on-get-channels-data-tuple-str-dict-str-any-none" tabindex="-1"><a class="header-anchor" href="#def-on-get-channels-data-tuple-str-dict-str-any-none"><span><em><strong>def</strong></em> <code>on_get_channels(data: tuple[str, dict[str, Any]]) -&gt; None</code></span></a></h3><h3 id="def-decorator-func-callable-t-any-callable-t-any" tabindex="-1"><a class="header-anchor" href="#def-decorator-func-callable-t-any-callable-t-any"><span><em><strong>def</strong></em> <code>decorator(func: Callable[[T], Any]) -&gt; Callable[[T], Any]</code></span></a></h3><h3 id="async-def-wrapper-data-t-any" tabindex="-1"><a class="header-anchor" href="#async-def-wrapper-data-t-any"><span><em><strong>async def</strong></em> <code>wrapper(data: T) -&gt; Any</code></span></a></h3><h3 id="class-channel-generic-t" tabindex="-1"><a class="header-anchor" href="#class-channel-generic-t"><span><em><strong>class</strong></em> <code>Channel(Generic[T])</code></span></a></h3><p>้€š้“็ฑป๏ผŒๅฏไปฅๅœจ่ฟ›็จ‹้—ดๅ’Œ่ฟ›็จ‹ๅ†…้€šไฟก๏ผŒๅŒๅ‘ไฝ†ๅŒๆ—ถๅช่ƒฝๆœ‰ไธ€ไธชๅ‘้€่€…ๅ’Œไธ€ไธชๆŽฅๆ”ถ่€…</p><p>ๆœ‰ไธค็งๆŽฅๆ”ถๅทฅไฝœๆ–นๅผ๏ผŒไฝ†ๆ˜ฏๅช่ƒฝ้€‰ๆ‹ฉไธ€็ง๏ผŒไธปๅŠจๆŽฅๆ”ถๅ’Œ่ขซๅŠจๆŽฅๆ”ถ๏ผŒไธปๅŠจๆŽฅๆ”ถไฝฟ็”จ <code>receive</code> ๆ–นๆณ•๏ผŒ่ขซๅŠจๆŽฅๆ”ถไฝฟ็”จ <code>on_receive</code> ่ฃ…้ฅฐๅ™จ</p><h3 id="def-send-self-any-data-t-none" tabindex="-1"><a class="header-anchor" href="#def-send-self-any-data-t-none"><span>โ€ƒ <em><strong>def</strong></em> <code>send(self: Any, data: T) -&gt; None</code></span></a></h3><p>โ€ƒๅ‘้€ๆ•ฐๆฎ</p><p>Args:</p><pre><code>data: ๆ•ฐๆฎ
</code></pre><h3 id="def-receive-self-any-t" tabindex="-1"><a class="header-anchor" href="#def-receive-self-any-t"><span>โ€ƒ <em><strong>def</strong></em> <code>receive(self: Any) -&gt; T</code></span></a></h3><p>โ€ƒๆŽฅๆ”ถๆ•ฐๆฎ</p><p>Args:</p><h3 id="def-close-self-any-none" tabindex="-1"><a class="header-anchor" href="#def-close-self-any-none"><span>โ€ƒ <em><strong>def</strong></em> <code>close(self: Any) -&gt; None</code></span></a></h3><p>โ€ƒๅ…ณ้—ญ้€š้“</p><h3 id="def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any" tabindex="-1"><a class="header-anchor" href="#def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any"><span>โ€ƒ <em><strong>def</strong></em> <code>on_receive(self: Any, filter_func: Optional[FILTER_FUNC]) -&gt; Callable[[Callable[[T], Any]], Callable[[T], Any]]</code></span></a></h3><p>โ€ƒๆŽฅๆ”ถๆ•ฐๆฎๅนถๆ‰ง่กŒๅ‡ฝๆ•ฐ</p><p>Args:</p><pre><code>filter_func: ่ฟ‡ๆปคๅ‡ฝๆ•ฐ๏ผŒไธบNoneๅˆ™ไธ่ฟ‡ๆปค
</code></pre><p>Returns:</p><pre><code>่ฃ…้ฅฐๅ™จ๏ผŒ่ฃ…้ฅฐไธ€ไธชๅ‡ฝๆ•ฐๅœจๆŽฅๆ”ถๅˆฐๆ•ฐๆฎๅŽๆ‰ง่กŒ
</code></pre>`,39),s=[c];function d(r,o){return n(),a("div",null,s)}const i=e(l,[["render",d],["__file","channel.html.vue"]]),f=JSON.parse('{"path":"/dev/api/comm/channel.html","title":"liteyuki.comm.channel","lang":"zh-CN","frontmatter":{"title":"liteyuki.comm.channel","order":1,"icon":"laptop-code","category":"API","description":"def set_channel(name: str, channel: Channel) -> None ่ฎพ็ฝฎ้€š้“ๅฎžไพ‹ Args: def set_channels(channels: dict[str, Channel]) -> None ่ฎพ็ฝฎ้€š้“ๅฎžไพ‹ Args: def get_channel(name: str) -> Channel ่Žทๅ–้€š้“ๅฎž...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/channel.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.comm.channel"}],["meta",{"property":"og:description","content":"def set_channel(name: str, channel: Channel) -> None ่ฎพ็ฝฎ้€š้“ๅฎžไพ‹ Args: def set_channels(channels: dict[str, Channel]) -> None ่ฎพ็ฝฎ้€š้“ๅฎžไพ‹ Args: def get_channel(name: str) -> Channel ่Žทๅ–้€š้“ๅฎž..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm.channel\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def set_channel(name: str, channel: Channel) -> None","slug":"def-set-channel-name-str-channel-channel-none","link":"#def-set-channel-name-str-channel-channel-none","children":[]},{"level":3,"title":"def set_channels(channels: dict[str, Channel]) -> None","slug":"def-set-channels-channels-dict-str-channel-none","link":"#def-set-channels-channels-dict-str-channel-none","children":[]},{"level":3,"title":"def get_channel(name: str) -> Channel","slug":"def-get-channel-name-str-channel","link":"#def-get-channel-name-str-channel","children":[]},{"level":3,"title":"def get_channels() -> dict[str, Channel]","slug":"def-get-channels-dict-str-channel","link":"#def-get-channels-dict-str-channel","children":[]},{"level":3,"title":"def on_set_channel(data: tuple[str, dict[str, Any]]) -> None","slug":"def-on-set-channel-data-tuple-str-dict-str-any-none","link":"#def-on-set-channel-data-tuple-str-dict-str-any-none","children":[]},{"level":3,"title":"def on_get_channel(data: tuple[str, dict[str, Any]]) -> None","slug":"def-on-get-channel-data-tuple-str-dict-str-any-none","link":"#def-on-get-channel-data-tuple-str-dict-str-any-none","children":[]},{"level":3,"title":"def on_get_channels(data: tuple[str, dict[str, Any]]) -> None","slug":"def-on-get-channels-data-tuple-str-dict-str-any-none","link":"#def-on-get-channels-data-tuple-str-dict-str-any-none","children":[]},{"level":3,"title":"def decorator(func: Callable[[T], Any]) -> Callable[[T], Any]","slug":"def-decorator-func-callable-t-any-callable-t-any","link":"#def-decorator-func-callable-t-any-callable-t-any","children":[]},{"level":3,"title":"async def wrapper(data: T) -> Any","slug":"async-def-wrapper-data-t-any","link":"#async-def-wrapper-data-t-any","children":[]},{"level":3,"title":"class Channel(Generic[T])","slug":"class-channel-generic-t","link":"#class-channel-generic-t","children":[]},{"level":3,"title":"def send(self: Any, data: T) -> None","slug":"def-send-self-any-data-t-none","link":"#def-send-self-any-data-t-none","children":[]},{"level":3,"title":"def receive(self: Any) -> T","slug":"def-receive-self-any-t","link":"#def-receive-self-any-t","children":[]},{"level":3,"title":"def close(self: Any) -> None","slug":"def-close-self-any-none","link":"#def-close-self-any-none","children":[]},{"level":3,"title":"def on_receive(self: Any, filter_func: Optional[FILTER_FUNC]) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]","slug":"def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any","link":"#def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":1.01,"words":303},"filePathRelative":"dev/api/comm/channel.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ","autoDesc":true}');export{i as comp,f as data};

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-DOGtdh9N.js";const i={},r=p(`<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"><a class="header-anchor" href="#ๅŸบ็ก€้…็ฝฎ้กน"><span><strong>ๅŸบ็ก€้…็ฝฎ้กน</strong></span></a></h2><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">nonebot</span><span class="token punctuation">:</span>
import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-0e_4pVFu.js";const i={},r=p(`<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"><a class="header-anchor" href="#ๅŸบ็ก€้…็ฝฎ้กน"><span><strong>ๅŸบ็ก€้…็ฝฎ้กน</strong></span></a></h2><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">nonebot</span><span class="token punctuation">:</span>
<span class="token comment"># Nonebotๆœบๅ™จไบบ็š„้…็ฝฎ๏ผŒไปฅๅ‰็š„ๆœ€ๅค–ๅฑ‚้…็ฝฎ้กนไปๅฏไธบNonebotๆœๅŠก๏ผŒไฝ†ๆ˜ฏ้ƒจๅˆ†ๅ†…ๅฎนไผš่ขซ่ฆ†็›–๏ผŒ่ฏทๅฐฝๅฟซ่ฟ็งป</span>
<span class="token key atrule">command_start</span><span class="token punctuation">:</span> <span class="token punctuation">[</span> <span class="token string">&quot;/&quot;</span><span class="token punctuation">,</span> <span class="token string">&quot;&quot;</span> <span class="token punctuation">]</span> <span class="token comment"># ๆŒ‡ไปคๅ‰็ผ€๏ผŒ่‹ฅๆฒกๆœ‰&quot;&quot;็ฉบๅ‘ฝไปคๅคด๏ผŒ่ฏทๅผ€ๅฏalconna_use_command_startไฟ่ฏalconna่งฃๆžๆญฃๅธธ</span>
<span class="token key atrule">host</span><span class="token punctuation">:</span> 127.0.0.1 <span class="token comment"># ็›‘ๅฌๅœฐๅ€๏ผŒ้ป˜่ฎคไธบๆœฌๆœบ๏ผŒ่‹ฅ่ฆๆŽฅๆ”ถๅค–้ƒจ่ฏทๆฑ‚่ฏทๅกซๅ†™0.0.0.0</span>

View File

@ -1,4 +1,4 @@
import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-DOGtdh9N.js";const i={},u=p(`<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"><a class="header-anchor" href="#ๅŸบ็ก€้…็ฝฎ้กน"><span><strong>ๅŸบ็ก€้…็ฝฎ้กน</strong></span></a></h2><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">nonebot</span><span class="token punctuation">:</span>
import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-0e_4pVFu.js";const i={},u=p(`<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"><a class="header-anchor" href="#ๅŸบ็ก€้…็ฝฎ้กน"><span><strong>ๅŸบ็ก€้…็ฝฎ้กน</strong></span></a></h2><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">nonebot</span><span class="token punctuation">:</span>
<span class="token comment"># Nonebotๆœบๅ™จไบบ็š„้…็ฝฎ๏ผŒไปฅๅ‰็š„ๆœ€ๅค–ๅฑ‚้…็ฝฎ้กนไปๅฏไธบNonebotๆœๅŠก๏ผŒไฝ†ๆ˜ฏ้ƒจๅˆ†ๅ†…ๅฎนไผš่ขซ่ฆ†็›–๏ผŒ่ฏทๅฐฝๅฟซ่ฟ็งป</span>
<span class="token key atrule">command_start</span><span class="token punctuation">:</span> <span class="token punctuation">[</span> <span class="token string">&quot;/&quot;</span><span class="token punctuation">,</span> <span class="token string">&quot;&quot;</span> <span class="token punctuation">]</span> <span class="token comment"># ๆŒ‡ไปคๅ‰็ผ€๏ผŒ่‹ฅๆฒกๆœ‰&quot;&quot;็ฉบๅ‘ฝไปคๅคด๏ผŒ่ฏทๅผ€ๅฏalconna_use_command_startไฟ่ฏalconna่งฃๆžๆญฃๅธธ</span>
<span class="token key atrule">host</span><span class="token punctuation">:</span> 127.0.0.1 <span class="token comment"># ็›‘ๅฌๅœฐๅ€๏ผŒ้ป˜่ฎคไธบๆœฌๆœบ๏ผŒ่‹ฅ่ฆๆŽฅๆ”ถๅค–้ƒจ่ฏทๆฑ‚่ฏทๅกซๅ†™0.0.0.0</span>

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import{_ as e,r as t,o,c as p,b as n,d as s,a as c,e as i}from"./app-DOGtdh9N.js";const l={},u=i(`<h2 id="้€š้“้€šไฟก" tabindex="-1"><a class="header-anchor" href="#้€š้“้€šไฟก"><span><strong>้€š้“้€šไฟก</strong></span></a></h2><h3 id="็ฎ€ไป‹" tabindex="-1"><a class="header-anchor" href="#็ฎ€ไป‹"><span>็ฎ€ไป‹</span></a></h3><p>่ฝป้›ช่ฟ่กŒๅœจไธป่ฟ›็จ‹ MainProcess ้‡Œ๏ผŒๅ…ถไป–ๆ’ไปถๆก†ๆžถ่ฟ›็จ‹ๆ˜ฏไผด้š็š„ๅญ่ฟ›็จ‹๏ผŒๅ› ๆญคๆ— ๆณ•้€š่ฟ‡ๅ†…ๅญ˜ๅ…ฑไบซๅ’Œ็›ดๆŽฅๅฏน่ฑกไผ ้€’็š„ๆ–นๅผ่ฟ›่กŒ้€šไฟก๏ผŒ่ฝป้›ชๆไพ›ไบ†ไธ€ไธช้€š้“<code>Channel</code>็”จไบŽ่ทจ่ฟ›็จ‹้€šไฟก๏ผŒไฝ ๅฏไปฅ้€š่ฟ‡<code>Channel</code>ๅ‘้€ๆถˆๆฏ็ป™ๅ…ถไป–่ฟ›็จ‹๏ผŒไนŸๅฏไปฅ็›‘ๅฌๅ…ถไป–่ฟ›็จ‹็š„ๆถˆๆฏใ€‚</p><p>ไพ‹ๅฆ‚ๅญ่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐ็”จๆˆทไฟกๆฏ้œ€่ฆ้‡ๅฏๆœบๅ™จไบบ๏ผŒ่ฟ™ๆ—ถๅฏไปฅ้€š่ฟ‡้€š้“ๅฏนไธป่ฟ›็จ‹ๅ‘้€ๆถˆๆฏ๏ผŒไธป่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐๆถˆๆฏๅŽ้‡ๅฏๅฏนๅบ”ๅญ่ฟ›็จ‹ใ€‚</p><h3 id="็คบไพ‹" tabindex="-1"><a class="header-anchor" href="#็คบไพ‹"><span>็คบไพ‹</span></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 line-numbers-mode" data-ext="py" data-title="py"><pre class="language-python"><code><span class="token keyword">import</span> asyncio
import{_ as e,r as t,o,c as p,b as n,d as s,a as c,e as i}from"./app-0e_4pVFu.js";const l={},u=i(`<h2 id="้€š้“้€šไฟก" tabindex="-1"><a class="header-anchor" href="#้€š้“้€šไฟก"><span><strong>้€š้“้€šไฟก</strong></span></a></h2><h3 id="็ฎ€ไป‹" tabindex="-1"><a class="header-anchor" href="#็ฎ€ไป‹"><span>็ฎ€ไป‹</span></a></h3><p>่ฝป้›ช่ฟ่กŒๅœจไธป่ฟ›็จ‹ MainProcess ้‡Œ๏ผŒๅ…ถไป–ๆ’ไปถๆก†ๆžถ่ฟ›็จ‹ๆ˜ฏไผด้š็š„ๅญ่ฟ›็จ‹๏ผŒๅ› ๆญคๆ— ๆณ•้€š่ฟ‡ๅ†…ๅญ˜ๅ…ฑไบซๅ’Œ็›ดๆŽฅๅฏน่ฑกไผ ้€’็š„ๆ–นๅผ่ฟ›่กŒ้€šไฟก๏ผŒ่ฝป้›ชๆไพ›ไบ†ไธ€ไธช้€š้“<code>Channel</code>็”จไบŽ่ทจ่ฟ›็จ‹้€šไฟก๏ผŒไฝ ๅฏไปฅ้€š่ฟ‡<code>Channel</code>ๅ‘้€ๆถˆๆฏ็ป™ๅ…ถไป–่ฟ›็จ‹๏ผŒไนŸๅฏไปฅ็›‘ๅฌๅ…ถไป–่ฟ›็จ‹็š„ๆถˆๆฏใ€‚</p><p>ไพ‹ๅฆ‚ๅญ่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐ็”จๆˆทไฟกๆฏ้œ€่ฆ้‡ๅฏๆœบๅ™จไบบ๏ผŒ่ฟ™ๆ—ถๅฏไปฅ้€š่ฟ‡้€š้“ๅฏนไธป่ฟ›็จ‹ๅ‘้€ๆถˆๆฏ๏ผŒไธป่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐๆถˆๆฏๅŽ้‡ๅฏๅฏนๅบ”ๅญ่ฟ›็จ‹ใ€‚</p><h3 id="็คบไพ‹" tabindex="-1"><a class="header-anchor" href="#็คบไพ‹"><span>็คบไพ‹</span></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 line-numbers-mode" data-ext="py" data-title="py"><pre class="language-python"><code><span class="token keyword">import</span> asyncio
<span class="token keyword">from</span> liteyuki<span class="token punctuation">.</span>comm <span class="token keyword">import</span> get_channel<span class="token punctuation">,</span> Channel
<span class="token keyword">from</span> liteyuki <span class="token keyword">import</span> get_bot

View File

@ -1,4 +1,4 @@
import{_ as e,r as t,o,c as p,b as n,d as s,a as i,e as c}from"./app-DOGtdh9N.js";const l={},u=c(`<h2 id="้€š้“้€šไฟก" tabindex="-1"><a class="header-anchor" href="#้€š้“้€šไฟก"><span><strong>้€š้“้€šไฟก</strong></span></a></h2><h3 id="็ฎ€ไป‹" tabindex="-1"><a class="header-anchor" href="#็ฎ€ไป‹"><span>็ฎ€ไป‹</span></a></h3><p>่ฝป้›ช่ฟ่กŒๅœจไธป่ฟ›็จ‹ MainProcess ้‡Œ๏ผŒๅ…ถไป–ๆ’ไปถๆก†ๆžถ่ฟ›็จ‹ๆ˜ฏไผด้š็š„ๅญ่ฟ›็จ‹๏ผŒๅ› ๆญคๆ— ๆณ•้€š่ฟ‡ๅ†…ๅญ˜ๅ…ฑไบซๅ’Œ็›ดๆŽฅๅฏน่ฑกไผ ้€’็š„ๆ–นๅผ่ฟ›่กŒ้€šไฟก๏ผŒ่ฝป้›ชๆไพ›ไบ†ไธ€ไธช้€š้“<code>Channel</code>็”จไบŽ่ทจ่ฟ›็จ‹้€šไฟก๏ผŒไฝ ๅฏไปฅ้€š่ฟ‡<code>Channel</code>ๅ‘้€ๆถˆๆฏ็ป™ๅ…ถไป–่ฟ›็จ‹๏ผŒไนŸๅฏไปฅ็›‘ๅฌๅ…ถไป–่ฟ›็จ‹็š„ๆถˆๆฏใ€‚</p><p>ไพ‹ๅฆ‚ๅญ่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐ็”จๆˆทไฟกๆฏ้œ€่ฆ้‡ๅฏๆœบๅ™จไบบ๏ผŒ่ฟ™ๆ—ถๅฏไปฅ้€š่ฟ‡้€š้“ๅฏนไธป่ฟ›็จ‹ๅ‘้€ๆถˆๆฏ๏ผŒไธป่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐๆถˆๆฏๅŽ้‡ๅฏๅฏนๅบ”ๅญ่ฟ›็จ‹ใ€‚</p><h3 id="็คบไพ‹" tabindex="-1"><a class="header-anchor" href="#็คบไพ‹"><span>็คบไพ‹</span></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 line-numbers-mode" data-ext="py" data-title="py"><pre class="language-python"><code><span class="token keyword">import</span> asyncio
import{_ as e,r as t,o,c as p,b as n,d as s,a as i,e as c}from"./app-0e_4pVFu.js";const l={},u=c(`<h2 id="้€š้“้€šไฟก" tabindex="-1"><a class="header-anchor" href="#้€š้“้€šไฟก"><span><strong>้€š้“้€šไฟก</strong></span></a></h2><h3 id="็ฎ€ไป‹" tabindex="-1"><a class="header-anchor" href="#็ฎ€ไป‹"><span>็ฎ€ไป‹</span></a></h3><p>่ฝป้›ช่ฟ่กŒๅœจไธป่ฟ›็จ‹ MainProcess ้‡Œ๏ผŒๅ…ถไป–ๆ’ไปถๆก†ๆžถ่ฟ›็จ‹ๆ˜ฏไผด้š็š„ๅญ่ฟ›็จ‹๏ผŒๅ› ๆญคๆ— ๆณ•้€š่ฟ‡ๅ†…ๅญ˜ๅ…ฑไบซๅ’Œ็›ดๆŽฅๅฏน่ฑกไผ ้€’็š„ๆ–นๅผ่ฟ›่กŒ้€šไฟก๏ผŒ่ฝป้›ชๆไพ›ไบ†ไธ€ไธช้€š้“<code>Channel</code>็”จไบŽ่ทจ่ฟ›็จ‹้€šไฟก๏ผŒไฝ ๅฏไปฅ้€š่ฟ‡<code>Channel</code>ๅ‘้€ๆถˆๆฏ็ป™ๅ…ถไป–่ฟ›็จ‹๏ผŒไนŸๅฏไปฅ็›‘ๅฌๅ…ถไป–่ฟ›็จ‹็š„ๆถˆๆฏใ€‚</p><p>ไพ‹ๅฆ‚ๅญ่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐ็”จๆˆทไฟกๆฏ้œ€่ฆ้‡ๅฏๆœบๅ™จไบบ๏ผŒ่ฟ™ๆ—ถๅฏไปฅ้€š่ฟ‡้€š้“ๅฏนไธป่ฟ›็จ‹ๅ‘้€ๆถˆๆฏ๏ผŒไธป่ฟ›็จ‹ๆŽฅๆ”ถๅˆฐๆถˆๆฏๅŽ้‡ๅฏๅฏนๅบ”ๅญ่ฟ›็จ‹ใ€‚</p><h3 id="็คบไพ‹" tabindex="-1"><a class="header-anchor" href="#็คบไพ‹"><span>็คบไพ‹</span></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 line-numbers-mode" data-ext="py" data-title="py"><pre class="language-python"><code><span class="token keyword">import</span> asyncio
<span class="token keyword">from</span> liteyuki<span class="token punctuation">.</span>comm <span class="token keyword">import</span> get_channel<span class="token punctuation">,</span> Channel
<span class="token keyword">from</span> liteyuki <span class="token keyword">import</span> get_bot

View File

@ -1,4 +1,4 @@
import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-DOGtdh9N.js";const p={},r=c(`<h2 id="่ฝป้›ชๅ‡ฝๆ•ฐ" tabindex="-1"><a class="header-anchor" href="#่ฝป้›ชๅ‡ฝๆ•ฐ"><span><strong>่ฝป้›ชๅ‡ฝๆ•ฐ</strong></span></a></h2><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ"><span><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong></span></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-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</span>
import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-0e_4pVFu.js";const p={},r=c(`<h2 id="่ฝป้›ชๅ‡ฝๆ•ฐ" tabindex="-1"><a class="header-anchor" href="#่ฝป้›ชๅ‡ฝๆ•ฐ"><span><strong>่ฝป้›ชๅ‡ฝๆ•ฐ</strong></span></a></h2><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ"><span><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong></span></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-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</span>
cmd <span class="token builtin class-name">echo</span> hello world
<span class="token comment"># ๅฆ‚ๆžœไฝ ๆƒณๅŒๆ—ถ่พ“ๅ‡บๅคš่กŒๅ†…ๅฎนๅฏไปฅๅฐ่ฏ•ๆข่กŒ็ฌฆ(Pythonๆ ผๅผ)</span>

View File

@ -1,4 +1,4 @@
import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-DOGtdh9N.js";const p={},r=c(`<h2 id="่ฝป้›ชๅ‡ฝๆ•ฐ" tabindex="-1"><a class="header-anchor" href="#่ฝป้›ชๅ‡ฝๆ•ฐ"><span><strong>่ฝป้›ชๅ‡ฝๆ•ฐ</strong></span></a></h2><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ"><span><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong></span></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-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</span>
import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-0e_4pVFu.js";const p={},r=c(`<h2 id="่ฝป้›ชๅ‡ฝๆ•ฐ" tabindex="-1"><a class="header-anchor" href="#่ฝป้›ชๅ‡ฝๆ•ฐ"><span><strong>่ฝป้›ชๅ‡ฝๆ•ฐ</strong></span></a></h2><p>่ฝป้›ชๅ‡ฝๆ•ฐ Liteyuki Function ๆ˜ฏ่ฝป้›ช็š„ไธ€ไธชๅŠŸ่ƒฝ๏ผŒๅฎƒๅ…่ฎธไฝ ๅœจ่ฝป้›ชไธญ่ฟ่กŒไธ€ไบ›่‡ชๅฎšไน‰็š„็”ฑๆ•ฐๆฎ้ฉฑๅŠจ็š„ๅ‘ฝไปค๏ผŒ็ฑปไผผไบŽMinecraft็š„mcfunction๏ผŒๅฑžไบŽ่ต„ๆบๅŒ…็š„ไธ€้ƒจๅˆ†๏ผŒไฝ†้œ€ๅ•็‹ฌ่ตท็ฏ‡ๅน….</p><h3 id="ๅ‡ฝๆ•ฐๆ–‡ไปถ" tabindex="-1"><a class="header-anchor" href="#ๅ‡ฝๆ•ฐๆ–‡ไปถ"><span><strong>ๅ‡ฝๆ•ฐๆ–‡ไปถ</strong></span></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-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># ๅœจๅ‘ไฟกๅ™จ่พ“ๅ‡บ&quot;hello world&quot;</span>
cmd <span class="token builtin class-name">echo</span> hello world
<span class="token comment"># ๅฆ‚ๆžœไฝ ๆƒณๅŒๆ—ถ่พ“ๅ‡บๅคš่กŒๅ†…ๅฎนๅฏไปฅๅฐ่ฏ•ๆข่กŒ็ฌฆ(Pythonๆ ผๅผ)</span>

View File

@ -1,4 +1,4 @@
import{_ as n,o as s,c as a,e}from"./app-DOGtdh9N.js";const t={},p=e(`<h2 id="็ฎ€ไป‹" tabindex="-1"><a class="header-anchor" href="#็ฎ€ไป‹"><span>็ฎ€ไป‹</span></a></h2><p>่ฝป้›ชๆ’ไปถๆ˜ฏ่ฝป้›ชๅ†…็ฝฎ็š„ไธ€้ƒจๅˆ†ๅŠŸ่ƒฝ๏ผŒ่ฟ่กŒๅœจไธป่ฟ›็จ‹ไธญ๏ผŒๅฏไปฅๅพˆ้ซ˜็จ‹ๅบฆๅœฐๆ‰ฉๅฑ•่ฝป้›ช็š„ๅŠŸ่ƒฝ</p><h2 id="ๅผ€ๅง‹" tabindex="-1"><a class="header-anchor" href="#ๅผ€ๅง‹"><span>ๅผ€ๅง‹</span></a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1"><a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ"><span>ๅˆ›ๅปบๆ’ไปถ</span></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 line-numbers-mode" data-ext="py" data-title="py"><pre class="language-python"><code><span class="token keyword">from</span> liteyuki<span class="token punctuation">.</span>plugin <span class="token keyword">import</span> PluginMetadata<span class="token punctuation">,</span> PluginType
import{_ as n,o as s,c as a,e}from"./app-0e_4pVFu.js";const t={},p=e(`<h2 id="็ฎ€ไป‹" tabindex="-1"><a class="header-anchor" href="#็ฎ€ไป‹"><span>็ฎ€ไป‹</span></a></h2><p>่ฝป้›ชๆ’ไปถๆ˜ฏ่ฝป้›ชๅ†…็ฝฎ็š„ไธ€้ƒจๅˆ†ๅŠŸ่ƒฝ๏ผŒ่ฟ่กŒๅœจไธป่ฟ›็จ‹ไธญ๏ผŒๅฏไปฅๅพˆ้ซ˜็จ‹ๅบฆๅœฐๆ‰ฉๅฑ•่ฝป้›ช็š„ๅŠŸ่ƒฝ</p><h2 id="ๅผ€ๅง‹" tabindex="-1"><a class="header-anchor" href="#ๅผ€ๅง‹"><span>ๅผ€ๅง‹</span></a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1"><a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ"><span>ๅˆ›ๅปบๆ’ไปถ</span></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 line-numbers-mode" data-ext="py" data-title="py"><pre class="language-python"><code><span class="token keyword">from</span> liteyuki<span class="token punctuation">.</span>plugin <span class="token keyword">import</span> PluginMetadata<span class="token punctuation">,</span> PluginType
<span class="token keyword">from</span> <span class="token punctuation">.</span>watch_dog <span class="token keyword">import</span> <span class="token operator">*</span> <span class="token comment"># ๅฏผๅ…ฅ้€ป่พ‘้ƒจๅˆ†</span>
<span class="token comment"># ๅฎšไน‰ๆ’ไปถๅ…ƒๆ•ฐๆฎ</span>

View File

@ -1,4 +1,4 @@
import{_ as n,o as s,c as a,e}from"./app-DOGtdh9N.js";const t={},o=e(`<h2 id="็ฎ€ไป‹" tabindex="-1"><a class="header-anchor" href="#็ฎ€ไป‹"><span>็ฎ€ไป‹</span></a></h2><p>่ฝป้›ชๆ’ไปถๆ˜ฏ่ฝป้›ชๅ†…็ฝฎ็š„ไธ€้ƒจๅˆ†ๅŠŸ่ƒฝ๏ผŒ่ฟ่กŒๅœจไธป่ฟ›็จ‹ไธญ๏ผŒๅฏไปฅๅพˆ้ซ˜็จ‹ๅบฆๅœฐๆ‰ฉๅฑ•่ฝป้›ช็š„ๅŠŸ่ƒฝ</p><h2 id="ๅผ€ๅง‹" tabindex="-1"><a class="header-anchor" href="#ๅผ€ๅง‹"><span>ๅผ€ๅง‹</span></a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1"><a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ"><span>ๅˆ›ๅปบๆ’ไปถ</span></a></h3><p>ๅœจๆ ‡ๅ‡†้กน็›ฎไธญ๏ผŒไฝไบŽliteyuki/pluginsๅ’Œsrc/liteyuki_pluginsไธ‹็š„Python modulesๅ‡ไผš่ขซๅฝ“ไฝœๆ’ไปถๅŠ ่ฝฝ๏ผŒไฝ ๅฏ่‡ช่กŒๆทปๅŠ ้…็ฝฎๆ–‡ไปถไปฅๆŒ‡ๅฎšๆ’ไปถ็š„ๅŠ ่ฝฝ่ทฏๅพ„ ไธ€ไธช<code>.py</code>ๆ–‡ไปถๆˆ–ไธ€ไธชๅŒ…ๅซ<code>__init__.py</code>็š„ๆ–‡ไปถๅคนๅณๅฏ่ขซ่ฏ†ๅˆซไธบๆ’ไปถ ๅˆ›ๅปบไธ€ไธชๆ–‡ไปถๅคน๏ผŒไพ‹ๅฆ‚<code>watchdog_plugin</code>๏ผŒๅนถๅœจๅ…ถไธญๅˆ›ๅปบไธ€ไธช<code>__init__.py</code>ๆ–‡ไปถ๏ผŒๅณๅฏๅˆ›ๅปบไธ€ไธชๆ’ไปถ</p><div class="language-python line-numbers-mode" data-ext="py" data-title="py"><pre class="language-python"><code><span class="token keyword">from</span> liteyuki<span class="token punctuation">.</span>plugin <span class="token keyword">import</span> PluginMetadata
import{_ as n,o as s,c as a,e}from"./app-0e_4pVFu.js";const t={},o=e(`<h2 id="็ฎ€ไป‹" tabindex="-1"><a class="header-anchor" href="#็ฎ€ไป‹"><span>็ฎ€ไป‹</span></a></h2><p>่ฝป้›ชๆ’ไปถๆ˜ฏ่ฝป้›ชๅ†…็ฝฎ็š„ไธ€้ƒจๅˆ†ๅŠŸ่ƒฝ๏ผŒ่ฟ่กŒๅœจไธป่ฟ›็จ‹ไธญ๏ผŒๅฏไปฅๅพˆ้ซ˜็จ‹ๅบฆๅœฐๆ‰ฉๅฑ•่ฝป้›ช็š„ๅŠŸ่ƒฝ</p><h2 id="ๅผ€ๅง‹" tabindex="-1"><a class="header-anchor" href="#ๅผ€ๅง‹"><span>ๅผ€ๅง‹</span></a></h2><h3 id="ๅˆ›ๅปบๆ’ไปถ" tabindex="-1"><a class="header-anchor" href="#ๅˆ›ๅปบๆ’ไปถ"><span>ๅˆ›ๅปบๆ’ไปถ</span></a></h3><p>ๅœจๆ ‡ๅ‡†้กน็›ฎไธญ๏ผŒไฝไบŽliteyuki/pluginsๅ’Œsrc/liteyuki_pluginsไธ‹็š„Python modulesๅ‡ไผš่ขซๅฝ“ไฝœๆ’ไปถๅŠ ่ฝฝ๏ผŒไฝ ๅฏ่‡ช่กŒๆทปๅŠ ้…็ฝฎๆ–‡ไปถไปฅๆŒ‡ๅฎšๆ’ไปถ็š„ๅŠ ่ฝฝ่ทฏๅพ„ ไธ€ไธช<code>.py</code>ๆ–‡ไปถๆˆ–ไธ€ไธชๅŒ…ๅซ<code>__init__.py</code>็š„ๆ–‡ไปถๅคนๅณๅฏ่ขซ่ฏ†ๅˆซไธบๆ’ไปถ ๅˆ›ๅปบไธ€ไธชๆ–‡ไปถๅคน๏ผŒไพ‹ๅฆ‚<code>watchdog_plugin</code>๏ผŒๅนถๅœจๅ…ถไธญๅˆ›ๅปบไธ€ไธช<code>__init__.py</code>ๆ–‡ไปถ๏ผŒๅณๅฏๅˆ›ๅปบไธ€ไธชๆ’ไปถ</p><div class="language-python line-numbers-mode" data-ext="py" data-title="py"><pre class="language-python"><code><span class="token keyword">from</span> liteyuki<span class="token punctuation">.</span>plugin <span class="token keyword">import</span> PluginMetadata
<span class="token comment"># ๅฎšไน‰ๆ’ไปถๅ…ƒๆ•ฐๆฎ๏ผŒๆŽจ่ๅกซๅ†™</span>
__plugin_meta__ <span class="token operator">=</span> PluginMetadata<span class="token punctuation">(</span>

View File

@ -1,4 +1,4 @@
import{_ as a,r as s,o as l,c as o,b as e,a as c,w as i,d as t,e as d}from"./app-DOGtdh9N.js";const r={},p=e("h2",{id:"็ฎ€ไป‹",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#็ฎ€ไป‹"},[e("span",null,"็ฎ€ไป‹")])],-1),u=e("p",null,"่ต„ๆบๅŒ…,ไบฆๅฏๆ นๆฎ็”จ้€”็งฐไธบไธป้ข˜ๅŒ…ใ€ๅญ—ไฝ“ๅŒ…ใ€่ฏญ่จ€ๅŒ…็ญ‰๏ผŒๅฎƒๅ…่ฎธไฝ ไธ€ๅฎš็จ‹ๅบฆไธŠ่‡ชๅฎšไน‰่ฝป้›ช็š„ๅค–่ง‚,ๅนถไธ”ไธ็”จไฟฎๆ”นๆบไปฃ็ ",-1),m=e("li",null,[t("่ต„ๆบๅŒ…็š„ๅˆถไฝœๅพˆ็ฎ€ๅ•๏ผŒๅฆ‚ๆžœไฝ ๆŽฅ่งฆ่ฟ‡"),e("code",null,"Minecraft"),t("็š„่ต„ๆบๅŒ…๏ผŒ้‚ฃไนˆไฝ ่ƒฝๅคŸๅพˆๅฟซๅฐฑไธŠๆ‰‹๏ผŒไป…้œ€ๆŒ‰็…งๅŽŸๆœ‰่ทฏๅพ„่ฟ›่กŒๆ–‡ไปถๆ›ฟๆขๅณๅฏ๏ผŒ่ฎฒ่ตทๆ‰“ๅŒ…ๆˆไธ€ไธชๆ–ฐ็š„่ต„ๆบๅŒ…ใ€‚")],-1),h=e("li",null,[t("้ƒจๅˆ†ๅ†…ๅฎนๅˆถไฝœ้œ€่ฆไธ€็‚น็‚นๅ‰็ซฏๅŸบ็ก€,ไพ‹ๅฆ‚"),e("code",null,"html"),t("๏ผŒ"),e("code",null,"css")],-1),v=e("li",null,[t("่ฝป้›ชๅŽŸ็‰ˆ่ต„ๆบๅŒ…่ฏทๆŸฅ็œ‹"),e("code",null,"LiteyukiBot/liteyuki/resources"),t("๏ผŒๅฏไปฅๅœจๆญคๅŸบ็ก€ไธŠ่ฟ›่กŒไฟฎๆ”น")],-1),_=e("li",null,"ๆฌข่ฟŽๅ„ไฝๆŠ•็จฟ่ต„ๆบๅŒ…ๅˆฐ่ฝป้›ช่ต„ๆบๅ•†ๅบ—",-1),k=d(`<p>่ฏทๆณจๆ„๏ผŒไธป้ข˜ๅŒ…ไธญ็š„htmlๆธฒๆŸ“ไฝฟ็”จJsๆฅ่ง„ๅฎšๆ•ฐๆฎ็š„ๆธฒๆŸ“ไฝ็ฝฎ๏ผŒ่ฏท็กฎไฟๆ‚จๆ‰€็ผ–ๅ†™็š„htmlไปฃ็ ่ƒฝ่ขซBot่งฃๆž๏ผŒๅฆๅˆ™ไผšๅฏผ่‡ดๆธฒๆŸ“ๅคฑ่ดฅๆˆ–ๆธฒๆŸ“็ป“ๆžœไธ็†ๆƒณ/ๅผ‚ๅธธ/้”™ไฝ็ญ‰ๆ— ๆณ•้ข„ๆ–™็š„ไบ‹ๆƒ…ๅ‘็”Ÿใ€‚ๆŽจ่ๅœจ็ผ–ๅ†™htmlๆ—ถๅŒๆ—ถๆ›ดๆ”นๅฏนๅบ”Jsไปฃ็ ๏ผŒไปฅ้ฟๅ…ๅ‡บ็Žฐๆ— ๆณ•้ข„ๆ–™็š„้—ฎ้ข˜ใ€‚</p><hr><h2 id="ๅŠ ่ฝฝ่ต„ๆบๅŒ…" tabindex="-1"><a class="header-anchor" href="#ๅŠ ่ฝฝ่ต„ๆบๅŒ…"><span>ๅŠ ่ฝฝ่ต„ๆบๅŒ…</span></a></h2><ul><li>่ต„ๆบๅŒ…้€šๅธธๆ˜ฏไปฅ<code>.zip</code>ๆ ผๅผๅŽ‹็ผฉ็š„๏ผŒๅช้œ€่ฆๅฐ†ๅ…ถ่งฃๅŽ‹ๅˆฐๆ น็›ฎๅฝ•<code>resources</code>็›ฎๅฝ•ไธ‹ๅณๅฏ๏ผŒๆณจๆ„ไธ่ฆๅตŒๅฅ—ๆ–‡ไปถๅคน,ๆญฃๅธธ็š„่ทฏๅพ„ๅบ”่ฏฅๆ˜ฏ่ฟ™ๆ ท็š„</li></ul><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>main.py
import{_ as a,r as s,o as l,c as o,b as e,a as c,w as i,d as t,e as d}from"./app-0e_4pVFu.js";const r={},p=e("h2",{id:"็ฎ€ไป‹",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#็ฎ€ไป‹"},[e("span",null,"็ฎ€ไป‹")])],-1),u=e("p",null,"่ต„ๆบๅŒ…,ไบฆๅฏๆ นๆฎ็”จ้€”็งฐไธบไธป้ข˜ๅŒ…ใ€ๅญ—ไฝ“ๅŒ…ใ€่ฏญ่จ€ๅŒ…็ญ‰๏ผŒๅฎƒๅ…่ฎธไฝ ไธ€ๅฎš็จ‹ๅบฆไธŠ่‡ชๅฎšไน‰่ฝป้›ช็š„ๅค–่ง‚,ๅนถไธ”ไธ็”จไฟฎๆ”นๆบไปฃ็ ",-1),m=e("li",null,[t("่ต„ๆบๅŒ…็š„ๅˆถไฝœๅพˆ็ฎ€ๅ•๏ผŒๅฆ‚ๆžœไฝ ๆŽฅ่งฆ่ฟ‡"),e("code",null,"Minecraft"),t("็š„่ต„ๆบๅŒ…๏ผŒ้‚ฃไนˆไฝ ่ƒฝๅคŸๅพˆๅฟซๅฐฑไธŠๆ‰‹๏ผŒไป…้œ€ๆŒ‰็…งๅŽŸๆœ‰่ทฏๅพ„่ฟ›่กŒๆ–‡ไปถๆ›ฟๆขๅณๅฏ๏ผŒ่ฎฒ่ตทๆ‰“ๅŒ…ๆˆไธ€ไธชๆ–ฐ็š„่ต„ๆบๅŒ…ใ€‚")],-1),h=e("li",null,[t("้ƒจๅˆ†ๅ†…ๅฎนๅˆถไฝœ้œ€่ฆไธ€็‚น็‚นๅ‰็ซฏๅŸบ็ก€,ไพ‹ๅฆ‚"),e("code",null,"html"),t("๏ผŒ"),e("code",null,"css")],-1),v=e("li",null,[t("่ฝป้›ชๅŽŸ็‰ˆ่ต„ๆบๅŒ…่ฏทๆŸฅ็œ‹"),e("code",null,"LiteyukiBot/liteyuki/resources"),t("๏ผŒๅฏไปฅๅœจๆญคๅŸบ็ก€ไธŠ่ฟ›่กŒไฟฎๆ”น")],-1),_=e("li",null,"ๆฌข่ฟŽๅ„ไฝๆŠ•็จฟ่ต„ๆบๅŒ…ๅˆฐ่ฝป้›ช่ต„ๆบๅ•†ๅบ—",-1),k=d(`<p>่ฏทๆณจๆ„๏ผŒไธป้ข˜ๅŒ…ไธญ็š„htmlๆธฒๆŸ“ไฝฟ็”จJsๆฅ่ง„ๅฎšๆ•ฐๆฎ็š„ๆธฒๆŸ“ไฝ็ฝฎ๏ผŒ่ฏท็กฎไฟๆ‚จๆ‰€็ผ–ๅ†™็š„htmlไปฃ็ ่ƒฝ่ขซBot่งฃๆž๏ผŒๅฆๅˆ™ไผšๅฏผ่‡ดๆธฒๆŸ“ๅคฑ่ดฅๆˆ–ๆธฒๆŸ“็ป“ๆžœไธ็†ๆƒณ/ๅผ‚ๅธธ/้”™ไฝ็ญ‰ๆ— ๆณ•้ข„ๆ–™็š„ไบ‹ๆƒ…ๅ‘็”Ÿใ€‚ๆŽจ่ๅœจ็ผ–ๅ†™htmlๆ—ถๅŒๆ—ถๆ›ดๆ”นๅฏนๅบ”Jsไปฃ็ ๏ผŒไปฅ้ฟๅ…ๅ‡บ็Žฐๆ— ๆณ•้ข„ๆ–™็š„้—ฎ้ข˜ใ€‚</p><hr><h2 id="ๅŠ ่ฝฝ่ต„ๆบๅŒ…" tabindex="-1"><a class="header-anchor" href="#ๅŠ ่ฝฝ่ต„ๆบๅŒ…"><span>ๅŠ ่ฝฝ่ต„ๆบๅŒ…</span></a></h2><ul><li>่ต„ๆบๅŒ…้€šๅธธๆ˜ฏไปฅ<code>.zip</code>ๆ ผๅผๅŽ‹็ผฉ็š„๏ผŒๅช้œ€่ฆๅฐ†ๅ…ถ่งฃๅŽ‹ๅˆฐๆ น็›ฎๅฝ•<code>resources</code>็›ฎๅฝ•ไธ‹ๅณๅฏ๏ผŒๆณจๆ„ไธ่ฆๅตŒๅฅ—ๆ–‡ไปถๅคน,ๆญฃๅธธ็š„่ทฏๅพ„ๅบ”่ฏฅๆ˜ฏ่ฟ™ๆ ท็š„</li></ul><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>main.py
resources
โ””โ”€resource_pack_1
โ”œโ”€metadata.yml

View File

@ -1,4 +1,4 @@
import{_ as a,r as s,o as l,c as o,b as e,a as i,w as c,d as t,e as d}from"./app-DOGtdh9N.js";const r={},p=e("h2",{id:"็ฎ€ไป‹",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#็ฎ€ไป‹"},[e("span",null,"็ฎ€ไป‹")])],-1),u=e("p",null,"่ต„ๆบๅŒ…,ไบฆๅฏๆ นๆฎ็”จ้€”็งฐไธบไธป้ข˜ๅŒ…ใ€ๅญ—ไฝ“ๅŒ…ใ€่ฏญ่จ€ๅŒ…็ญ‰๏ผŒๅฎƒๅ…่ฎธไฝ ไธ€ๅฎš็จ‹ๅบฆไธŠ่‡ชๅฎšไน‰่ฝป้›ช็š„ๅค–่ง‚,ๅนถไธ”ไธ็”จไฟฎๆ”นๆบไปฃ็ ",-1),m=e("li",null,[t("่ต„ๆบๅŒ…็š„ๅˆถไฝœๅพˆ็ฎ€ๅ•๏ผŒๅฆ‚ๆžœไฝ ๆŽฅ่งฆ่ฟ‡"),e("code",null,"Minecraft"),t("็š„่ต„ๆบๅŒ…๏ผŒ้‚ฃไนˆไฝ ่ƒฝๅคŸๅพˆๅฟซๅฐฑไธŠๆ‰‹๏ผŒไป…้œ€ๆŒ‰็…งๅŽŸๆœ‰่ทฏๅพ„่ฟ›่กŒๆ–‡ไปถๆ›ฟๆขๅณๅฏ๏ผŒ่ฎฒ่ตทๆ‰“ๅŒ…ๆˆไธ€ไธชๆ–ฐ็š„่ต„ๆบๅŒ…ใ€‚")],-1),h=e("li",null,[t("้ƒจๅˆ†ๅ†…ๅฎนๅˆถไฝœ้œ€่ฆไธ€็‚น็‚นๅ‰็ซฏๅŸบ็ก€,ไพ‹ๅฆ‚"),e("code",null,"html"),t("๏ผŒ"),e("code",null,"css")],-1),v=e("li",null,[t("่ฝป้›ชๅŽŸ็‰ˆ่ต„ๆบๅŒ…่ฏทๆŸฅ็œ‹"),e("code",null,"LiteyukiBot/liteyuki/resources"),t("๏ผŒๅฏไปฅๅœจๆญคๅŸบ็ก€ไธŠ่ฟ›่กŒไฟฎๆ”น")],-1),_=e("li",null,"ๆฌข่ฟŽๅ„ไฝๆŠ•็จฟ่ต„ๆบๅŒ…ๅˆฐ่ฝป้›ช่ต„ๆบๅ•†ๅบ—",-1),k=d(`<p>่ฏทๆณจๆ„๏ผŒไธป้ข˜ๅŒ…ไธญ็š„htmlๆธฒๆŸ“ไฝฟ็”จJsๆฅ่ง„ๅฎšๆ•ฐๆฎ็š„ๆธฒๆŸ“ไฝ็ฝฎ๏ผŒ่ฏท็กฎไฟๆ‚จๆ‰€็ผ–ๅ†™็š„htmlไปฃ็ ่ƒฝ่ขซBot่งฃๆž๏ผŒๅฆๅˆ™ไผšๅฏผ่‡ดๆธฒๆŸ“ๅคฑ่ดฅๆˆ–ๆธฒๆŸ“็ป“ๆžœไธ็†ๆƒณ/ๅผ‚ๅธธ/้”™ไฝ็ญ‰ๆ— ๆณ•้ข„ๆ–™็š„ไบ‹ๆƒ…ๅ‘็”Ÿใ€‚ๆŽจ่ๅœจ็ผ–ๅ†™htmlๆ—ถๅŒๆ—ถๆ›ดๆ”นๅฏนๅบ”Jsไปฃ็ ๏ผŒไปฅ้ฟๅ…ๅ‡บ็Žฐๆ— ๆณ•้ข„ๆ–™็š„้—ฎ้ข˜ใ€‚</p><hr><h2 id="ๅŠ ่ฝฝ่ต„ๆบๅŒ…" tabindex="-1"><a class="header-anchor" href="#ๅŠ ่ฝฝ่ต„ๆบๅŒ…"><span>ๅŠ ่ฝฝ่ต„ๆบๅŒ…</span></a></h2><ul><li>่ต„ๆบๅŒ…้€šๅธธๆ˜ฏไปฅ<code>.zip</code>ๆ ผๅผๅŽ‹็ผฉ็š„๏ผŒๅช้œ€่ฆๅฐ†ๅ…ถ่งฃๅŽ‹ๅˆฐๆ น็›ฎๅฝ•<code>resources</code>็›ฎๅฝ•ไธ‹ๅณๅฏ๏ผŒๆณจๆ„ไธ่ฆๅตŒๅฅ—ๆ–‡ไปถๅคน,ๆญฃๅธธ็š„่ทฏๅพ„ๅบ”่ฏฅๆ˜ฏ่ฟ™ๆ ท็š„</li></ul><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>main.py
import{_ as a,r as s,o as l,c as o,b as e,a as i,w as c,d as t,e as d}from"./app-0e_4pVFu.js";const r={},p=e("h2",{id:"็ฎ€ไป‹",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#็ฎ€ไป‹"},[e("span",null,"็ฎ€ไป‹")])],-1),u=e("p",null,"่ต„ๆบๅŒ…,ไบฆๅฏๆ นๆฎ็”จ้€”็งฐไธบไธป้ข˜ๅŒ…ใ€ๅญ—ไฝ“ๅŒ…ใ€่ฏญ่จ€ๅŒ…็ญ‰๏ผŒๅฎƒๅ…่ฎธไฝ ไธ€ๅฎš็จ‹ๅบฆไธŠ่‡ชๅฎšไน‰่ฝป้›ช็š„ๅค–่ง‚,ๅนถไธ”ไธ็”จไฟฎๆ”นๆบไปฃ็ ",-1),m=e("li",null,[t("่ต„ๆบๅŒ…็š„ๅˆถไฝœๅพˆ็ฎ€ๅ•๏ผŒๅฆ‚ๆžœไฝ ๆŽฅ่งฆ่ฟ‡"),e("code",null,"Minecraft"),t("็š„่ต„ๆบๅŒ…๏ผŒ้‚ฃไนˆไฝ ่ƒฝๅคŸๅพˆๅฟซๅฐฑไธŠๆ‰‹๏ผŒไป…้œ€ๆŒ‰็…งๅŽŸๆœ‰่ทฏๅพ„่ฟ›่กŒๆ–‡ไปถๆ›ฟๆขๅณๅฏ๏ผŒ่ฎฒ่ตทๆ‰“ๅŒ…ๆˆไธ€ไธชๆ–ฐ็š„่ต„ๆบๅŒ…ใ€‚")],-1),h=e("li",null,[t("้ƒจๅˆ†ๅ†…ๅฎนๅˆถไฝœ้œ€่ฆไธ€็‚น็‚นๅ‰็ซฏๅŸบ็ก€,ไพ‹ๅฆ‚"),e("code",null,"html"),t("๏ผŒ"),e("code",null,"css")],-1),v=e("li",null,[t("่ฝป้›ชๅŽŸ็‰ˆ่ต„ๆบๅŒ…่ฏทๆŸฅ็œ‹"),e("code",null,"LiteyukiBot/liteyuki/resources"),t("๏ผŒๅฏไปฅๅœจๆญคๅŸบ็ก€ไธŠ่ฟ›่กŒไฟฎๆ”น")],-1),_=e("li",null,"ๆฌข่ฟŽๅ„ไฝๆŠ•็จฟ่ต„ๆบๅŒ…ๅˆฐ่ฝป้›ช่ต„ๆบๅ•†ๅบ—",-1),k=d(`<p>่ฏทๆณจๆ„๏ผŒไธป้ข˜ๅŒ…ไธญ็š„htmlๆธฒๆŸ“ไฝฟ็”จJsๆฅ่ง„ๅฎšๆ•ฐๆฎ็š„ๆธฒๆŸ“ไฝ็ฝฎ๏ผŒ่ฏท็กฎไฟๆ‚จๆ‰€็ผ–ๅ†™็š„htmlไปฃ็ ่ƒฝ่ขซBot่งฃๆž๏ผŒๅฆๅˆ™ไผšๅฏผ่‡ดๆธฒๆŸ“ๅคฑ่ดฅๆˆ–ๆธฒๆŸ“็ป“ๆžœไธ็†ๆƒณ/ๅผ‚ๅธธ/้”™ไฝ็ญ‰ๆ— ๆณ•้ข„ๆ–™็š„ไบ‹ๆƒ…ๅ‘็”Ÿใ€‚ๆŽจ่ๅœจ็ผ–ๅ†™htmlๆ—ถๅŒๆ—ถๆ›ดๆ”นๅฏนๅบ”Jsไปฃ็ ๏ผŒไปฅ้ฟๅ…ๅ‡บ็Žฐๆ— ๆณ•้ข„ๆ–™็š„้—ฎ้ข˜ใ€‚</p><hr><h2 id="ๅŠ ่ฝฝ่ต„ๆบๅŒ…" tabindex="-1"><a class="header-anchor" href="#ๅŠ ่ฝฝ่ต„ๆบๅŒ…"><span>ๅŠ ่ฝฝ่ต„ๆบๅŒ…</span></a></h2><ul><li>่ต„ๆบๅŒ…้€šๅธธๆ˜ฏไปฅ<code>.zip</code>ๆ ผๅผๅŽ‹็ผฉ็š„๏ผŒๅช้œ€่ฆๅฐ†ๅ…ถ่งฃๅŽ‹ๅˆฐๆ น็›ฎๅฝ•<code>resources</code>็›ฎๅฝ•ไธ‹ๅณๅฏ๏ผŒๆณจๆ„ไธ่ฆๅตŒๅฅ—ๆ–‡ไปถๅคน,ๆญฃๅธธ็š„่ทฏๅพ„ๅบ”่ฏฅๆ˜ฏ่ฟ™ๆ ท็š„</li></ul><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>main.py
resources
โ””โ”€resource_pack_1
โ”œโ”€metadata.yml

View File

@ -0,0 +1 @@
import{_ as t,o,c as n,b as e,d as a}from"./app-0e_4pVFu.js";const c={},i=e("h3",{id:"class-event",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-event"},[e("span",null,[e("em",null,[e("strong",null,"class")]),a(),e("code",null,"Event")])])],-1),l=e("p",null,"ไบ‹ไปถ็ฑป",-1),s=[i,l];function r(m,p){return o(),n("div",null,s)}const h=t(c,[["render",r],["__file","event.html.vue"]]),u=JSON.parse('{"path":"/dev/api/comm/event.html","title":"liteyuki.comm.event","lang":"zh-CN","frontmatter":{"title":"liteyuki.comm.event","order":1,"icon":"laptop-code","category":"API","description":"class Event ไบ‹ไปถ็ฑป","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/event.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.comm.event"}],["meta",{"property":"og:description","content":"class Event ไบ‹ไปถ็ฑป"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm.event\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Event","slug":"class-event","link":"#class-event","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":14},"filePathRelative":"dev/api/comm/event.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ","autoDesc":true}');export{h as comp,u as data};

View File

@ -0,0 +1 @@
import{_ as t,o,c as n,b as e,d as a}from"./app-0e_4pVFu.js";const i={},c=e("h3",{id:"class-event",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-event"},[e("span",null,[e("em",null,[e("strong",null,"class")]),a(),e("code",null,"Event")])])],-1),l=e("p",null,"ไบ‹ไปถ็ฑป",-1),s=[c,l];function r(m,p){return o(),n("div",null,s)}const u=t(i,[["render",r],["__file","event.html.vue"]]),v=JSON.parse('{"path":"/en/dev/api/liteyuki/comm/event.html","title":"liteyuki.comm.event","lang":"en-US","frontmatter":{"title":"liteyuki.comm.event","order":1,"icon":"laptop-code","category":"API","description":"class Event ไบ‹ไปถ็ฑป","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/comm/event.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.comm.event"}],["meta",{"property":"og:description","content":"class Event ไบ‹ไปถ็ฑป"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm.event\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Event","slug":"class-event","link":"#class-event","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":14},"filePathRelative":"en/dev/api/liteyuki/comm/event.md","localizedDate":"August 19, 2024","autoDesc":true}');export{u as comp,v as data};

View File

@ -0,0 +1 @@
import{_ as t,o as i,c as o,b as e,d as n}from"./app-0e_4pVFu.js";const c={},a=e("h3",{id:"class-liteyukiexception-baseexception",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-liteyukiexception-baseexception"},[e("span",null,[e("em",null,[e("strong",null,"class")]),n(),e("code",null,"LiteyukiException(BaseException)")])])],-1),p=e("p",null,"Liteyuki็š„ๅผ‚ๅธธๅŸบ็ฑปใ€‚",-1),s=[a,p];function l(r,d){return i(),o("div",null,s)}const m=t(c,[["render",l],["__file","exception.html.vue"]]),y=JSON.parse('{"path":"/en/dev/api/liteyuki/exception.html","title":"liteyuki.exception","lang":"en-US","frontmatter":{"title":"liteyuki.exception","order":1,"icon":"laptop-code","category":"API","description":"class LiteyukiException(BaseException) Liteyuki็š„ๅผ‚ๅธธๅŸบ็ฑปใ€‚","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/exception.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.exception"}],["meta",{"property":"og:description","content":"class LiteyukiException(BaseException) Liteyuki็š„ๅผ‚ๅธธๅŸบ็ฑปใ€‚"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.exception\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class LiteyukiException(BaseException)","slug":"class-liteyukiexception-baseexception","link":"#class-liteyukiexception-baseexception","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.06,"words":18},"filePathRelative":"en/dev/api/liteyuki/exception.md","localizedDate":"August 19, 2024","autoDesc":true}');export{m as comp,y as data};

View File

@ -0,0 +1 @@
import{_ as t,o as i,c as o,b as e,d as c}from"./app-0e_4pVFu.js";const n={},a=e("h3",{id:"class-liteyukiexception-baseexception",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-liteyukiexception-baseexception"},[e("span",null,[e("em",null,[e("strong",null,"class")]),c(),e("code",null,"LiteyukiException(BaseException)")])])],-1),p=e("p",null,"Liteyuki็š„ๅผ‚ๅธธๅŸบ็ฑปใ€‚",-1),s=[a,p];function l(r,d){return i(),o("div",null,s)}const u=t(n,[["render",l],["__file","exception.html.vue"]]),x=JSON.parse('{"path":"/dev/api/exception.html","title":"liteyuki.exception","lang":"zh-CN","frontmatter":{"title":"liteyuki.exception","order":1,"icon":"laptop-code","category":"API","description":"class LiteyukiException(BaseException) Liteyuki็š„ๅผ‚ๅธธๅŸบ็ฑปใ€‚","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/exception.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.exception"}],["meta",{"property":"og:description","content":"class LiteyukiException(BaseException) Liteyuki็š„ๅผ‚ๅธธๅŸบ็ฑปใ€‚"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.exception\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class LiteyukiException(BaseException)","slug":"class-liteyukiexception-baseexception","link":"#class-liteyukiexception-baseexception","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.06,"words":18},"filePathRelative":"dev/api/exception.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ","autoDesc":true}');export{u as comp,x as data};

View File

@ -1,4 +1,4 @@
import{_ as t,o as e,c as a,e as n}from"./app-DOGtdh9N.js";const s={},r=n(`<h2 id="ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค" tabindex="-1"><a class="header-anchor" href="#ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค"><span>ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค</span></a></h2><h3 id="่ฝป้›ชๅคฉๆฐ”liteyuki-weather" tabindex="-1"><a class="header-anchor" href="#่ฝป้›ชๅคฉๆฐ”liteyuki-weather"><span><strong>่ฝป้›ชๅคฉๆฐ”<code>liteyuki_weather</code></strong></span></a></h3><p>ๆŸฅ่ฏขๅฎžๆ—ถๅคฉๆฐ”๏ผŒๆ”ฏๆŒ็ป‘ๅฎšๅŸŽๅธ‚๏ผŒๆ”ฏๆŒไธญ่‹ฑๆ–‡ๅŸŽๅธ‚ๅ๏ผŒๆ”ฏๆŒๅคšไธชๅ…ณ้”ฎ่ฏๆŸฅ่ฏขใ€‚</p><p>้…็ฝฎ้กน</p><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">weather_key</span><span class="token punctuation">:</span> <span class="token string">&quot;&quot;</span> <span class="token comment"># ๅ’Œ้ฃŽๅคฉๆฐ”็š„ๅคฉๆฐ”key๏ผŒไผš่‡ชๅŠจๅˆคๆ–ญkey็‰ˆๆœฌ</span>
import{_ as t,o as e,c as a,e as n}from"./app-0e_4pVFu.js";const s={},r=n(`<h2 id="ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค" tabindex="-1"><a class="header-anchor" href="#ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค"><span>ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค</span></a></h2><h3 id="่ฝป้›ชๅคฉๆฐ”liteyuki-weather" tabindex="-1"><a class="header-anchor" href="#่ฝป้›ชๅคฉๆฐ”liteyuki-weather"><span><strong>่ฝป้›ชๅคฉๆฐ”<code>liteyuki_weather</code></strong></span></a></h3><p>ๆŸฅ่ฏขๅฎžๆ—ถๅคฉๆฐ”๏ผŒๆ”ฏๆŒ็ป‘ๅฎšๅŸŽๅธ‚๏ผŒๆ”ฏๆŒไธญ่‹ฑๆ–‡ๅŸŽๅธ‚ๅ๏ผŒๆ”ฏๆŒๅคšไธชๅ…ณ้”ฎ่ฏๆŸฅ่ฏขใ€‚</p><p>้…็ฝฎ้กน</p><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">weather_key</span><span class="token punctuation">:</span> <span class="token string">&quot;&quot;</span> <span class="token comment"># ๅ’Œ้ฃŽๅคฉๆฐ”็š„ๅคฉๆฐ”key๏ผŒไผš่‡ชๅŠจๅˆคๆ–ญkey็‰ˆๆœฌ</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><p>ๅ‘ฝไปค</p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>weather <span class="token operator">&lt;</span>keywords<span class="token punctuation">..</span>.<span class="token operator">&gt;</span> <span class="token comment"># KeywordsไธบๅŸŽๅธ‚ๅ๏ผŒๆ”ฏๆŒไธญ่‹ฑๆ–‡</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><p>ๆŸฅ่ฏข็›ฎๆ ‡ๅœฐๅฎžๆ—ถๅคฉๆฐ”๏ผŒไพ‹ๅฆ‚๏ผš&quot;ๅคฉๆฐ” ๅŒ—ไบฌ ๆตทๆท€&quot;, &quot;weather Tokyo Shinjuku&quot;</p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>bind-city <span class="token operator">&lt;</span>keywords<span class="token punctuation">..</span>.<span class="token operator">&gt;</span> <span class="token comment"># KeywordsไธบๅŸŽๅธ‚ๅ๏ผŒๆ”ฏๆŒไธญ่‹ฑๆ–‡</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><p>็ป‘ๅฎšๆŸฅ่ฏขๅŸŽๅธ‚๏ผŒไธชไบบๅ…จๅฑ€็”Ÿๆ•ˆ</p><h4 id="ๅ‘ฝไปคๅˆซๅ" tabindex="-1"><a class="header-anchor" href="#ๅ‘ฝไปคๅˆซๅ"><span>ๅ‘ฝไปคๅˆซๅ</span></a></h4><table><thead><tr><th style="text-align:center;">ๅ‘ฝไปค</th><th style="text-align:left;">ๅˆซๅ</th></tr></thead><tbody><tr><td style="text-align:center;">weather</td><td style="text-align:left;">ๅคฉๆฐ”</td></tr><tr><td style="text-align:center;">bind-city</td><td style="text-align:left;">็ป‘ๅฎšๅŸŽๅธ‚</td></tr></tbody></table><hr><h3 id="็ปŸ่ฎกไฟกๆฏliteyuki-statistics" tabindex="-1"><a class="header-anchor" href="#็ปŸ่ฎกไฟกๆฏliteyuki-statistics"><span><strong>็ปŸ่ฎกไฟกๆฏ<code>liteyuki_statistics</code></strong></span></a></h3><p>็ปŸ่ฎกไฟกๆฏ ๅ‘ฝไปค</p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>statistic message <span class="token parameter variable">--duration</span> <span class="token operator">&lt;</span>duration<span class="token operator">&gt;</span> <span class="token parameter variable">--period</span> <span class="token operator">&lt;</span>period<span class="token operator">&gt;</span> <span class="token parameter variable">--group</span> <span class="token punctuation">[</span>current<span class="token operator">|</span>group_id<span class="token punctuation">]</span> <span class="token parameter variable">--bot</span> <span class="token punctuation">[</span>current<span class="token operator">|</span>bot_id<span class="token punctuation">]</span>

View File

@ -1,4 +1,4 @@
import{_ as t,o as e,c as a,e as n}from"./app-DOGtdh9N.js";const s={},r=n(`<h2 id="ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค" tabindex="-1"><a class="header-anchor" href="#ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค"><span>ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค</span></a></h2><h3 id="่ฝป้›ชๅคฉๆฐ”liteyuki-weather" tabindex="-1"><a class="header-anchor" href="#่ฝป้›ชๅคฉๆฐ”liteyuki-weather"><span><strong>่ฝป้›ชๅคฉๆฐ”<code>liteyuki_weather</code></strong></span></a></h3><p>ๆŸฅ่ฏขๅฎžๆ—ถๅคฉๆฐ”๏ผŒๆ”ฏๆŒ็ป‘ๅฎšๅŸŽๅธ‚๏ผŒๆ”ฏๆŒไธญ่‹ฑๆ–‡ๅŸŽๅธ‚ๅ๏ผŒๆ”ฏๆŒๅคšไธชๅ…ณ้”ฎ่ฏๆŸฅ่ฏขใ€‚</p><p>้…็ฝฎ้กน</p><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">weather_key</span><span class="token punctuation">:</span> <span class="token string">&quot;&quot;</span> <span class="token comment"># ๅ’Œ้ฃŽๅคฉๆฐ”็š„ๅคฉๆฐ”key๏ผŒไผš่‡ชๅŠจๅˆคๆ–ญkey็‰ˆๆœฌ</span>
import{_ as t,o as e,c as a,e as n}from"./app-0e_4pVFu.js";const s={},r=n(`<h2 id="ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค" tabindex="-1"><a class="header-anchor" href="#ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค"><span>ๅŠŸ่ƒฝๆ’ไปถๅ‘ฝไปค</span></a></h2><h3 id="่ฝป้›ชๅคฉๆฐ”liteyuki-weather" tabindex="-1"><a class="header-anchor" href="#่ฝป้›ชๅคฉๆฐ”liteyuki-weather"><span><strong>่ฝป้›ชๅคฉๆฐ”<code>liteyuki_weather</code></strong></span></a></h3><p>ๆŸฅ่ฏขๅฎžๆ—ถๅคฉๆฐ”๏ผŒๆ”ฏๆŒ็ป‘ๅฎšๅŸŽๅธ‚๏ผŒๆ”ฏๆŒไธญ่‹ฑๆ–‡ๅŸŽๅธ‚ๅ๏ผŒๆ”ฏๆŒๅคšไธชๅ…ณ้”ฎ่ฏๆŸฅ่ฏขใ€‚</p><p>้…็ฝฎ้กน</p><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">weather_key</span><span class="token punctuation">:</span> <span class="token string">&quot;&quot;</span> <span class="token comment"># ๅ’Œ้ฃŽๅคฉๆฐ”็š„ๅคฉๆฐ”key๏ผŒไผš่‡ชๅŠจๅˆคๆ–ญkey็‰ˆๆœฌ</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><p>ๅ‘ฝไปค</p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>weather <span class="token operator">&lt;</span>keywords<span class="token punctuation">..</span>.<span class="token operator">&gt;</span> <span class="token comment"># KeywordsไธบๅŸŽๅธ‚ๅ๏ผŒๆ”ฏๆŒไธญ่‹ฑๆ–‡</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><p>ๆŸฅ่ฏข็›ฎๆ ‡ๅœฐๅฎžๆ—ถๅคฉๆฐ”๏ผŒไพ‹ๅฆ‚๏ผš&quot;ๅคฉๆฐ” ๅŒ—ไบฌ ๆตทๆท€&quot;, &quot;weather Tokyo Shinjuku&quot;</p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>bind-city <span class="token operator">&lt;</span>keywords<span class="token punctuation">..</span>.<span class="token operator">&gt;</span> <span class="token comment"># KeywordsไธบๅŸŽๅธ‚ๅ๏ผŒๆ”ฏๆŒไธญ่‹ฑๆ–‡</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><p>็ป‘ๅฎšๆŸฅ่ฏขๅŸŽๅธ‚๏ผŒไธชไบบๅ…จๅฑ€็”Ÿๆ•ˆ</p><h4 id="ๅ‘ฝไปคๅˆซๅ" tabindex="-1"><a class="header-anchor" href="#ๅ‘ฝไปคๅˆซๅ"><span>ๅ‘ฝไปคๅˆซๅ</span></a></h4><table><thead><tr><th style="text-align:center;">ๅ‘ฝไปค</th><th style="text-align:left;">ๅˆซๅ</th></tr></thead><tbody><tr><td style="text-align:center;">weather</td><td style="text-align:left;">ๅคฉๆฐ”</td></tr><tr><td style="text-align:center;">bind-city</td><td style="text-align:left;">็ป‘ๅฎšๅŸŽๅธ‚</td></tr></tbody></table><hr><h3 id="็ปŸ่ฎกไฟกๆฏliteyuki-statistics" tabindex="-1"><a class="header-anchor" href="#็ปŸ่ฎกไฟกๆฏliteyuki-statistics"><span><strong>็ปŸ่ฎกไฟกๆฏ<code>liteyuki_statistics</code></strong></span></a></h3><p>็ปŸ่ฎกไฟกๆฏ ๅ‘ฝไปค</p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>statistic message <span class="token parameter variable">--duration</span> <span class="token operator">&lt;</span>duration<span class="token operator">&gt;</span> <span class="token parameter variable">--period</span> <span class="token operator">&lt;</span>period<span class="token operator">&gt;</span> <span class="token parameter variable">--group</span> <span class="token punctuation">[</span>current<span class="token operator">|</span>group_id<span class="token punctuation">]</span> <span class="token parameter variable">--bot</span> <span class="token punctuation">[</span>current<span class="token operator">|</span>bot_id<span class="token punctuation">]</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

@ -0,0 +1 @@
import{_ as e,o as t,c as o}from"./app-0e_4pVFu.js";const i={};function a(m,c){return t(),o("div")}const n=e(i,[["render",a],["__file","index.html.vue"]]),p=JSON.parse('{"path":"/dev/api/comm/","title":"liteyuki.comm","lang":"zh-CN","frontmatter":{"title":"liteyuki.comm","index":true,"icon":"laptop-code","category":"API","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.comm"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/comm/README.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ"}');export{n as comp,p as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as n,c as r,a}from"./app-DOGtdh9N.js";const s={};function i(c,p){const e=o("Catalog");return n(),r("div",null,[a(e)])}const m=t(s,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/store/","title":"Extensions Store","lang":"en-US","frontmatter":{"title":"Extensions Store","index":false,"icon":"store","category":"store","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Extensions Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Extensions Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data};
import{_ as t,r as o,o as n,c as r,a}from"./app-0e_4pVFu.js";const s={};function i(c,p){const e=o("Catalog");return n(),r("div",null,[a(e)])}const m=t(s,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/store/","title":"Extensions Store","lang":"en-US","frontmatter":{"title":"Extensions Store","index":false,"icon":"store","category":"store","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Extensions Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Extensions Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as a,c as n,a as p}from"./app-DOGtdh9N.js";const r={};function l(c,i){const e=o("Catalog");return a(),n("div",null,[p(e)])}const s=t(r,[["render",l],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/deploy/","title":"Deploy","lang":"en-US","frontmatter":{"title":"Deploy","index":false,"icon":"laptop-code","category":"deploy","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Deploy"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Deploy\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/deploy/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data};
import{_ as t,r as o,o as a,c as n,a as p}from"./app-0e_4pVFu.js";const r={};function l(c,i){const e=o("Catalog");return a(),n("div",null,[p(e)])}const s=t(r,[["render",l],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/deploy/","title":"Deploy","lang":"en-US","frontmatter":{"title":"Deploy","index":false,"icon":"laptop-code","category":"deploy","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Deploy"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Deploy\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/deploy/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as n,c as a,a as r}from"./app-DOGtdh9N.js";const i={};function c(p,l){const e=o("Catalog");return n(),a("div",null,[r(e)])}const s=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/dev/","title":"Contribute","lang":"en-US","frontmatter":{"title":"Contribute","index":false,"icon":"laptop-code","category":"ๅผ€ๅ‘","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Contribute"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Contribute\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":12},"filePathRelative":"en/dev/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data};
import{_ as t,r as o,o as n,c as a,a as r}from"./app-0e_4pVFu.js";const i={};function c(p,l){const e=o("Catalog");return n(),a("div",null,[r(e)])}const s=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/dev/","title":"Contribute","lang":"en-US","frontmatter":{"title":"Contribute","index":false,"icon":"laptop-code","category":"ๅผ€ๅ‘","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Contribute"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Contribute\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":12},"filePathRelative":"en/dev/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as e,o as t,c as o}from"./app-0e_4pVFu.js";const a={};function i(n,r){return t(),o("div")}const c=e(a,[["render",i],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/dev/api/","title":"liteyuki","lang":"zh-CN","frontmatter":{"title":"liteyuki","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/README.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ"}');export{c as comp,l as data};

View File

@ -1 +1 @@
import{_ as e,o as t,c as o}from"./app-DOGtdh9N.js";const i={};function a(s,n){return t(),o("div")}const r=e(i,[["render",a],["__file","index.html.vue"]]),c=JSON.parse('{"path":"/en/","title":"Home","lang":"en-US","frontmatter":{"home":true,"icon":"home","title":"Home","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot A high-performance, easy-to-use chatbot framework and application","actions":[{"text":"Get Started","icon":"rocket","link":"./deploy/install.html","type":"primary"},{"text":"Usage","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"Simple and Efficient","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"Multi-Framework Support","icon":"robot","details":"Compatible with nonebot, melobot, etc., with good ecological support","link":"https://nonebot.dev/"},{"title":"Convenient Management","icon":"plug","details":"Use package manager to manage plugins and resource packs"},{"title":"Custom Themes Support","icon":"paint-brush","details":"Fully customize the appearance with resource packs","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"i18n","icon":"globe","details":"Support multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to Use","icon":"cog","details":"No need for cumbersome pre-processes, ready to use","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"High Performance","icon":"tachometer-alt","details":"500 plugins, start within 2s"},{"title":"Rolling Update","icon":"cloud-download","details":"Keep your bot up to date"},{"title":"OpenSource","icon":"code","details":"MIT LICENCE open source project, welcome your contribution"}]},{"header":"Quick Start","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"Install Git and Python3.10+ environment"},{"title":"Use <code>git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1</code> to clone the project locally"},{"title":"Use <code>cd LiteyukiBot</code> to change the directory to the project root"},{"title":"Use <code>pip install -r requirements.txt</code> install the project dependencies","details":"If you have multiple Python environments, please use <code>pythonx -m pip install -r requirements.txt</code>."},{"title":"Start bot with <code>python main.py</code>."}]}],"copyright":"ยฉ 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Home"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T20:50:27.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T20:50:27.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"Home\\"}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723841427000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2},{"name":"Snowykami","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":1,"words":300},"filePathRelative":"en/README.md","localizedDate":"August 16, 2024"}');export{r as comp,c as data};
import{_ as e,o as t,c as o}from"./app-0e_4pVFu.js";const i={};function a(s,n){return t(),o("div")}const r=e(i,[["render",a],["__file","index.html.vue"]]),c=JSON.parse('{"path":"/en/","title":"Home","lang":"en-US","frontmatter":{"home":true,"icon":"home","title":"Home","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot A high-performance, easy-to-use chatbot framework and application","actions":[{"text":"Get Started","icon":"rocket","link":"./deploy/install.html","type":"primary"},{"text":"Usage","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"Simple and Efficient","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"Multi-Framework Support","icon":"robot","details":"Compatible with nonebot, melobot, etc., with good ecological support","link":"https://nonebot.dev/"},{"title":"Convenient Management","icon":"plug","details":"Use package manager to manage plugins and resource packs"},{"title":"Custom Themes Support","icon":"paint-brush","details":"Fully customize the appearance with resource packs","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"i18n","icon":"globe","details":"Support multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to Use","icon":"cog","details":"No need for cumbersome pre-processes, ready to use","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"High Performance","icon":"tachometer-alt","details":"500 plugins, start within 2s"},{"title":"Rolling Update","icon":"cloud-download","details":"Keep your bot up to date"},{"title":"OpenSource","icon":"code","details":"MIT LICENCE open source project, welcome your contribution"}]},{"header":"Quick Start","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"Install Git and Python3.10+ environment"},{"title":"Use <code>git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1</code> to clone the project locally"},{"title":"Use <code>cd LiteyukiBot</code> to change the directory to the project root"},{"title":"Use <code>pip install -r requirements.txt</code> install the project dependencies","details":"If you have multiple Python environments, please use <code>pythonx -m pip install -r requirements.txt</code>."},{"title":"Start bot with <code>python main.py</code>."}]}],"copyright":"ยฉ 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Home"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T20:50:27.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T20:50:27.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"Home\\"}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723841427000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2},{"name":"Snowykami","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":1,"words":300},"filePathRelative":"en/README.md","localizedDate":"August 16, 2024"}');export{r as comp,c as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as a,c as n,a as r}from"./app-DOGtdh9N.js";const i={};function c(p,s){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/store/","title":"่ต„ๆบๅŠๆ’ไปถๅ•†ๅบ—","lang":"zh-CN","frontmatter":{"title":"่ต„ๆบๅŠๆ’ไปถๅ•†ๅบ—","index":false,"icon":"store","category":"ๅ•†ๅบ—","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"่ต„ๆบๅŠๆ’ไปถๅ•†ๅบ—"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"่ต„ๆบๅŠๆ’ไปถๅ•†ๅบ—\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":5}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"store/README.md","localizedDate":"2024ๅนด4ๆœˆ6ๆ—ฅ"}');export{m as comp,d as data};
import{_ as t,r as o,o as a,c as n,a as r}from"./app-0e_4pVFu.js";const i={};function c(p,s){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/store/","title":"่ต„ๆบๅŠๆ’ไปถๅ•†ๅบ—","lang":"zh-CN","frontmatter":{"title":"่ต„ๆบๅŠๆ’ไปถๅ•†ๅบ—","index":false,"icon":"store","category":"ๅ•†ๅบ—","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"่ต„ๆบๅŠๆ’ไปถๅ•†ๅบ—"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"่ต„ๆบๅŠๆ’ไปถๅ•†ๅบ—\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":5}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"store/README.md","localizedDate":"2024ๅนด4ๆœˆ6ๆ—ฅ"}');export{m as comp,d as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as a,c as n,a as r}from"./app-DOGtdh9N.js";const c={};function p(s,i){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(c,[["render",p],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/usage/","title":"Usage","lang":"en-US","frontmatter":{"title":"Usage","index":false,"icon":"laptop-code","category":"usage","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Usage"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Usage\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/usage/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data};
import{_ as t,r as o,o as a,c as n,a as r}from"./app-0e_4pVFu.js";const c={};function p(s,i){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(c,[["render",p],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/usage/","title":"Usage","lang":"en-US","frontmatter":{"title":"Usage","index":false,"icon":"laptop-code","category":"usage","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Usage"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Usage\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/usage/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data};

View File

@ -0,0 +1,2 @@
import{_ as t,o as i,c as n,b as e,d as l}from"./app-0e_4pVFu.js";const o={},d=e("h3",{id:"def-get-loaded-plugins-dict-str-plugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-get-loaded-plugins-dict-str-plugin"},[e("span",null,[e("em",null,[e("strong",null,"def")]),l(),e("code",null,"get_loaded_plugins() -> dict[str, Plugin]")])])],-1),a=e("p",null,"่Žทๅ–ๅทฒๅŠ ่ฝฝ็š„ๆ’ไปถ",-1),r=e("p",null,"Returns:",-1),s=e("pre",null,[e("code",null,`dict[str, Plugin]: ๆ’ไปถๅญ—ๅ…ธ
`)],-1),p=[d,a,r,s];function c(u,g){return i(),n("div",null,p)}const _=t(o,[["render",c],["__file","index.html.vue"]]),h=JSON.parse('{"path":"/en/dev/api/liteyuki/plugin/","title":"liteyuki.plugin","lang":"en-US","frontmatter":{"title":"liteyuki.plugin","index":true,"icon":"laptop-code","category":"API","description":"def get_loaded_plugins() -> dict[str, Plugin] ่Žทๅ–ๅทฒๅŠ ่ฝฝ็š„ๆ’ไปถ Returns:","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/plugin/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.plugin"}],["meta",{"property":"og:description","content":"def get_loaded_plugins() -> dict[str, Plugin] ่Žทๅ–ๅทฒๅŠ ่ฝฝ็š„ๆ’ไปถ Returns:"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def get_loaded_plugins() -> dict[str, Plugin]","slug":"def-get-loaded-plugins-dict-str-plugin","link":"#def-get-loaded-plugins-dict-str-plugin","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.1,"words":30},"filePathRelative":"en/dev/api/liteyuki/plugin/README.md","localizedDate":"August 19, 2024","autoDesc":true}');export{_ as comp,h as data};

View File

@ -0,0 +1 @@
import{_ as e,o as t,c as o}from"./app-0e_4pVFu.js";const i={};function r(a,c){return t(),o("div")}const p=e(i,[["render",r],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/dev/api/core/","title":"liteyuki.core","lang":"zh-CN","frontmatter":{"title":"liteyuki.core","index":true,"icon":"laptop-code","category":"API","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/core/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.core"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.core\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/core/README.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ"}');export{p as comp,m as data};

View File

@ -0,0 +1 @@
import{_ as e,o as t,c as o}from"./app-0e_4pVFu.js";const i={};function a(n,r){return t(),o("div")}const c=e(i,[["render",a],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/dev/api/liteyuki/dev/","title":"liteyuki.dev","lang":"en-US","frontmatter":{"title":"liteyuki.dev","index":true,"icon":"laptop-code","category":"API","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.dev"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/liteyuki/dev/README.md","localizedDate":"August 19, 2024"}');export{c as comp,d as data};

View File

@ -0,0 +1 @@
import{_ as t,r as o,o as a,c as n,a as p}from"./app-0e_4pVFu.js";const r={};function i(s,c){const e=o("Catalog");return a(),n("div",null,[p(e)])}const m=t(r,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/dev/api/","title":"Api","lang":"zh-CN","frontmatter":{"title":"Api","article":false,"feed":false,"sitemap":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"Api"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"Api\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0,"words":1},"filePathRelative":null}');export{m as comp,d as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as a,c as n,a as r}from"./app-DOGtdh9N.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/deploy/","title":"้กน็›ฎ้ƒจ็ฝฒ","lang":"zh-CN","frontmatter":{"title":"้กน็›ฎ้ƒจ็ฝฒ","index":false,"icon":"laptop-code","category":"้ƒจ็ฝฒ","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"้กน็›ฎ้ƒจ็ฝฒ"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"้กน็›ฎ้ƒจ็ฝฒ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deploy/README.md","localizedDate":"2024ๅนด8ๆœˆ16ๆ—ฅ"}');export{s as comp,d as data};
import{_ as t,r as o,o as a,c as n,a as r}from"./app-0e_4pVFu.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/deploy/","title":"้กน็›ฎ้ƒจ็ฝฒ","lang":"zh-CN","frontmatter":{"title":"้กน็›ฎ้ƒจ็ฝฒ","index":false,"icon":"laptop-code","category":"้ƒจ็ฝฒ","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"้กน็›ฎ้ƒจ็ฝฒ"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"้กน็›ฎ้ƒจ็ฝฒ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deploy/README.md","localizedDate":"2024ๅนด8ๆœˆ16ๆ—ฅ"}');export{s as comp,d as data};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as e,o as t,c as o}from"./app-0e_4pVFu.js";const i={};function a(n,r){return t(),o("div")}const c=e(i,[["render",a],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/en/dev/api/liteyuki/","title":"liteyuki","lang":"en-US","frontmatter":{"title":"liteyuki","index":true,"icon":"laptop-code","category":"API","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/liteyuki/README.md","localizedDate":"August 19, 2024"}');export{c as comp,l as data};

View File

@ -0,0 +1 @@
import{_ as e,o as t,c as o}from"./app-0e_4pVFu.js";const i={};function a(m,n){return t(),o("div")}const r=e(i,[["render",a],["__file","index.html.vue"]]),p=JSON.parse('{"path":"/en/dev/api/liteyuki/comm/","title":"liteyuki.comm","lang":"en-US","frontmatter":{"title":"liteyuki.comm","index":true,"icon":"laptop-code","category":"API","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/comm/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.comm"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/liteyuki/comm/README.md","localizedDate":"August 19, 2024"}');export{r as comp,p as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as a,c as n,a as r}from"./app-DOGtdh9N.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/dev/","title":"ๅผ€ๅ‘ๅŠ่ดก็Œฎ","lang":"zh-CN","frontmatter":{"title":"ๅผ€ๅ‘ๅŠ่ดก็Œฎ","index":false,"icon":"laptop-code","category":"ๅผ€ๅ‘","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"ๅผ€ๅ‘ๅŠ่ดก็Œฎ"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ๅผ€ๅ‘ๅŠ่ดก็Œฎ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723411596000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"dev/README.md","localizedDate":"2024ๅนด8ๆœˆ11ๆ—ฅ"}');export{s as comp,d as data};
import{_ as t,r as o,o as a,c as n,a as r}from"./app-0e_4pVFu.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/dev/","title":"ๅผ€ๅ‘ๅŠ่ดก็Œฎ","lang":"zh-CN","frontmatter":{"title":"ๅผ€ๅ‘ๅŠ่ดก็Œฎ","index":false,"icon":"laptop-code","category":"ๅผ€ๅ‘","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"ๅผ€ๅ‘ๅŠ่ดก็Œฎ"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ๅผ€ๅ‘ๅŠ่ดก็Œฎ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723411596000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"dev/README.md","localizedDate":"2024ๅนด8ๆœˆ11ๆ—ฅ"}');export{s as comp,d as data};

View File

@ -1 +1 @@
import{_ as e,o as t,c as o}from"./app-DOGtdh9N.js";const i={};function a(s,l){return t(),o("div")}const c=e(i,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"้ฆ–้กต","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"้ฆ–้กต","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ๏ผŒ็ปผๅˆๆ€ง็š„ๆœบๅ™จไบบๅบ”็”จๅŠ็ฎก็†ๆก†ๆžถ","actions":[{"text":"ๅฟซ้€Ÿ้ƒจ็ฝฒ","icon":"rocket","link":"./deploy/install.html","type":"primary"},{"text":"ไฝฟ็”จๆ‰‹ๅ†Œ","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"็ฎ€ๆด่‡ณไธŠ","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"ๆ”ฏๆŒๅคš็งๆก†ๆžถ","icon":"robot","details":"ๅ…ผๅฎนnonebot๏ผŒmelobot็ญ‰๏ผŒๆ‹ฅๆœ‰่‰ฏๅฅฝ็š„็”Ÿๆ€ๆ”ฏๆŒ","link":"https://nonebot.dev/"},{"title":"ไพฟๆท็ฎก็†","icon":"plug","details":"ไฝฟ็”จๅŒ…็ฎก็†ๅ™จ๏ผŒไพฟๆท็ฎก็†ๆ’ไปถๅŠ่ต„ๆบๅŒ…"},{"title":"ไธป้ข˜ๆ”ฏๆŒ","icon":"paint-brush","details":"ไฝฟ็”จ่ต„ๆบๅŒ…ๅฏนๅค–่ง‚่ฟ›่กŒๅฎŒๅ…จ่‡ชๅฎšไน‰","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"ๅ›ฝ้™…ๅŒ–","icon":"globe","details":"้€š่ฟ‡่ต„ๆบๅŒ…ๆ”ฏๆŒๅคš็ง่ฏญ่จ€","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"็ฎ€ๆ˜“ไฝฟ็”จ","icon":"cog","details":"ๆ— ้œ€็น็ๅ‰ๆœŸ่ฟ‡็จ‹๏ผŒๅผ€็ฎฑๅณ็”จ","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"่ถ…้ซ˜ๆ€ง่ƒฝ","icon":"tachometer-alt","details":"500ไธชๆ’ไปถ๏ผŒ2sๅ†…ๅฏๅŠจ"},{"title":"ๆปšๅŠจๆ›ดๆ–ฐ","icon":"cloud-download","details":"่ฎฉไฝ ็š„ๆœบๅ™จไบบไฟๆŒๆœ€ๆ–ฐๆไบค"},{"title":"ๅผ€ๆบ้กน็›ฎ","icon":"code","details":"้กน็›ฎ้ตๅพชMIT LICENCEๅผ€ๆบ๏ผŒๆฌข่ฟŽๅ„ไฝ็š„่ดก็Œฎ"}]},{"header":"ๅฟซ้€Ÿ้ƒจ็ฝฒ","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"ๅฎ‰่ฃ… Git ๅŠ Python3.10+"},{"title":"ไฝฟ็”จ <code>git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1</code> ไปฅๅ…‹้š†้กน็›ฎ่‡ณๆœฌๅœฐใ€‚","details":"ๅฆ‚ๆžœๆ— ๆณ•่ฟžๆŽฅๅˆฐGitHub๏ผŒๅฏไปฅไฝฟ็”จ <code>git clone https://gitee.com/snowykami/LiteyukiBot --depth=1</code>ใ€‚"},{"title":"ไฝฟ็”จ <code>cd LiteyukiBot</code> ๅˆ‡ๆขๅˆฐ้กน็›ฎ็›ฎๅฝ•ใ€‚"},{"title":"ไฝฟ็”จ <code>pip install -r requirements.txt</code> ๅฎ‰่ฃ…้กน็›ฎไพ่ต–ใ€‚","details":"ๅฆ‚ๆžœไฝ ๆœ‰ๅคšไธช Python ็Žฏๅขƒ๏ผŒ่ฏทไฝฟ็”จ <code>pythonx -m pip install -r requirements.txt</code>ใ€‚"},{"title":"ไฝฟ็”จ <code>python main.py</code> ๅฏๅŠจ้กน็›ฎใ€‚"}]}],"copyright":"ยฉ 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"้ฆ–้กต"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-18T15:43:48.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-18T15:43:48.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"้ฆ–้กต\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1723995828000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":43},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.37,"words":411},"filePathRelative":"README.md","localizedDate":"2024ๅนด3ๆœˆ26ๆ—ฅ"}');export{c as comp,m as data};
import{_ as e,o as t,c as o}from"./app-0e_4pVFu.js";const i={};function a(s,l){return t(),o("div")}const c=e(i,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"้ฆ–้กต","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"้ฆ–้กต","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ๏ผŒ็ปผๅˆๆ€ง็š„ๆœบๅ™จไบบๅบ”็”จๅŠ็ฎก็†ๆก†ๆžถ","actions":[{"text":"ๅฟซ้€Ÿ้ƒจ็ฝฒ","icon":"rocket","link":"./deploy/install.html","type":"primary"},{"text":"ไฝฟ็”จๆ‰‹ๅ†Œ","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"็ฎ€ๆด่‡ณไธŠ","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"ๆ”ฏๆŒๅคš็งๆก†ๆžถ","icon":"robot","details":"ๅ…ผๅฎนnonebot๏ผŒmelobot็ญ‰๏ผŒๆ‹ฅๆœ‰่‰ฏๅฅฝ็š„็”Ÿๆ€ๆ”ฏๆŒ","link":"https://nonebot.dev/"},{"title":"ไพฟๆท็ฎก็†","icon":"plug","details":"ไฝฟ็”จๅŒ…็ฎก็†ๅ™จ๏ผŒไพฟๆท็ฎก็†ๆ’ไปถๅŠ่ต„ๆบๅŒ…"},{"title":"ไธป้ข˜ๆ”ฏๆŒ","icon":"paint-brush","details":"ไฝฟ็”จ่ต„ๆบๅŒ…ๅฏนๅค–่ง‚่ฟ›่กŒๅฎŒๅ…จ่‡ชๅฎšไน‰","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"ๅ›ฝ้™…ๅŒ–","icon":"globe","details":"้€š่ฟ‡่ต„ๆบๅŒ…ๆ”ฏๆŒๅคš็ง่ฏญ่จ€","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"็ฎ€ๆ˜“ไฝฟ็”จ","icon":"cog","details":"ๆ— ้œ€็น็ๅ‰ๆœŸ่ฟ‡็จ‹๏ผŒๅผ€็ฎฑๅณ็”จ","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"่ถ…้ซ˜ๆ€ง่ƒฝ","icon":"tachometer-alt","details":"500ไธชๆ’ไปถ๏ผŒ2sๅ†…ๅฏๅŠจ"},{"title":"ๆปšๅŠจๆ›ดๆ–ฐ","icon":"cloud-download","details":"่ฎฉไฝ ็š„ๆœบๅ™จไบบไฟๆŒๆœ€ๆ–ฐๆไบค"},{"title":"ๅผ€ๆบ้กน็›ฎ","icon":"code","details":"้กน็›ฎ้ตๅพชMIT LICENCEๅผ€ๆบ๏ผŒๆฌข่ฟŽๅ„ไฝ็š„่ดก็Œฎ"}]},{"header":"ๅฟซ้€Ÿ้ƒจ็ฝฒ","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"ๅฎ‰่ฃ… Git ๅŠ Python3.10+"},{"title":"ไฝฟ็”จ <code>git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1</code> ไปฅๅ…‹้š†้กน็›ฎ่‡ณๆœฌๅœฐใ€‚","details":"ๅฆ‚ๆžœๆ— ๆณ•่ฟžๆŽฅๅˆฐGitHub๏ผŒๅฏไปฅไฝฟ็”จ <code>git clone https://gitee.com/snowykami/LiteyukiBot --depth=1</code>ใ€‚"},{"title":"ไฝฟ็”จ <code>cd LiteyukiBot</code> ๅˆ‡ๆขๅˆฐ้กน็›ฎ็›ฎๅฝ•ใ€‚"},{"title":"ไฝฟ็”จ <code>pip install -r requirements.txt</code> ๅฎ‰่ฃ…้กน็›ฎไพ่ต–ใ€‚","details":"ๅฆ‚ๆžœไฝ ๆœ‰ๅคšไธช Python ็Žฏๅขƒ๏ผŒ่ฏทไฝฟ็”จ <code>pythonx -m pip install -r requirements.txt</code>ใ€‚"},{"title":"ไฝฟ็”จ <code>python main.py</code> ๅฏๅŠจ้กน็›ฎใ€‚"}]}],"copyright":"ยฉ 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"้ฆ–้กต"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-18T15:43:48.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-18T15:43:48.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"้ฆ–้กต\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1723995828000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":43},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.37,"words":411},"filePathRelative":"README.md","localizedDate":"2024ๅนด3ๆœˆ26ๆ—ฅ"}');export{c as comp,m as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as a,c as n,a as r}from"./app-DOGtdh9N.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/usage/","title":"ไฝฟ็”จๆ‰‹ๅ†Œ","lang":"zh-CN","frontmatter":{"title":"ไฝฟ็”จๆ‰‹ๅ†Œ","index":false,"icon":"laptop-code","category":"ไฝฟ็”จๆ‰‹ๅ†Œ","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"ไฝฟ็”จๆ‰‹ๅ†Œ"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ไฝฟ็”จๆ‰‹ๅ†Œ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024ๅนด3ๆœˆ28ๆ—ฅ"}');export{m as comp,d as data};
import{_ as t,r as o,o as a,c as n,a as r}from"./app-0e_4pVFu.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/usage/","title":"ไฝฟ็”จๆ‰‹ๅ†Œ","lang":"zh-CN","frontmatter":{"title":"ไฝฟ็”จๆ‰‹ๅ†Œ","index":false,"icon":"laptop-code","category":"ไฝฟ็”จๆ‰‹ๅ†Œ","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"ไฝฟ็”จๆ‰‹ๅ†Œ"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ไฝฟ็”จๆ‰‹ๅ†Œ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024ๅนด3ๆœˆ28ๆ—ฅ"}');export{m as comp,d as data};

View File

@ -0,0 +1 @@
import{_ as e,o as t,c as o}from"./app-0e_4pVFu.js";const i={};function r(a,n){return t(),o("div")}const p=e(i,[["render",r],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/en/dev/api/liteyuki/core/","title":"liteyuki.core","lang":"en-US","frontmatter":{"title":"liteyuki.core","index":true,"icon":"laptop-code","category":"API","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/core/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.core"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.core\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/liteyuki/core/README.md","localizedDate":"August 19, 2024"}');export{p as comp,l as data};

View File

@ -0,0 +1 @@
import{_ as e,o as t,c as o}from"./app-0e_4pVFu.js";const i={};function a(r,n){return t(),o("div")}const c=e(i,[["render",a],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/dev/api/dev/","title":"liteyuki.dev","lang":"zh-CN","frontmatter":{"title":"liteyuki.dev","index":true,"icon":"laptop-code","category":"API","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.dev"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/dev/README.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ"}');export{c as comp,d as data};

View File

@ -0,0 +1,2 @@
import{_ as t,o as i,c as n,b as e,d as o}from"./app-0e_4pVFu.js";const l={},d=e("h3",{id:"def-get-loaded-plugins-dict-str-plugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-get-loaded-plugins-dict-str-plugin"},[e("span",null,[e("em",null,[e("strong",null,"def")]),o(),e("code",null,"get_loaded_plugins() -> dict[str, Plugin]")])])],-1),a=e("p",null,"่Žทๅ–ๅทฒๅŠ ่ฝฝ็š„ๆ’ไปถ",-1),r=e("p",null,"Returns:",-1),s=e("pre",null,[e("code",null,`dict[str, Plugin]: ๆ’ไปถๅญ—ๅ…ธ
`)],-1),p=[d,a,r,s];function c(u,g){return i(),n("div",null,p)}const _=t(l,[["render",c],["__file","index.html.vue"]]),h=JSON.parse('{"path":"/dev/api/plugin/","title":"liteyuki.plugin","lang":"zh-CN","frontmatter":{"title":"liteyuki.plugin","index":true,"icon":"laptop-code","category":"API","description":"def get_loaded_plugins() -> dict[str, Plugin] ่Žทๅ–ๅทฒๅŠ ่ฝฝ็š„ๆ’ไปถ Returns:","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.plugin"}],["meta",{"property":"og:description","content":"def get_loaded_plugins() -> dict[str, Plugin] ่Žทๅ–ๅทฒๅŠ ่ฝฝ็š„ๆ’ไปถ Returns:"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def get_loaded_plugins() -> dict[str, Plugin]","slug":"def-get-loaded-plugins-dict-str-plugin","link":"#def-get-loaded-plugins-dict-str-plugin","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.1,"words":30},"filePathRelative":"dev/api/plugin/README.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ","autoDesc":true}');export{_ as comp,h as data};

View File

@ -1,4 +1,4 @@
import{_ as s,r as a,o as l,c as r,b as e,d as t,a as o,e as i}from"./app-DOGtdh9N.js";const c={},d=e("h2",{id:"installation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#installation"},[e("span",null,[e("strong",null,"Installation")])])],-1),p=e("h3",{id:"conventional-deployment",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#conventional-deployment"},[e("span",null,[e("strong",null,"Conventional deployment")])])],-1),u={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),y=i(`<div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># Clone the project locally, --depth=1 to reduce the size of the cloned repository, this project updates depend on Git</span>
import{_ as s,r as a,o as l,c as r,b as e,d as t,a as o,e as i}from"./app-0e_4pVFu.js";const c={},d=e("h2",{id:"installation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#installation"},[e("span",null,[e("strong",null,"Installation")])])],-1),p=e("h3",{id:"conventional-deployment",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#conventional-deployment"},[e("span",null,[e("strong",null,"Conventional deployment")])])],-1),u={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),y=i(`<div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># Clone the project locally, --depth=1 to reduce the size of the cloned repository, this project updates depend on Git</span>
<span class="token function">git</span> clone https://github.com/LiteyukiStudio/LiteyukiBot <span class="token parameter variable">--depth</span><span class="token operator">=</span><span class="token number">1</span>
<span class="token comment"># change the directory to the project root</span>
<span class="token builtin class-name">cd</span> LiteyukiBot

View File

@ -1,4 +1,4 @@
import{_ as s,r as a,o as l,c,b as e,d as t,a as o,e as i}from"./app-DOGtdh9N.js";const r={},d=e("h2",{id:"ๅผ€ๅง‹ๅฎ‰่ฃ…",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ๅผ€ๅง‹ๅฎ‰่ฃ…"},[e("span",null,[e("strong",null,"ๅผ€ๅง‹ๅฎ‰่ฃ…")])])],-1),p=e("h3",{id:"ๅธธ่ง„้ƒจ็ฝฒ",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ๅธธ่ง„้ƒจ็ฝฒ"},[e("span",null,[e("strong",null,"ๅธธ่ง„้ƒจ็ฝฒ")])])],-1),h={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},u=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),_=i(`<div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># ๅ…‹้š†้กน็›ฎๅˆฐๆœฌๅœฐ๏ผŒ่ฝป้›ชไฝฟ็”จGit่ฟ›่กŒ็‰ˆๆœฌ็ฎก็†๏ผŒ่ฏฅๆญฅ้ชคไธบๅฟ…่ฆ้กน</span>
import{_ as s,r as a,o as l,c,b as e,d as t,a as o,e as i}from"./app-0e_4pVFu.js";const r={},d=e("h2",{id:"ๅผ€ๅง‹ๅฎ‰่ฃ…",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ๅผ€ๅง‹ๅฎ‰่ฃ…"},[e("span",null,[e("strong",null,"ๅผ€ๅง‹ๅฎ‰่ฃ…")])])],-1),p=e("h3",{id:"ๅธธ่ง„้ƒจ็ฝฒ",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ๅธธ่ง„้ƒจ็ฝฒ"},[e("span",null,[e("strong",null,"ๅธธ่ง„้ƒจ็ฝฒ")])])],-1),h={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},u=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),_=i(`<div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># ๅ…‹้š†้กน็›ฎๅˆฐๆœฌๅœฐ๏ผŒ่ฝป้›ชไฝฟ็”จGit่ฟ›่กŒ็‰ˆๆœฌ็ฎก็†๏ผŒ่ฏฅๆญฅ้ชคไธบๅฟ…่ฆ้กน</span>
<span class="token function">git</span> clone https://github.com/LiteyukiStudio/LiteyukiBot <span class="token parameter variable">--depth</span><span class="token operator">=</span><span class="token number">1</span>
<span class="token comment"># ๅˆ‡ๆขๅˆฐBot็›ฎๅฝ•ไธ‹</span>
<span class="token builtin class-name">cd</span> LiteyukiBot

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,11 @@
import{_ as e,o as t,c as p,e as a}from"./app-0e_4pVFu.js";const l={},n=a(`<h3 id="def-load-plugin-module-path-str-path-optional-plugin" tabindex="-1"><a class="header-anchor" href="#def-load-plugin-module-path-str-path-optional-plugin"><span><em><strong>def</strong></em> <code>load_plugin(module_path: str | Path) -&gt; Optional[Plugin]</code></span></a></h3><p>ๅŠ ่ฝฝๅ•ไธชๆ’ไปถ๏ผŒๅฏไปฅๆ˜ฏๆœฌๅœฐๆ’ไปถๆˆ–ๆ˜ฏ้€š่ฟ‡ <code>pip</code> ๅฎ‰่ฃ…็š„ๆ’ไปถใ€‚</p><p>ๅ‚ๆ•ฐ:</p><pre><code>module_path: ๆ’ไปถๅ็งฐ \`path.to.your.plugin\`
ๆˆ–ๆ’ไปถ่ทฏๅพ„ \`pathlib.Path(path/to/your/plugin)\`
</code></pre><h3 id="def-load-plugins-set-plugin" tabindex="-1"><a class="header-anchor" href="#def-load-plugins-set-plugin"><span><em><strong>def</strong></em> <code>load_plugins() -&gt; set[Plugin]</code></span></a></h3><p>ๅฏผๅ…ฅๆ–‡ไปถๅคนไธ‹ๅคšไธชๆ’ไปถ</p><p>ๅ‚ๆ•ฐ:</p><pre><code>plugin_dir: ๆ–‡ไปถๅคน่ทฏๅพ„
ignore_warning: ๆ˜ฏๅฆๅฟฝ็•ฅ่ญฆๅ‘Š๏ผŒ้€šๅธธๆ˜ฏ็›ฎๅฝ•ไธๅญ˜ๅœจๆˆ–็›ฎๅฝ•ไธบ็ฉบ
</code></pre><h3 id="def-format-display-name-display-name-str-plugin-type-plugintype-str" tabindex="-1"><a class="header-anchor" href="#def-format-display-name-display-name-str-plugin-type-plugintype-str"><span><em><strong>def</strong></em> <code>format_display_name(display_name: str, plugin_type: PluginType) -&gt; str</code></span></a></h3><p>่ฎพ็ฝฎๆ’ไปถๅ็งฐ้ขœ่‰ฒ๏ผŒๆ นๆฎไธๅŒ็ฑปๅž‹ๆ’ไปถ่ฎพ็ฝฎ้ขœ่‰ฒ</p><p>Args:</p><pre><code>display_name: ๆ’ไปถๅ็งฐ
plugin_type: ๆ’ไปถ็ฑปๅž‹
</code></pre><p>Returns:</p><pre><code>str: ่ฎพ็ฝฎๅŽ็š„ๆ’ไปถๅ็งฐ &lt;y&gt;name&lt;/y&gt;
</code></pre>`,14),i=[n];function o(d,r){return t(),p("div",null,i)}const u=e(l,[["render",o],["__file","load.html.vue"]]),g=JSON.parse('{"path":"/dev/api/plugin/load.html","title":"liteyuki.plugin.load","lang":"zh-CN","frontmatter":{"title":"liteyuki.plugin.load","order":1,"icon":"laptop-code","category":"API","description":"def load_plugin(module_path: str | Path) -> Optional[Plugin] ๅŠ ่ฝฝๅ•ไธชๆ’ไปถ๏ผŒๅฏไปฅๆ˜ฏๆœฌๅœฐๆ’ไปถๆˆ–ๆ˜ฏ้€š่ฟ‡ pip ๅฎ‰่ฃ…็š„ๆ’ไปถใ€‚ ๅ‚ๆ•ฐ: def load_plugins() -> set[Plugin] ๅฏผๅ…ฅๆ–‡ไปถๅคนไธ‹ๅคšไธชๆ’ไปถ ๅ‚ๆ•ฐ: def format_display_name(display_n...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/load.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.plugin.load"}],["meta",{"property":"og:description","content":"def load_plugin(module_path: str | Path) -> Optional[Plugin] ๅŠ ่ฝฝๅ•ไธชๆ’ไปถ๏ผŒๅฏไปฅๆ˜ฏๆœฌๅœฐๆ’ไปถๆˆ–ๆ˜ฏ้€š่ฟ‡ pip ๅฎ‰่ฃ…็š„ๆ’ไปถใ€‚ ๅ‚ๆ•ฐ: def load_plugins() -> set[Plugin] ๅฏผๅ…ฅๆ–‡ไปถๅคนไธ‹ๅคšไธชๆ’ไปถ ๅ‚ๆ•ฐ: def format_display_name(display_n..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.load\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def load_plugin(module_path: str | Path) -> Optional[Plugin]","slug":"def-load-plugin-module-path-str-path-optional-plugin","link":"#def-load-plugin-module-path-str-path-optional-plugin","children":[]},{"level":3,"title":"def load_plugins() -> set[Plugin]","slug":"def-load-plugins-set-plugin","link":"#def-load-plugins-set-plugin","children":[]},{"level":3,"title":"def format_display_name(display_name: str, plugin_type: PluginType) -> str","slug":"def-format-display-name-display-name-str-plugin-type-plugintype-str","link":"#def-format-display-name-display-name-str-plugin-type-plugintype-str","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.49,"words":147},"filePathRelative":"dev/api/plugin/load.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ","autoDesc":true}');export{u as comp,g as data};

View File

@ -0,0 +1,11 @@
import{_ as e,o as t,c as p,e as l}from"./app-0e_4pVFu.js";const a={},n=l(`<h3 id="def-load-plugin-module-path-str-path-optional-plugin" tabindex="-1"><a class="header-anchor" href="#def-load-plugin-module-path-str-path-optional-plugin"><span><em><strong>def</strong></em> <code>load_plugin(module_path: str | Path) -&gt; Optional[Plugin]</code></span></a></h3><p>ๅŠ ่ฝฝๅ•ไธชๆ’ไปถ๏ผŒๅฏไปฅๆ˜ฏๆœฌๅœฐๆ’ไปถๆˆ–ๆ˜ฏ้€š่ฟ‡ <code>pip</code> ๅฎ‰่ฃ…็š„ๆ’ไปถใ€‚</p><p>ๅ‚ๆ•ฐ:</p><pre><code>module_path: ๆ’ไปถๅ็งฐ \`path.to.your.plugin\`
ๆˆ–ๆ’ไปถ่ทฏๅพ„ \`pathlib.Path(path/to/your/plugin)\`
</code></pre><h3 id="def-load-plugins-set-plugin" tabindex="-1"><a class="header-anchor" href="#def-load-plugins-set-plugin"><span><em><strong>def</strong></em> <code>load_plugins() -&gt; set[Plugin]</code></span></a></h3><p>ๅฏผๅ…ฅๆ–‡ไปถๅคนไธ‹ๅคšไธชๆ’ไปถ</p><p>ๅ‚ๆ•ฐ:</p><pre><code>plugin_dir: ๆ–‡ไปถๅคน่ทฏๅพ„
ignore_warning: ๆ˜ฏๅฆๅฟฝ็•ฅ่ญฆๅ‘Š๏ผŒ้€šๅธธๆ˜ฏ็›ฎๅฝ•ไธๅญ˜ๅœจๆˆ–็›ฎๅฝ•ไธบ็ฉบ
</code></pre><h3 id="def-format-display-name-display-name-str-plugin-type-plugintype-str" tabindex="-1"><a class="header-anchor" href="#def-format-display-name-display-name-str-plugin-type-plugintype-str"><span><em><strong>def</strong></em> <code>format_display_name(display_name: str, plugin_type: PluginType) -&gt; str</code></span></a></h3><p>่ฎพ็ฝฎๆ’ไปถๅ็งฐ้ขœ่‰ฒ๏ผŒๆ นๆฎไธๅŒ็ฑปๅž‹ๆ’ไปถ่ฎพ็ฝฎ้ขœ่‰ฒ</p><p>Args:</p><pre><code>display_name: ๆ’ไปถๅ็งฐ
plugin_type: ๆ’ไปถ็ฑปๅž‹
</code></pre><p>Returns:</p><pre><code>str: ่ฎพ็ฝฎๅŽ็š„ๆ’ไปถๅ็งฐ &lt;y&gt;name&lt;/y&gt;
</code></pre>`,14),i=[n];function o(d,r){return t(),p("div",null,i)}const u=e(a,[["render",o],["__file","load.html.vue"]]),g=JSON.parse('{"path":"/en/dev/api/liteyuki/plugin/load.html","title":"liteyuki.plugin.load","lang":"en-US","frontmatter":{"title":"liteyuki.plugin.load","order":1,"icon":"laptop-code","category":"API","description":"def load_plugin(module_path: str | Path) -> Optional[Plugin] ๅŠ ่ฝฝๅ•ไธชๆ’ไปถ๏ผŒๅฏไปฅๆ˜ฏๆœฌๅœฐๆ’ไปถๆˆ–ๆ˜ฏ้€š่ฟ‡ pip ๅฎ‰่ฃ…็š„ๆ’ไปถใ€‚ ๅ‚ๆ•ฐ: def load_plugins() -> set[Plugin] ๅฏผๅ…ฅๆ–‡ไปถๅคนไธ‹ๅคšไธชๆ’ไปถ ๅ‚ๆ•ฐ: def format_display_name(display_n...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/plugin/load.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.plugin.load"}],["meta",{"property":"og:description","content":"def load_plugin(module_path: str | Path) -> Optional[Plugin] ๅŠ ่ฝฝๅ•ไธชๆ’ไปถ๏ผŒๅฏไปฅๆ˜ฏๆœฌๅœฐๆ’ไปถๆˆ–ๆ˜ฏ้€š่ฟ‡ pip ๅฎ‰่ฃ…็š„ๆ’ไปถใ€‚ ๅ‚ๆ•ฐ: def load_plugins() -> set[Plugin] ๅฏผๅ…ฅๆ–‡ไปถๅคนไธ‹ๅคšไธชๆ’ไปถ ๅ‚ๆ•ฐ: def format_display_name(display_n..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.load\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def load_plugin(module_path: str | Path) -> Optional[Plugin]","slug":"def-load-plugin-module-path-str-path-optional-plugin","link":"#def-load-plugin-module-path-str-path-optional-plugin","children":[]},{"level":3,"title":"def load_plugins() -> set[Plugin]","slug":"def-load-plugins-set-plugin","link":"#def-load-plugins-set-plugin","children":[]},{"level":3,"title":"def format_display_name(display_name: str, plugin_type: PluginType) -> str","slug":"def-format-display-name-display-name-str-plugin-type-plugintype-str","link":"#def-format-display-name-display-name-str-plugin-type-plugintype-str","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.49,"words":147},"filePathRelative":"en/dev/api/liteyuki/plugin/load.md","localizedDate":"August 19, 2024","autoDesc":true}');export{u as comp,g as data};

View File

@ -0,0 +1 @@
import{_ as e,o as t,c as o,e as i}from"./app-0e_4pVFu.js";const n={},r=i('<h3 id="def-get-format-level-str-str" tabindex="-1"><a class="header-anchor" href="#def-get-format-level-str-str"><span><em><strong>def</strong></em> <code>get_format(level: str) -&gt; str</code></span></a></h3><h3 id="def-init-log-config-dict-none" tabindex="-1"><a class="header-anchor" href="#def-init-log-config-dict-none"><span><em><strong>def</strong></em> <code>init_log(config: dict) -&gt; None</code></span></a></h3><p>ๅœจ่ฏญ่จ€ๅŠ ่ฝฝๅฎŒๆˆๅŽๆ‰ง่กŒ</p><p>Returns:</p>',4),l=[r];function a(c,d){return t(),o("div",null,l)}const g=e(n,[["render",a],["__file","log.html.vue"]]),p=JSON.parse('{"path":"/en/dev/api/liteyuki/log.html","title":"liteyuki.log","lang":"en-US","frontmatter":{"title":"liteyuki.log","order":1,"icon":"laptop-code","category":"API","description":"def get_format(level: str) -> str def init_log(config: dict) -> None ๅœจ่ฏญ่จ€ๅŠ ่ฝฝๅฎŒๆˆๅŽๆ‰ง่กŒ Returns:","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/log.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.log"}],["meta",{"property":"og:description","content":"def get_format(level: str) -> str def init_log(config: dict) -> None ๅœจ่ฏญ่จ€ๅŠ ่ฝฝๅฎŒๆˆๅŽๆ‰ง่กŒ Returns:"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.log\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def get_format(level: str) -> str","slug":"def-get-format-level-str-str","link":"#def-get-format-level-str-str","children":[]},{"level":3,"title":"def init_log(config: dict) -> None","slug":"def-init-log-config-dict-none","link":"#def-init-log-config-dict-none","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.1,"words":30},"filePathRelative":"en/dev/api/liteyuki/log.md","localizedDate":"August 19, 2024","autoDesc":true}');export{g as comp,p as data};

View File

@ -0,0 +1 @@
import{_ as e,o as t,c as o,e as i}from"./app-0e_4pVFu.js";const n={},r=i('<h3 id="def-get-format-level-str-str" tabindex="-1"><a class="header-anchor" href="#def-get-format-level-str-str"><span><em><strong>def</strong></em> <code>get_format(level: str) -&gt; str</code></span></a></h3><h3 id="def-init-log-config-dict-none" tabindex="-1"><a class="header-anchor" href="#def-init-log-config-dict-none"><span><em><strong>def</strong></em> <code>init_log(config: dict) -&gt; None</code></span></a></h3><p>ๅœจ่ฏญ่จ€ๅŠ ่ฝฝๅฎŒๆˆๅŽๆ‰ง่กŒ</p><p>Returns:</p>',4),l=[r];function a(c,d){return t(),o("div",null,l)}const g=e(n,[["render",a],["__file","log.html.vue"]]),p=JSON.parse('{"path":"/dev/api/log.html","title":"liteyuki.log","lang":"zh-CN","frontmatter":{"title":"liteyuki.log","order":1,"icon":"laptop-code","category":"API","description":"def get_format(level: str) -> str def init_log(config: dict) -> None ๅœจ่ฏญ่จ€ๅŠ ่ฝฝๅฎŒๆˆๅŽๆ‰ง่กŒ Returns:","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/log.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.log"}],["meta",{"property":"og:description","content":"def get_format(level: str) -> str def init_log(config: dict) -> None ๅœจ่ฏญ่จ€ๅŠ ่ฝฝๅฎŒๆˆๅŽๆ‰ง่กŒ Returns:"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.log\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def get_format(level: str) -> str","slug":"def-get-format-level-str-str","link":"#def-get-format-level-str-str","children":[]},{"level":3,"title":"def init_log(config: dict) -> None","slug":"def-init-log-config-dict-none","link":"#def-init-log-config-dict-none","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.1,"words":30},"filePathRelative":"dev/api/log.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ","autoDesc":true}');export{g as comp,p as data};

View File

@ -0,0 +1,11 @@
import{_ as e,o as a,c as n,e as t}from"./app-0e_4pVFu.js";const s={},r=t(`<h3 id="class-channeldeliver" tabindex="-1"><a class="header-anchor" href="#class-channeldeliver"><span><em><strong>class</strong></em> <code>ChannelDeliver</code></span></a></h3><h3 id="class-processmanager" tabindex="-1"><a class="header-anchor" href="#class-processmanager"><span><em><strong>class</strong></em> <code>ProcessManager</code></span></a></h3><p>่ฟ›็จ‹็ฎก็†ๅ™จ</p><h3 id="def-start-self-any-name-str-none" tabindex="-1"><a class="header-anchor" href="#def-start-self-any-name-str-none"><span>โ€ƒ <em><strong>def</strong></em> <code>start(self: Any, name: str) -&gt; None</code></span></a></h3><p>โ€ƒๅผ€ๅฏๅŽ่‡ชๅŠจ็›‘ๆŽง่ฟ›็จ‹๏ผŒๅนถๆทปๅŠ ๅˆฐ่ฟ›็จ‹ๅญ—ๅ…ธไธญ</p><p>Args:</p><pre><code>name:
</code></pre><p>Returns:</p><h3 id="def-start-all-self-any-none" tabindex="-1"><a class="header-anchor" href="#def-start-all-self-any-none"><span>โ€ƒ <em><strong>def</strong></em> <code>start_all(self: Any) -&gt; None</code></span></a></h3><p>โ€ƒๅฏๅŠจๆ‰€ๆœ‰่ฟ›็จ‹</p><h3 id="def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none" tabindex="-1"><a class="header-anchor" href="#def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none"><span>โ€ƒ <em><strong>def</strong></em> <code>add_target(self: Any, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -&gt; None</code></span></a></h3><p>โ€ƒๆทปๅŠ ่ฟ›็จ‹</p><p>Args:</p><pre><code>name: ่ฟ›็จ‹ๅ๏ผŒ็”จไบŽ่Žทๅ–ๅ’Œๅ”ฏไธ€ๆ ‡่ฏ†
target: ่ฟ›็จ‹ๅ‡ฝๆ•ฐ
args: ่ฟ›็จ‹ๅ‡ฝๆ•ฐๅ‚ๆ•ฐ
kwargs: ่ฟ›็จ‹ๅ‡ฝๆ•ฐๅ…ณ้”ฎๅญ—ๅ‚ๆ•ฐ๏ผŒ้€šๅธธไผš้ป˜่ฎคไผ ๅ…ฅchan_activeๅ’Œchan_passive
</code></pre><h3 id="def-join-all-self-any-none" tabindex="-1"><a class="header-anchor" href="#def-join-all-self-any-none"><span>โ€ƒ <em><strong>def</strong></em> <code>join_all(self: Any) -&gt; None</code></span></a></h3><p>โ€ƒ</p><h3 id="def-terminate-self-any-name-str-none" tabindex="-1"><a class="header-anchor" href="#def-terminate-self-any-name-str-none"><span>โ€ƒ <em><strong>def</strong></em> <code>terminate(self: Any, name: str) -&gt; None</code></span></a></h3><p>โ€ƒ็ปˆๆญข่ฟ›็จ‹ๅนถไปŽ่ฟ›็จ‹ๅญ—ๅ…ธไธญๅˆ ้™ค</p><p>Args:</p><pre><code>name:
</code></pre><p>Returns:</p><h3 id="def-terminate-all-self-any-none" tabindex="-1"><a class="header-anchor" href="#def-terminate-all-self-any-none"><span>โ€ƒ <em><strong>def</strong></em> <code>terminate_all(self: Any) -&gt; None</code></span></a></h3><p>โ€ƒ</p><h3 id="def-is-process-alive-self-any-name-str-bool" tabindex="-1"><a class="header-anchor" href="#def-is-process-alive-self-any-name-str-bool"><span>โ€ƒ <em><strong>def</strong></em> <code>is_process_alive(self: Any, name: str) -&gt; bool</code></span></a></h3><p>โ€ƒๆฃ€ๆŸฅ่ฟ›็จ‹ๆ˜ฏๅฆๅญ˜ๆดป</p><p>Args:</p><pre><code>name:
</code></pre><p>Returns:</p>`,28),l=[r];function o(d,c){return a(),n("div",null,l)}const f=e(s,[["render",o],["__file","manager.html.vue"]]),p=JSON.parse('{"path":"/dev/api/core/manager.html","title":"liteyuki.core.manager","lang":"zh-CN","frontmatter":{"title":"liteyuki.core.manager","order":1,"icon":"laptop-code","category":"API","description":"class ChannelDeliver class ProcessManager ่ฟ›็จ‹็ฎก็†ๅ™จ def start(self: Any, name: str) -> None ๅผ€ๅฏๅŽ่‡ชๅŠจ็›‘ๆŽง่ฟ›็จ‹๏ผŒๅนถๆทปๅŠ ๅˆฐ่ฟ›็จ‹ๅญ—ๅ…ธไธญ Args: Returns: def start_all(self: Any) -> None ๅฏๅŠจๆ‰€ๆœ‰่ฟ›็จ‹ def add_target...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/core/manager.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.core.manager"}],["meta",{"property":"og:description","content":"class ChannelDeliver class ProcessManager ่ฟ›็จ‹็ฎก็†ๅ™จ def start(self: Any, name: str) -> None ๅผ€ๅฏๅŽ่‡ชๅŠจ็›‘ๆŽง่ฟ›็จ‹๏ผŒๅนถๆทปๅŠ ๅˆฐ่ฟ›็จ‹ๅญ—ๅ…ธไธญ Args: Returns: def start_all(self: Any) -> None ๅฏๅŠจๆ‰€ๆœ‰่ฟ›็จ‹ def add_target..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.core.manager\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class ChannelDeliver","slug":"class-channeldeliver","link":"#class-channeldeliver","children":[]},{"level":3,"title":"class ProcessManager","slug":"class-processmanager","link":"#class-processmanager","children":[]},{"level":3,"title":"def start(self: Any, name: str) -> None","slug":"def-start-self-any-name-str-none","link":"#def-start-self-any-name-str-none","children":[]},{"level":3,"title":"def start_all(self: Any) -> None","slug":"def-start-all-self-any-none","link":"#def-start-all-self-any-none","children":[]},{"level":3,"title":"def add_target(self: Any, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -> None","slug":"def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none","link":"#def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none","children":[]},{"level":3,"title":"def join_all(self: Any) -> None","slug":"def-join-all-self-any-none","link":"#def-join-all-self-any-none","children":[]},{"level":3,"title":"def terminate(self: Any, name: str) -> None","slug":"def-terminate-self-any-name-str-none","link":"#def-terminate-self-any-name-str-none","children":[]},{"level":3,"title":"def terminate_all(self: Any) -> None","slug":"def-terminate-all-self-any-none","link":"#def-terminate-all-self-any-none","children":[]},{"level":3,"title":"def is_process_alive(self: Any, name: str) -> bool","slug":"def-is-process-alive-self-any-name-str-bool","link":"#def-is-process-alive-self-any-name-str-bool","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.62,"words":185},"filePathRelative":"dev/api/core/manager.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ","autoDesc":true}');export{f as comp,p as data};

View File

@ -0,0 +1 @@
import{_ as e,o as t,c as a}from"./app-0e_4pVFu.js";const i={};function o(n,r){return t(),a("div")}const m=e(i,[["render",o],["__file","manager.html.vue"]]),l=JSON.parse('{"path":"/en/dev/api/liteyuki/plugin/manager.html","title":"liteyuki.plugin.manager","lang":"en-US","frontmatter":{"title":"liteyuki.plugin.manager","order":1,"icon":"laptop-code","category":"API","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/plugin/manager.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.plugin.manager"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.manager\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/liteyuki/plugin/manager.md","localizedDate":"August 19, 2024"}');export{m as comp,l as data};

View File

@ -0,0 +1,11 @@
import{_ as e,o as a,c as n,e as t}from"./app-0e_4pVFu.js";const s={},r=t(`<h3 id="class-channeldeliver" tabindex="-1"><a class="header-anchor" href="#class-channeldeliver"><span><em><strong>class</strong></em> <code>ChannelDeliver</code></span></a></h3><h3 id="class-processmanager" tabindex="-1"><a class="header-anchor" href="#class-processmanager"><span><em><strong>class</strong></em> <code>ProcessManager</code></span></a></h3><p>่ฟ›็จ‹็ฎก็†ๅ™จ</p><h3 id="def-start-self-any-name-str-none" tabindex="-1"><a class="header-anchor" href="#def-start-self-any-name-str-none"><span>โ€ƒ <em><strong>def</strong></em> <code>start(self: Any, name: str) -&gt; None</code></span></a></h3><p>โ€ƒๅผ€ๅฏๅŽ่‡ชๅŠจ็›‘ๆŽง่ฟ›็จ‹๏ผŒๅนถๆทปๅŠ ๅˆฐ่ฟ›็จ‹ๅญ—ๅ…ธไธญ</p><p>Args:</p><pre><code>name:
</code></pre><p>Returns:</p><h3 id="def-start-all-self-any-none" tabindex="-1"><a class="header-anchor" href="#def-start-all-self-any-none"><span>โ€ƒ <em><strong>def</strong></em> <code>start_all(self: Any) -&gt; None</code></span></a></h3><p>โ€ƒๅฏๅŠจๆ‰€ๆœ‰่ฟ›็จ‹</p><h3 id="def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none" tabindex="-1"><a class="header-anchor" href="#def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none"><span>โ€ƒ <em><strong>def</strong></em> <code>add_target(self: Any, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -&gt; None</code></span></a></h3><p>โ€ƒๆทปๅŠ ่ฟ›็จ‹</p><p>Args:</p><pre><code>name: ่ฟ›็จ‹ๅ๏ผŒ็”จไบŽ่Žทๅ–ๅ’Œๅ”ฏไธ€ๆ ‡่ฏ†
target: ่ฟ›็จ‹ๅ‡ฝๆ•ฐ
args: ่ฟ›็จ‹ๅ‡ฝๆ•ฐๅ‚ๆ•ฐ
kwargs: ่ฟ›็จ‹ๅ‡ฝๆ•ฐๅ…ณ้”ฎๅญ—ๅ‚ๆ•ฐ๏ผŒ้€šๅธธไผš้ป˜่ฎคไผ ๅ…ฅchan_activeๅ’Œchan_passive
</code></pre><h3 id="def-join-all-self-any-none" tabindex="-1"><a class="header-anchor" href="#def-join-all-self-any-none"><span>โ€ƒ <em><strong>def</strong></em> <code>join_all(self: Any) -&gt; None</code></span></a></h3><p>โ€ƒ</p><h3 id="def-terminate-self-any-name-str-none" tabindex="-1"><a class="header-anchor" href="#def-terminate-self-any-name-str-none"><span>โ€ƒ <em><strong>def</strong></em> <code>terminate(self: Any, name: str) -&gt; None</code></span></a></h3><p>โ€ƒ็ปˆๆญข่ฟ›็จ‹ๅนถไปŽ่ฟ›็จ‹ๅญ—ๅ…ธไธญๅˆ ้™ค</p><p>Args:</p><pre><code>name:
</code></pre><p>Returns:</p><h3 id="def-terminate-all-self-any-none" tabindex="-1"><a class="header-anchor" href="#def-terminate-all-self-any-none"><span>โ€ƒ <em><strong>def</strong></em> <code>terminate_all(self: Any) -&gt; None</code></span></a></h3><p>โ€ƒ</p><h3 id="def-is-process-alive-self-any-name-str-bool" tabindex="-1"><a class="header-anchor" href="#def-is-process-alive-self-any-name-str-bool"><span>โ€ƒ <em><strong>def</strong></em> <code>is_process_alive(self: Any, name: str) -&gt; bool</code></span></a></h3><p>โ€ƒๆฃ€ๆŸฅ่ฟ›็จ‹ๆ˜ฏๅฆๅญ˜ๆดป</p><p>Args:</p><pre><code>name:
</code></pre><p>Returns:</p>`,28),l=[r];function o(d,i){return a(),n("div",null,l)}const f=e(s,[["render",o],["__file","manager.html.vue"]]),p=JSON.parse('{"path":"/en/dev/api/liteyuki/core/manager.html","title":"liteyuki.core.manager","lang":"en-US","frontmatter":{"title":"liteyuki.core.manager","order":1,"icon":"laptop-code","category":"API","description":"class ChannelDeliver class ProcessManager ่ฟ›็จ‹็ฎก็†ๅ™จ def start(self: Any, name: str) -> None ๅผ€ๅฏๅŽ่‡ชๅŠจ็›‘ๆŽง่ฟ›็จ‹๏ผŒๅนถๆทปๅŠ ๅˆฐ่ฟ›็จ‹ๅญ—ๅ…ธไธญ Args: Returns: def start_all(self: Any) -> None ๅฏๅŠจๆ‰€ๆœ‰่ฟ›็จ‹ def add_target...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/core/manager.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.core.manager"}],["meta",{"property":"og:description","content":"class ChannelDeliver class ProcessManager ่ฟ›็จ‹็ฎก็†ๅ™จ def start(self: Any, name: str) -> None ๅผ€ๅฏๅŽ่‡ชๅŠจ็›‘ๆŽง่ฟ›็จ‹๏ผŒๅนถๆทปๅŠ ๅˆฐ่ฟ›็จ‹ๅญ—ๅ…ธไธญ Args: Returns: def start_all(self: Any) -> None ๅฏๅŠจๆ‰€ๆœ‰่ฟ›็จ‹ def add_target..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.core.manager\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class ChannelDeliver","slug":"class-channeldeliver","link":"#class-channeldeliver","children":[]},{"level":3,"title":"class ProcessManager","slug":"class-processmanager","link":"#class-processmanager","children":[]},{"level":3,"title":"def start(self: Any, name: str) -> None","slug":"def-start-self-any-name-str-none","link":"#def-start-self-any-name-str-none","children":[]},{"level":3,"title":"def start_all(self: Any) -> None","slug":"def-start-all-self-any-none","link":"#def-start-all-self-any-none","children":[]},{"level":3,"title":"def add_target(self: Any, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -> None","slug":"def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none","link":"#def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none","children":[]},{"level":3,"title":"def join_all(self: Any) -> None","slug":"def-join-all-self-any-none","link":"#def-join-all-self-any-none","children":[]},{"level":3,"title":"def terminate(self: Any, name: str) -> None","slug":"def-terminate-self-any-name-str-none","link":"#def-terminate-self-any-name-str-none","children":[]},{"level":3,"title":"def terminate_all(self: Any) -> None","slug":"def-terminate-all-self-any-none","link":"#def-terminate-all-self-any-none","children":[]},{"level":3,"title":"def is_process_alive(self: Any, name: str) -> bool","slug":"def-is-process-alive-self-any-name-str-bool","link":"#def-is-process-alive-self-any-name-str-bool","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.62,"words":185},"filePathRelative":"en/dev/api/liteyuki/core/manager.md","localizedDate":"August 19, 2024","autoDesc":true}');export{f as comp,p as data};

View File

@ -0,0 +1 @@
import{_ as e,o as t,c as a}from"./app-0e_4pVFu.js";const o={};function i(n,r){return t(),a("div")}const m=e(o,[["render",i],["__file","manager.html.vue"]]),l=JSON.parse('{"path":"/dev/api/plugin/manager.html","title":"liteyuki.plugin.manager","lang":"zh-CN","frontmatter":{"title":"liteyuki.plugin.manager","order":1,"icon":"laptop-code","category":"API","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/manager.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.plugin.manager"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.manager\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/plugin/manager.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ"}');export{m as comp,l as data};

View File

@ -0,0 +1,8 @@
import{_ as e,o as t,c as a,e as l}from"./app-0e_4pVFu.js";const i={},n=l(`<h3 id="class-plugintype-enum" tabindex="-1"><a class="header-anchor" href="#class-plugintype-enum"><span><em><strong>class</strong></em> <code>PluginType(Enum)</code></span></a></h3><p>ๆ’ไปถ็ฑปๅž‹ๆžšไธพๅ€ผ</p><h3 id="attr-application-application" tabindex="-1"><a class="header-anchor" href="#attr-application-application"><span>โ€ƒ <em><strong>attr</strong></em> <code>APPLICATION: &#39;application&#39;</code></span></a></h3><h3 id="attr-service-service" tabindex="-1"><a class="header-anchor" href="#attr-service-service"><span>โ€ƒ <em><strong>attr</strong></em> <code>SERVICE: &#39;service&#39;</code></span></a></h3><h3 id="attr-implementation-implementation" tabindex="-1"><a class="header-anchor" href="#attr-implementation-implementation"><span>โ€ƒ <em><strong>attr</strong></em> <code>IMPLEMENTATION: &#39;implementation&#39;</code></span></a></h3><h3 id="attr-module-module" tabindex="-1"><a class="header-anchor" href="#attr-module-module"><span>โ€ƒ <em><strong>attr</strong></em> <code>MODULE: &#39;module&#39;</code></span></a></h3><h3 id="attr-unclassified-unclassified" tabindex="-1"><a class="header-anchor" href="#attr-unclassified-unclassified"><span>โ€ƒ <em><strong>attr</strong></em> <code>UNCLASSIFIED: &#39;unclassified&#39;</code></span></a></h3><h3 id="class-pluginmetadata-basemodel" tabindex="-1"><a class="header-anchor" href="#class-pluginmetadata-basemodel"><span><em><strong>class</strong></em> <code>PluginMetadata(BaseModel)</code></span></a></h3><p>่ฝป้›ชๆ’ไปถๅ…ƒๆ•ฐๆฎ๏ผŒ็”ฑๆ’ไปถ็ผ–ๅ†™่€…ๆไพ›๏ผŒnameไธบๅฟ…ๅกซ้กน</p><p>Attributes:</p><hr><p>name: str</p><pre><code>ๆ’ไปถๅ็งฐ
</code></pre><p>description: str</p><pre><code>ๆ’ไปถๆ่ฟฐ
</code></pre><p>usage: str</p><pre><code>ๆ’ไปถไฝฟ็”จๆ–นๆณ•
</code></pre><p>type: str</p><pre><code>ๆ’ไปถ็ฑปๅž‹
</code></pre><p>author: str</p><pre><code>ๆ’ไปถไฝœ่€…
</code></pre><p>homepage: str</p><pre><code>ๆ’ไปถไธป้กต
</code></pre><p>extra: dict[str, Any]</p><pre><code>้ขๅค–ไฟกๆฏ
</code></pre><h3 id="class-plugin-basemodel" tabindex="-1"><a class="header-anchor" href="#class-plugin-basemodel"><span><em><strong>class</strong></em> <code>Plugin(BaseModel)</code></span></a></h3><p>ๅญ˜ๅ‚จๆ’ไปถไฟกๆฏ</p><h3 id="attr-model-config-arbitrary-types-allowed-true" tabindex="-1"><a class="header-anchor" href="#attr-model-config-arbitrary-types-allowed-true"><span>โ€ƒ <em><strong>attr</strong></em> <code>model_config: {&#39;arbitrary_types_allowed&#39;: True}</code></span></a></h3>`,28),r=[n];function o(s,c){return t(),a("div",null,r)}const d=e(i,[["render",o],["__file","model.html.vue"]]),m=JSON.parse(`{"path":"/dev/api/plugin/model.html","title":"liteyuki.plugin.model","lang":"zh-CN","frontmatter":{"title":"liteyuki.plugin.model","order":1,"icon":"laptop-code","category":"API","description":"class PluginType(Enum) ๆ’ไปถ็ฑปๅž‹ๆžšไธพๅ€ผ attr APPLICATION: 'application' attr SERVICE: 'service' attr IMPLEMENTATION: 'implementation' attr MODULE: 'module' attr UNCLASSIFIED: 'unclassifi...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/model.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.plugin.model"}],["meta",{"property":"og:description","content":"class PluginType(Enum) ๆ’ไปถ็ฑปๅž‹ๆžšไธพๅ€ผ attr APPLICATION: 'application' attr SERVICE: 'service' attr IMPLEMENTATION: 'implementation' attr MODULE: 'module' attr UNCLASSIFIED: 'unclassifi..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.model\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class PluginType(Enum)","slug":"class-plugintype-enum","link":"#class-plugintype-enum","children":[]},{"level":3,"title":"attr APPLICATION: 'application'","slug":"attr-application-application","link":"#attr-application-application","children":[]},{"level":3,"title":"attr SERVICE: 'service'","slug":"attr-service-service","link":"#attr-service-service","children":[]},{"level":3,"title":"attr IMPLEMENTATION: 'implementation'","slug":"attr-implementation-implementation","link":"#attr-implementation-implementation","children":[]},{"level":3,"title":"attr MODULE: 'module'","slug":"attr-module-module","link":"#attr-module-module","children":[]},{"level":3,"title":"attr UNCLASSIFIED: 'unclassified'","slug":"attr-unclassified-unclassified","link":"#attr-unclassified-unclassified","children":[]},{"level":3,"title":"class PluginMetadata(BaseModel)","slug":"class-pluginmetadata-basemodel","link":"#class-pluginmetadata-basemodel","children":[]},{"level":3,"title":"class Plugin(BaseModel)","slug":"class-plugin-basemodel","link":"#class-plugin-basemodel","children":[]},{"level":3,"title":"attr model_config: {'arbitrary_types_allowed': True}","slug":"attr-model-config-arbitrary-types-allowed-true","link":"#attr-model-config-arbitrary-types-allowed-true","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.41,"words":123},"filePathRelative":"dev/api/plugin/model.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ","autoDesc":true}`);export{d as comp,m as data};

View File

@ -0,0 +1,8 @@
import{_ as e,o as t,c as a,e as i}from"./app-0e_4pVFu.js";const l={},n=i(`<h3 id="class-plugintype-enum" tabindex="-1"><a class="header-anchor" href="#class-plugintype-enum"><span><em><strong>class</strong></em> <code>PluginType(Enum)</code></span></a></h3><p>ๆ’ไปถ็ฑปๅž‹ๆžšไธพๅ€ผ</p><h3 id="attr-application-application" tabindex="-1"><a class="header-anchor" href="#attr-application-application"><span>โ€ƒ <em><strong>attr</strong></em> <code>APPLICATION: &#39;application&#39;</code></span></a></h3><h3 id="attr-service-service" tabindex="-1"><a class="header-anchor" href="#attr-service-service"><span>โ€ƒ <em><strong>attr</strong></em> <code>SERVICE: &#39;service&#39;</code></span></a></h3><h3 id="attr-implementation-implementation" tabindex="-1"><a class="header-anchor" href="#attr-implementation-implementation"><span>โ€ƒ <em><strong>attr</strong></em> <code>IMPLEMENTATION: &#39;implementation&#39;</code></span></a></h3><h3 id="attr-module-module" tabindex="-1"><a class="header-anchor" href="#attr-module-module"><span>โ€ƒ <em><strong>attr</strong></em> <code>MODULE: &#39;module&#39;</code></span></a></h3><h3 id="attr-unclassified-unclassified" tabindex="-1"><a class="header-anchor" href="#attr-unclassified-unclassified"><span>โ€ƒ <em><strong>attr</strong></em> <code>UNCLASSIFIED: &#39;unclassified&#39;</code></span></a></h3><h3 id="class-pluginmetadata-basemodel" tabindex="-1"><a class="header-anchor" href="#class-pluginmetadata-basemodel"><span><em><strong>class</strong></em> <code>PluginMetadata(BaseModel)</code></span></a></h3><p>่ฝป้›ชๆ’ไปถๅ…ƒๆ•ฐๆฎ๏ผŒ็”ฑๆ’ไปถ็ผ–ๅ†™่€…ๆไพ›๏ผŒnameไธบๅฟ…ๅกซ้กน</p><p>Attributes:</p><hr><p>name: str</p><pre><code>ๆ’ไปถๅ็งฐ
</code></pre><p>description: str</p><pre><code>ๆ’ไปถๆ่ฟฐ
</code></pre><p>usage: str</p><pre><code>ๆ’ไปถไฝฟ็”จๆ–นๆณ•
</code></pre><p>type: str</p><pre><code>ๆ’ไปถ็ฑปๅž‹
</code></pre><p>author: str</p><pre><code>ๆ’ไปถไฝœ่€…
</code></pre><p>homepage: str</p><pre><code>ๆ’ไปถไธป้กต
</code></pre><p>extra: dict[str, Any]</p><pre><code>้ขๅค–ไฟกๆฏ
</code></pre><h3 id="class-plugin-basemodel" tabindex="-1"><a class="header-anchor" href="#class-plugin-basemodel"><span><em><strong>class</strong></em> <code>Plugin(BaseModel)</code></span></a></h3><p>ๅญ˜ๅ‚จๆ’ไปถไฟกๆฏ</p><h3 id="attr-model-config-arbitrary-types-allowed-true" tabindex="-1"><a class="header-anchor" href="#attr-model-config-arbitrary-types-allowed-true"><span>โ€ƒ <em><strong>attr</strong></em> <code>model_config: {&#39;arbitrary_types_allowed&#39;: True}</code></span></a></h3>`,28),r=[n];function o(s,c){return t(),a("div",null,r)}const d=e(l,[["render",o],["__file","model.html.vue"]]),m=JSON.parse(`{"path":"/en/dev/api/liteyuki/plugin/model.html","title":"liteyuki.plugin.model","lang":"en-US","frontmatter":{"title":"liteyuki.plugin.model","order":1,"icon":"laptop-code","category":"API","description":"class PluginType(Enum) ๆ’ไปถ็ฑปๅž‹ๆžšไธพๅ€ผ attr APPLICATION: 'application' attr SERVICE: 'service' attr IMPLEMENTATION: 'implementation' attr MODULE: 'module' attr UNCLASSIFIED: 'unclassifi...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/plugin/model.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.plugin.model"}],["meta",{"property":"og:description","content":"class PluginType(Enum) ๆ’ไปถ็ฑปๅž‹ๆžšไธพๅ€ผ attr APPLICATION: 'application' attr SERVICE: 'service' attr IMPLEMENTATION: 'implementation' attr MODULE: 'module' attr UNCLASSIFIED: 'unclassifi..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.model\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class PluginType(Enum)","slug":"class-plugintype-enum","link":"#class-plugintype-enum","children":[]},{"level":3,"title":"attr APPLICATION: 'application'","slug":"attr-application-application","link":"#attr-application-application","children":[]},{"level":3,"title":"attr SERVICE: 'service'","slug":"attr-service-service","link":"#attr-service-service","children":[]},{"level":3,"title":"attr IMPLEMENTATION: 'implementation'","slug":"attr-implementation-implementation","link":"#attr-implementation-implementation","children":[]},{"level":3,"title":"attr MODULE: 'module'","slug":"attr-module-module","link":"#attr-module-module","children":[]},{"level":3,"title":"attr UNCLASSIFIED: 'unclassified'","slug":"attr-unclassified-unclassified","link":"#attr-unclassified-unclassified","children":[]},{"level":3,"title":"class PluginMetadata(BaseModel)","slug":"class-pluginmetadata-basemodel","link":"#class-pluginmetadata-basemodel","children":[]},{"level":3,"title":"class Plugin(BaseModel)","slug":"class-plugin-basemodel","link":"#class-plugin-basemodel","children":[]},{"level":3,"title":"attr model_config: {'arbitrary_types_allowed': True}","slug":"attr-model-config-arbitrary-types-allowed-true","link":"#attr-model-config-arbitrary-types-allowed-true","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.41,"words":123},"filePathRelative":"en/dev/api/liteyuki/plugin/model.md","localizedDate":"August 19, 2024","autoDesc":true}`);export{d as comp,m as data};

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 t,o as n,c as o,b as e,d as i}from"./app-0e_4pVFu.js";const l={},r=e("h3",{id:"def-run-plugins-none",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-run-plugins-none"},[e("span",null,[e("em",null,[e("strong",null,"def")]),i(),e("code",null,"run_plugins() -> None")])])],-1),p=e("p",null,"่ฟ่กŒๆ’ไปถ๏ผŒๆ— ้œ€ๆ‰‹ๅŠจๅˆๅง‹ๅŒ–bot",-1),a=e("p",null,"Args:",-1),d=e("pre",null,[e("code",null,"module_path: ๆ’ไปถ่ทฏๅพ„๏ผŒๅ‚่€ƒ`liteyuki.load_plugin`็š„ๅ‡ฝๆ•ฐ็ญพๅ\n")],-1),s=[r,p,a,d];function u(c,m){return n(),o("div",null,s)}const _=t(l,[["render",u],["__file","plugin.html.vue"]]),h=JSON.parse('{"path":"/dev/api/dev/plugin.html","title":"liteyuki.dev.plugin","lang":"zh-CN","frontmatter":{"title":"liteyuki.dev.plugin","order":1,"icon":"laptop-code","category":"API","description":"def run_plugins() -> None ่ฟ่กŒๆ’ไปถ๏ผŒๆ— ้œ€ๆ‰‹ๅŠจๅˆๅง‹ๅŒ–bot Args:","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/dev/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.dev.plugin"}],["meta",{"property":"og:description","content":"def run_plugins() -> None ่ฟ่กŒๆ’ไปถ๏ผŒๆ— ้œ€ๆ‰‹ๅŠจๅˆๅง‹ๅŒ–bot Args:"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev.plugin\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def run_plugins() -> None","slug":"def-run-plugins-none","link":"#def-run-plugins-none","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.13,"words":38},"filePathRelative":"dev/api/dev/plugin.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ","autoDesc":true}');export{_ as comp,h as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as n,c as r,a}from"./app-DOGtdh9N.js";const i={};function p(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(i,[["render",p],["__file","plugin.html.vue"]]),u=JSON.parse('{"path":"/en/store/plugin.html","title":"Plugin Store","lang":"en-US","frontmatter":{"title":"Plugin Store","icon":"plug","order":2,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Plugin Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Plugin Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/plugin.md","localizedDate":"August 16, 2024"}');export{s as comp,u as data};
import{_ as t,r as o,o as n,c as r,a}from"./app-0e_4pVFu.js";const i={};function p(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(i,[["render",p],["__file","plugin.html.vue"]]),u=JSON.parse('{"path":"/en/store/plugin.html","title":"Plugin Store","lang":"en-US","frontmatter":{"title":"Plugin Store","icon":"plug","order":2,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Plugin Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Plugin Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/plugin.md","localizedDate":"August 16, 2024"}');export{s as comp,u as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as n,c as r,a}from"./app-DOGtdh9N.js";const p={};function i(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(p,[["render",i],["__file","plugin.html.vue"]]),d=JSON.parse('{"path":"/store/plugin.html","title":"ๆ’ไปถๅ•†ๅบ—","lang":"zh-CN","frontmatter":{"title":"ๆ’ไปถๅ•†ๅบ—","icon":"plug","order":2,"category":"ไฝฟ็”จๆ‰‹ๅ†Œ","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"ๆ’ไปถๅ•†ๅบ—"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ๆ’ไปถๅ•†ๅบ—\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/plugin.md","localizedDate":"2024ๅนด4ๆœˆ19ๆ—ฅ"}');export{s as comp,d as data};
import{_ as t,r as o,o as n,c as r,a}from"./app-0e_4pVFu.js";const p={};function i(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(p,[["render",i],["__file","plugin.html.vue"]]),d=JSON.parse('{"path":"/store/plugin.html","title":"ๆ’ไปถๅ•†ๅบ—","lang":"zh-CN","frontmatter":{"title":"ๆ’ไปถๅ•†ๅบ—","icon":"plug","order":2,"category":"ไฝฟ็”จๆ‰‹ๅ†Œ","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"ๆ’ไปถๅ•†ๅบ—"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ๆ’ไปถๅ•†ๅบ—\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/plugin.md","localizedDate":"2024ๅนด4ๆœˆ19ๆ—ฅ"}');export{s as comp,d as data};

View File

@ -0,0 +1 @@
import{_ as t,o as n,c as o,b as e,d as i}from"./app-0e_4pVFu.js";const l={},r=e("h3",{id:"def-run-plugins-none",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-run-plugins-none"},[e("span",null,[e("em",null,[e("strong",null,"def")]),i(),e("code",null,"run_plugins() -> None")])])],-1),p=e("p",null,"่ฟ่กŒๆ’ไปถ๏ผŒๆ— ้œ€ๆ‰‹ๅŠจๅˆๅง‹ๅŒ–bot",-1),a=e("p",null,"Args:",-1),d=e("pre",null,[e("code",null,"module_path: ๆ’ไปถ่ทฏๅพ„๏ผŒๅ‚่€ƒ`liteyuki.load_plugin`็š„ๅ‡ฝๆ•ฐ็ญพๅ\n")],-1),u=[r,p,a,d];function s(c,m){return n(),o("div",null,u)}const _=t(l,[["render",s],["__file","plugin.html.vue"]]),h=JSON.parse('{"path":"/en/dev/api/liteyuki/dev/plugin.html","title":"liteyuki.dev.plugin","lang":"en-US","frontmatter":{"title":"liteyuki.dev.plugin","order":1,"icon":"laptop-code","category":"API","description":"def run_plugins() -> None ่ฟ่กŒๆ’ไปถ๏ผŒๆ— ้œ€ๆ‰‹ๅŠจๅˆๅง‹ๅŒ–bot Args:","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/dev/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.dev.plugin"}],["meta",{"property":"og:description","content":"def run_plugins() -> None ่ฟ่กŒๆ’ไปถ๏ผŒๆ— ้œ€ๆ‰‹ๅŠจๅˆๅง‹ๅŒ–bot Args:"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev.plugin\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def run_plugins() -> None","slug":"def-run-plugins-none","link":"#def-run-plugins-none","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.13,"words":38},"filePathRelative":"en/dev/api/liteyuki/dev/plugin.md","localizedDate":"August 19, 2024","autoDesc":true}');export{_ as comp,h as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as r,c as a,a as n}from"./app-DOGtdh9N.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),a("div",null,[n(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"่ต„ๆบๅ•†ๅบ—","lang":"zh-CN","frontmatter":{"title":"่ต„ๆบๅ•†ๅบ—","icon":"box","order":1,"category":"ไฝฟ็”จๆ‰‹ๅ†Œ","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"่ต„ๆบๅ•†ๅบ—"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-01T04:23:56.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-01T04:23:56.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"่ต„ๆบๅ•†ๅบ—\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-01T04:23:56.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1722486236000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/resource.md","localizedDate":"2024ๅนด4ๆœˆ19ๆ—ฅ"}');export{l as comp,d as data};
import{_ as t,r as o,o as r,c as a,a as n}from"./app-0e_4pVFu.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),a("div",null,[n(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"่ต„ๆบๅ•†ๅบ—","lang":"zh-CN","frontmatter":{"title":"่ต„ๆบๅ•†ๅบ—","icon":"box","order":1,"category":"ไฝฟ็”จๆ‰‹ๅ†Œ","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"่ต„ๆบๅ•†ๅบ—"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-01T04:23:56.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-01T04:23:56.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"่ต„ๆบๅ•†ๅบ—\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-01T04:23:56.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1722486236000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/resource.md","localizedDate":"2024ๅนด4ๆœˆ19ๆ—ฅ"}');export{l as comp,d as data};

View File

@ -1 +1 @@
import{_ as t,r as o,o as r,c as n,a}from"./app-DOGtdh9N.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),n("div",null,[a(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/en/store/resource.html","title":"Resource Store","lang":"en-US","frontmatter":{"title":"Resource Store","icon":"box","order":1,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Resource Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Resource Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/resource.md","localizedDate":"August 16, 2024"}');export{l as comp,d as data};
import{_ as t,r as o,o as r,c as n,a}from"./app-0e_4pVFu.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),n("div",null,[a(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/en/store/resource.html","title":"Resource Store","lang":"en-US","frontmatter":{"title":"Resource Store","icon":"box","order":1,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Resource Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Resource Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/resource.md","localizedDate":"August 16, 2024"}');export{l as comp,d as data};

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,8 @@
import{_ as e,o as a,c as t,e as o}from"./app-0e_4pVFu.js";const l={},n=o(`<h3 id="def-is-coroutine-callable-call-callable-any-bool" tabindex="-1"><a class="header-anchor" href="#def-is-coroutine-callable-call-callable-any-bool"><span><em><strong>def</strong></em> <code>is_coroutine_callable(call: Callable[..., Any]) -&gt; bool</code></span></a></h3><p>ๅˆคๆ–ญๆ˜ฏๅฆไธบๅ็จ‹ๅฏ่ฐƒ็”จๅฏน่ฑก</p><p>Args:</p><pre><code>call: ๅฏ่ฐƒ็”จๅฏน่ฑก
</code></pre><p>Returns:</p><pre><code>bool: ๆ˜ฏๅฆไธบๅ็จ‹ๅฏ่ฐƒ็”จๅฏน่ฑก
</code></pre><h3 id="def-run-coroutine-none" tabindex="-1"><a class="header-anchor" href="#def-run-coroutine-none"><span><em><strong>def</strong></em> <code>run_coroutine() -&gt; None</code></span></a></h3><p>่ฟ่กŒๅ็จ‹</p><p>Args:</p><pre><code>coro:
</code></pre><p>Returns:</p><h3 id="def-path-to-module-name-path-path-str" tabindex="-1"><a class="header-anchor" href="#def-path-to-module-name-path-path-str"><span><em><strong>def</strong></em> <code>path_to_module_name(path: Path) -&gt; str</code></span></a></h3><p>่ฝฌๆข่ทฏๅพ„ไธบๆจกๅ—ๅ</p><p>Args:</p><pre><code>path: ่ทฏๅพ„a/b/c/d -&gt; a.b.c.d
</code></pre><p>Returns:</p><pre><code>str: ๆจกๅ—ๅ
</code></pre><h3 id="def-async-wrapper-func-callable-any-callable-coroutine" tabindex="-1"><a class="header-anchor" href="#def-async-wrapper-func-callable-any-callable-coroutine"><span><em><strong>def</strong></em> <code>async_wrapper(func: Callable[..., Any]) -&gt; Callable[..., Coroutine]</code></span></a></h3><p>ๅผ‚ๆญฅๅŒ…่ฃ…ๅ™จ</p><p>Args:</p><pre><code>func: Sync Callable
</code></pre><p>Returns:</p><pre><code>Coroutine: Asynchronous Callable
</code></pre><h3 id="async-def-wrapper-none" tabindex="-1"><a class="header-anchor" href="#async-def-wrapper-none"><span><em><strong>async def</strong></em> <code>wrapper() -&gt; None</code></span></a></h3>`,24),r=[n];function c(p,s){return a(),t("div",null,r)}const i=e(l,[["render",c],["__file","utils.html.vue"]]),u=JSON.parse('{"path":"/dev/api/utils.html","title":"liteyuki.utils","lang":"zh-CN","frontmatter":{"title":"liteyuki.utils","order":1,"icon":"laptop-code","category":"API","description":"def is_coroutine_callable(call: Callable[..., Any]) -> bool ๅˆคๆ–ญๆ˜ฏๅฆไธบๅ็จ‹ๅฏ่ฐƒ็”จๅฏน่ฑก Args: Returns: def run_coroutine() -> None ่ฟ่กŒๅ็จ‹ Args: Returns: def path_to_module_name(path: Path) -> st...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/utils.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot ่ฝป้›ชๆœบๅ™จไบบ"}],["meta",{"property":"og:title","content":"liteyuki.utils"}],["meta",{"property":"og:description","content":"def is_coroutine_callable(call: Callable[..., Any]) -> bool ๅˆคๆ–ญๆ˜ฏๅฆไธบๅ็จ‹ๅฏ่ฐƒ็”จๅฏน่ฑก Args: Returns: def run_coroutine() -> None ่ฟ่กŒๅ็จ‹ Args: Returns: def path_to_module_name(path: Path) -> st..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.utils\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def is_coroutine_callable(call: Callable[..., Any]) -> bool","slug":"def-is-coroutine-callable-call-callable-any-bool","link":"#def-is-coroutine-callable-call-callable-any-bool","children":[]},{"level":3,"title":"def run_coroutine() -> None","slug":"def-run-coroutine-none","link":"#def-run-coroutine-none","children":[]},{"level":3,"title":"def path_to_module_name(path: Path) -> str","slug":"def-path-to-module-name-path-path-str","link":"#def-path-to-module-name-path-path-str","children":[]},{"level":3,"title":"def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]","slug":"def-async-wrapper-func-callable-any-callable-coroutine","link":"#def-async-wrapper-func-callable-any-callable-coroutine","children":[]},{"level":3,"title":"async def wrapper() -> None","slug":"async-def-wrapper-none","link":"#async-def-wrapper-none","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.36,"words":107},"filePathRelative":"dev/api/utils.md","localizedDate":"2024ๅนด8ๆœˆ19ๆ—ฅ","autoDesc":true}');export{i as comp,u as data};

View File

@ -0,0 +1,8 @@
import{_ as e,o as a,c as t,e as o}from"./app-0e_4pVFu.js";const l={},n=o(`<h3 id="def-is-coroutine-callable-call-callable-any-bool" tabindex="-1"><a class="header-anchor" href="#def-is-coroutine-callable-call-callable-any-bool"><span><em><strong>def</strong></em> <code>is_coroutine_callable(call: Callable[..., Any]) -&gt; bool</code></span></a></h3><p>ๅˆคๆ–ญๆ˜ฏๅฆไธบๅ็จ‹ๅฏ่ฐƒ็”จๅฏน่ฑก</p><p>Args:</p><pre><code>call: ๅฏ่ฐƒ็”จๅฏน่ฑก
</code></pre><p>Returns:</p><pre><code>bool: ๆ˜ฏๅฆไธบๅ็จ‹ๅฏ่ฐƒ็”จๅฏน่ฑก
</code></pre><h3 id="def-run-coroutine-none" tabindex="-1"><a class="header-anchor" href="#def-run-coroutine-none"><span><em><strong>def</strong></em> <code>run_coroutine() -&gt; None</code></span></a></h3><p>่ฟ่กŒๅ็จ‹</p><p>Args:</p><pre><code>coro:
</code></pre><p>Returns:</p><h3 id="def-path-to-module-name-path-path-str" tabindex="-1"><a class="header-anchor" href="#def-path-to-module-name-path-path-str"><span><em><strong>def</strong></em> <code>path_to_module_name(path: Path) -&gt; str</code></span></a></h3><p>่ฝฌๆข่ทฏๅพ„ไธบๆจกๅ—ๅ</p><p>Args:</p><pre><code>path: ่ทฏๅพ„a/b/c/d -&gt; a.b.c.d
</code></pre><p>Returns:</p><pre><code>str: ๆจกๅ—ๅ
</code></pre><h3 id="def-async-wrapper-func-callable-any-callable-coroutine" tabindex="-1"><a class="header-anchor" href="#def-async-wrapper-func-callable-any-callable-coroutine"><span><em><strong>def</strong></em> <code>async_wrapper(func: Callable[..., Any]) -&gt; Callable[..., Coroutine]</code></span></a></h3><p>ๅผ‚ๆญฅๅŒ…่ฃ…ๅ™จ</p><p>Args:</p><pre><code>func: Sync Callable
</code></pre><p>Returns:</p><pre><code>Coroutine: Asynchronous Callable
</code></pre><h3 id="async-def-wrapper-none" tabindex="-1"><a class="header-anchor" href="#async-def-wrapper-none"><span><em><strong>async def</strong></em> <code>wrapper() -&gt; None</code></span></a></h3>`,24),r=[n];function c(p,i){return a(),t("div",null,r)}const d=e(l,[["render",c],["__file","utils.html.vue"]]),u=JSON.parse('{"path":"/en/dev/api/liteyuki/utils.html","title":"liteyuki.utils","lang":"en-US","frontmatter":{"title":"liteyuki.utils","order":1,"icon":"laptop-code","category":"API","description":"def is_coroutine_callable(call: Callable[..., Any]) -> bool ๅˆคๆ–ญๆ˜ฏๅฆไธบๅ็จ‹ๅฏ่ฐƒ็”จๅฏน่ฑก Args: Returns: def run_coroutine() -> None ่ฟ่กŒๅ็จ‹ Args: Returns: def path_to_module_name(path: Path) -> st...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/liteyuki/utils.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.utils"}],["meta",{"property":"og:description","content":"def is_coroutine_callable(call: Callable[..., Any]) -> bool ๅˆคๆ–ญๆ˜ฏๅฆไธบๅ็จ‹ๅฏ่ฐƒ็”จๅฏน่ฑก Args: Returns: def run_coroutine() -> None ่ฟ่กŒๅ็จ‹ Args: Returns: def path_to_module_name(path: Path) -> st..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.utils\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def is_coroutine_callable(call: Callable[..., Any]) -> bool","slug":"def-is-coroutine-callable-call-callable-any-bool","link":"#def-is-coroutine-callable-call-callable-any-bool","children":[]},{"level":3,"title":"def run_coroutine() -> None","slug":"def-run-coroutine-none","link":"#def-run-coroutine-none","children":[]},{"level":3,"title":"def path_to_module_name(path: Path) -> str","slug":"def-path-to-module-name-path-path-str","link":"#def-path-to-module-name-path-path-str","children":[]},{"level":3,"title":"def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]","slug":"def-async-wrapper-func-callable-any-callable-coroutine","link":"#def-async-wrapper-func-callable-any-callable-coroutine","children":[]},{"level":3,"title":"async def wrapper() -> None","slug":"async-def-wrapper-none","link":"#async-def-wrapper-none","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.36,"words":107},"filePathRelative":"en/dev/api/liteyuki/utils.md","localizedDate":"August 19, 2024","autoDesc":true}');export{d as comp,u as data};

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

59
dev/api/bot/index.html Normal file

File diff suppressed because one or more lines are too long

55
dev/api/bot/lifespan.html Normal file

File diff suppressed because one or more lines are too long

48
dev/api/comm/channel.html Normal file

File diff suppressed because one or more lines are too long

40
dev/api/comm/event.html Normal file

File diff suppressed because one or more lines are too long

40
dev/api/comm/index.html Normal file

File diff suppressed because one or more lines are too long

51
dev/api/comm/storage.html Normal file

File diff suppressed because one or more lines are too long

42
dev/api/config.html Normal file

File diff suppressed because one or more lines are too long

40
dev/api/core/index.html Normal file

File diff suppressed because one or more lines are too long

50
dev/api/core/manager.html Normal file

File diff suppressed because one or more lines are too long

40
dev/api/dev/index.html Normal file

File diff suppressed because one or more lines are too long

46
dev/api/dev/observer.html Normal file

File diff suppressed because one or more lines are too long

41
dev/api/dev/plugin.html Normal file

File diff suppressed because one or more lines are too long

40
dev/api/exception.html Normal file

File diff suppressed because one or more lines are too long

40
dev/api/index.html Normal file

File diff suppressed because one or more lines are too long

40
dev/api/log.html Normal file

File diff suppressed because one or more lines are too long

41
dev/api/plugin/index.html Normal file

File diff suppressed because one or more lines are too long

50
dev/api/plugin/load.html Normal file

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