app/assets/basic_command.html-D2C42ni9.js

29 lines
10 KiB
JavaScript
Raw Normal View History

import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as a,c as s,b as e}from"./app-CTXyt0Kt.js";const t={},i=e(`<h2 id="基础插件命令" tabindex="-1"><a class="header-anchor" href="#基础插件命令"><span>基础插件命令</span></a></h2><h4 id="命令前有-s-的表示仅超级用户可用-o-和-a-分别为群主和群管可用" tabindex="-1"><a class="header-anchor" href="#命令前有-s-的表示仅超级用户可用-o-和-a-分别为群主和群管可用"><span>命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用</span></a></h4><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><span class="token punctuation">[</span>S<span class="token punctuation">]</span>reload-liteyuki <span class="token comment"># 重载轻雪</span>
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>update-liteyuki <span class="token comment"># </span>
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>liteyuki <span class="token comment"># </span>
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>config <span class="token builtin class-name">set</span> <span class="token operator">&lt;</span>key<span class="token operator">&gt;</span> value <span class="token comment"># 便&quot;10&quot;10</span>
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>config get <span class="token punctuation">[</span>key<span class="token punctuation">]</span> <span class="token comment"># key使</span>
<span class="token comment"># 上述两个命令修改的配置项在数据库中保存但是优先级低于配置文件如果配置文件中存在相同的配置项将会使用配置文件中的配置</span>
------
别名: reload-liteyuki 重启轻雪, update-liteyuki 更新轻雪, config 配置 <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 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 punctuation">[</span>S<span class="token punctuation">]</span>npm update <span class="token comment"># </span>
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>npm <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 punctuation">[</span>S<span class="token punctuation">]</span>npm uninstall <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <span class="token comment"># </span>
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>npm 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 punctuation">[</span>SOA<span class="token punctuation">]</span>enable <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <span class="token comment"># </span>
<span class="token punctuation">[</span>SOA<span class="token punctuation">]</span>disable <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <span class="token comment"># </span>
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>enable-global <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <span class="token comment"># </span>
<span class="token punctuation">[</span>S<span class="token punctuation">]</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 comment"># 受限于Nonebot的钩子函数目前只能阻断消息事件的传入对于主动推送消息的插件无法将其阻止</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 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>`,11),l=[i];function o(p,c){return a(),s("div",null,l)}const d=n(t,[["render",o],["__file","basic_command.html.vue"]]),m=JSON.parse('{"path":"/usage/basic_command.html","title":"","lang":"zh-CN","frontmatter":{"title":"","icon":"comment","order":1,"category":"使","description":" [S][O][A] 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":" [S][O][A] 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-31T02:59:17.000Z"}],["meta",{"property":"article:author","content":""}],["meta",{"property":"article:modified_time","content":"2024-03-31T02:59:17.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-31T02:59:17.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":1711853957000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3}]},"readingTime":{"minutes":1.7,"words":509},"filePathRelative":"usage/basic_command.md","localizedDate":"2024328","autoDesc":true}');export{d as comp,m as data};