import{_ as e,o as t,c as n,e as i}from"./app-Dk7jq3Nw.js";const l={},o=i('

def run_plugins() -> None

运行插件,无需手动初始化bot

Args:

module_path: 插件路径,参考`liteyuki.load_plugin`的函数签名\n

var cfg = load_config_in_default()

var plugins = cfg.get('liteyuki.plugins', [])

var bot = LiteyukiBot(**cfg)

',7),a=[o];function r(g,c){return t(),n("div",null,a)}const u=e(l,[["render",r],["__file","plugin.html.vue"]]),d=JSON.parse(`{"path":"/en/dev/api/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: var cfg = load_config_in_default() var plugins = cfg.get('liteyuki.plugins', []) var bot = LiteyukiBot(**cfg)","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/dev/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/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: var cfg = load_config_in_default() var plugins = cfg.get('liteyuki.plugins', []) var bot = LiteyukiBot(**cfg)"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev.plugin\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def run_plugins() -> None","slug":"def-run-plugins-none","link":"#def-run-plugins-none","children":[]},{"level":3,"title":"var cfg = load_config_in_default()","slug":"var-cfg-load-config-in-default","link":"#var-cfg-load-config-in-default","children":[]},{"level":3,"title":"var plugins = cfg.get('liteyuki.plugins', [])","slug":"var-plugins-cfg-get-liteyuki-plugins","link":"#var-plugins-cfg-get-liteyuki-plugins","children":[]},{"level":3,"title":"var bot = LiteyukiBot(**cfg)","slug":"var-bot-liteyukibot-cfg","link":"#var-bot-liteyukibot-cfg","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.16,"words":49},"filePathRelative":"en/dev/api/dev/plugin.md","autoDesc":true}`);export{u as comp,d as data};