mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-15 06:14:25 +08:00
2 lines
2.2 KiB
JavaScript
2 lines
2.2 KiB
JavaScript
import{_ as t,o as n,c as o,b as e,d as i}from"./app-CKfb26EU.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};
|