1
0
forked from bot/app
LiteyukiBot/assets/basic_command.html-DiAR_YmN.js

23 lines
7.7 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as n,c as a,b as s}from"./app-BXeAyfuQ.js";const t={},l=s(`<h2 id="内置插件命令" tabindex="-1"><a class="header-anchor" href="#内置插件命令"><span>内置插件命令</span></a></h2><h3 id="轻雪liteyuki" tabindex="-1"><a class="header-anchor" href="#轻雪liteyuki"><span>轻雪<code>liteyuki</code></span></a></h3><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>reload-liteyuki <span class="token comment"># 重载轻雪</span>
update-liteyuki <span class="token comment"># 更新轻雪</span>
liteyuki <span class="token comment"># 查看轻雪信息</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="轻雪nonebot插件管理-liteyuki-npm" tabindex="-1"><a class="header-anchor" href="#轻雪nonebot插件管理-liteyuki-npm"><span>轻雪Nonebot插件管理 <code>liteyuki_npm</code></span></a></h3><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token function">npm</span> update <span class="token comment"># 更新插件索引</span>
<span class="token function">npm</span> <span class="token function">install</span> <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <span class="token comment"># 安装插件</span>
<span class="token function">npm</span> uninstall <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <span class="token comment"># 卸载插件</span>
<span class="token function">npm</span> search <span class="token operator">&lt;</span>keywords<span class="token punctuation">..</span>.<span class="token operator">&gt;</span> <span class="token comment"># 搜索插件</span>
------
别名: <span class="token function">npm</span> 插件, update 更新, <span class="token function">install</span> 安装, uninstall 卸载, search 搜索
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token builtin class-name">enable</span> <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <span class="token comment"># 启用插件</span>
disable <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <span class="token comment"># 禁用插件</span>
enable-global <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <span class="token comment"># 全局启用插件</span>
disable-global <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <span class="token comment"># 全局禁用插件</span>
list-plugin <span class="token comment"># 列出所有插件</span>
------
别名: <span class="token builtin class-name">enable</span> 启用, disable 停用, enable-global 全局启用, disable-global 全局停用, list-plugin 列出插件/插件列表
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="轻雪用户管理liteyuki-user" tabindex="-1"><a class="header-anchor" href="#轻雪用户管理liteyuki-user"><span>轻雪用户管理<code>liteyuki_user</code></span></a></h3><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>profile <span class="token comment"># 查看用户信息菜单</span>
profile <span class="token builtin class-name">set</span> <span class="token operator">&lt;</span>key<span class="token operator">&gt;</span> <span class="token punctuation">[</span>value<span class="token punctuation">]</span> <span class="token comment"># 设置用户信息或打开属性设置菜单</span>
profile get <span class="token operator">&lt;</span>key<span class="token operator">&gt;</span> <span class="token comment"># 获取用户信息</span>
------
别名: profile 个人信息, <span class="token builtin class-name">set</span> 设置, get 查询
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><p><em>参数:<code>&lt;param&gt;</code>为必填参数,<code>[param]</code>为可选参数。</em></p><p><em>命令别名:配置了命令别名的命令可以使用别名代替原命令,例如<code>npm install ~</code>可以使用<code>插件 安装 ~</code>代替。</em></p>`,10),i=[l];function o(p,c){return n(),a("div",null,i)}const m=e(t,[["render",o],["__file","basic_command.html.vue"]]),u=JSON.parse('{"path":"/usage/basic_command.html","title":"基础命令","lang":"zh-CN","frontmatter":{"title":"基础命令","icon":"laptop-code","order":1,"category":"使用手册","description":"内置插件命令 轻雪liteyuki 轻雪Nonebot插件管理 liteyuki_npm 轻雪用户管理liteyuki_user 参数:<param>为必填参数,[param]为可选参数。 命令别名配置了命令别名的命令可以使用别名代替原命令例如npm install ~可以使用插件 安装 ~代替。","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"基础命令"}],["meta",{"property":"og:description","content":"内置插件命令 轻雪liteyuki 轻雪Nonebot插件管理 liteyuki_npm 轻雪用户管理liteyuki_user 参数:<param>为必填参数,[param]为可选参数。 命令别名配置了命令别名的命令可以使用别名代替原命令例如npm install ~可以使用插件 安装 ~代替。"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"内置插件命令","slug":"内置插件命令","link":"#内置插件命令","children":[{"level":3,"title":"轻雪liteyuki","slug":"轻雪liteyuki","link":"#轻雪liteyuki","children":[]},{"level":3,"title":"轻雪Nonebot插件管理 liteyuki_npm","slug":"轻雪nonebot插件管理-liteyuki-npm","link":"#轻雪nonebot插件管理-liteyuki-npm","children":[]},{"level":3,"title":"轻雪用户管理liteyuki_user","slug":"轻雪用户管理liteyuki-user","link":"#轻雪用户管理liteyuki-user","children":[]}]}],"git":{"createdTime":1711598703000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.93,"words":280},"filePathRelative":"usage/basic_command.md","localizedDate":"2024年3月28日","autoDesc":true}');export{m as comp,u as data};