app/assets/basic_command.html-_xR3Ir97.js

51 lines
14 KiB
JavaScript
Raw Normal View History

import{_ as n,o as s,c as a,e}from"./app-DEzJMCzf.js";const t={},l=e(`<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><strong>轻雪 <code>liteyuki</code></strong></span></a></h3><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># 仅超级用户</span>
reload-liteyuki <span class="token comment"># 重载轻雪</span>
update-liteyuki <span class="token comment"># 更新轻雪</span>
liteecho <span class="token comment"># 查看当前bot</span>
status <span class="token comment"># 查看统计信息和状态</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>
config get <span class="token punctuation">[</span>key<span class="token punctuation">]</span> <span class="token comment"># key使</span>
switch-image-mode <span class="token comment"># 在普通图片和Markdown大图之间切换该功能需要commit:505468b及以后的Lagrange.OneBot</span>
/api api_name <span class="token punctuation">[</span>args<span class="token punctuation">]</span> <span class="token comment"># API/api get_group_member_list group_id=1234567%20</span>
<span class="token comment"># 仅超级用户群聊仅群主管理员超级用户可用</span>
group enable/disable <span class="token punctuation">[</span>group_id<span class="token punctuation">]</span> <span class="token comment"># /group_id</span>
<span class="token comment"># 所有人可用</span>
liteyuki-docs <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 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 class="line-number"></div><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>status ,
reload-liteyuki 重启轻雪,
update-liteyuki 更新轻雪,
reload-resources 重载资源,
config 配置 <span class="token operator">|</span> <span class="token builtin class-name">set</span> <span class="token operator">|</span> get ,
switch-image-mode 切换图片模式,
liteyuki-docs 轻雪文档
group 群聊 <span class="token operator">|</span> <span class="token builtin class-name">enable</span> <span class="token operator">|</span> disable
</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><hr><h3 id="--liteyuki-pacman" tabindex="-1"><a class="header-anchor" href="#--liteyuki-pacman"><span><strong>/ <code>liteyuki_pacman</code></strong></span></a></h3><ul><li></li></ul><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># </span>
<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> enable-global/disable-global <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <span class="token comment"># /</span>
<span class="token comment"># 群聊仅群主管理员超级用户可用私聊所有人可用</span>
<span class="token function">npm</span> enable/disable <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> list <span class="token punctuation">[</span>page<span class="token punctuation">]</span> <span class="token punctuation">[</span>num<span class="token punctuation">]</span> <span class="token comment"># pagenum</span>
<span class="token comment"># 所有人</span>
<span class="token builtin class-name">help</span> <span class="token operator">&lt;</span>plugin_name<span class="token operator">&gt;</span> <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 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 class="line-number"></div><div class="line-number"></div></div></div><ul><li></li></ul><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># </span>
<span class="token function">rpm</span> list <span class="token punctuation">[</span>page<span class="token punctuation">]</span> <span class="token punctuation">[</span>num<span class="token punctuation">]</span> <span class="token comment"># pagenum</span>
<span class="token function">rpm</span> load <span class="token operator">&lt;</span>pack_name<span class="token operator">&gt;</span> <span class="token comment"># </span>
<span class="token function">rpm</span> unload <span class="token operator">&lt;</span>pack_name<span class="token operator">&gt;</span> <span class="token comment"># </span>
<span class="token function">rpm</span> change <span class="token operator">&lt;</span>pack_name<span class="token operator">&gt;</span> <span class="token comment"># </span>
<span class="token function">rpm</span> reload <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 class="line-number"></div><div class="line-number"></div><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><span class="token function">npm</span> <span class="token operator">|</span> update <span class="token operator">|</span> <span class="token function">install</span> <span class="token operator">|</span> uninstall <span class="token operator">|</span> search
<span class="token builtin class-name">enable</span> <span class="token operator">|</span> disable <span class="token operator">|</span> enable-global <span class="token operator">|</span> disable-global
<span class="token function">rpm</span> <span class="token operator">|</span> load <span class="token operator">|</span> unload <span class="token operator">|</span> change <span class="token operator">|</span> reload <span class="token operator">|</span> list
<span class="token builtin class-name">help</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 class="line-number"></div></div></div><div class="hint-container warning"><p class="hint-container-title"></p><p>NoneBot2</p></div><hr><h3 id="liteyuki-user" tabindex="-1"><a class="header-anchor" href="#liteyuki-user"><span><strong><code>liteyuki_user</code></strong></span></a></h3><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># </span>
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>
</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></div><p></p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>profile <span class="token operator">|</span> <span class="token builtin class-name">set</span> <span class="token operator">|</span> get
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><div class="hint-container tip"><p class="hint-container-title"></p><p><strong></strong><code>&lt;param&gt;</code><code>[option]</code></p><p><strong></strong>使<code>npm install ~</code>使<code> ~</code></p></div>`,20),i=[l];function o(p,c){return s(),a("div",null,i)}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":" liteyuki / liteyuki_pacman NoneBot2 liteyuki_user <param>[option]...","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 / liteyuki_pacman NoneBot2 liteyuki_user <param>[option]..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-05-11T19:04:26.000Z"}],["meta",{"property":"article:author","content":""}],["meta",{"property":"article:modified_time","content":"2024-05-11T19:04:26.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-05-11T19:04:26.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":"/ liteyuki_pacman","slug":"--liteyuki-pacman","link":"#--liteyuki-pacman","children":[]},{"level":3,"title":"liteyuki_user","slug":"liteyuki-user","link":"#liteyuki-user","children":[]}]}],"git":{"createdTime":1711598703000,"updatedTime":1715454266000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":18},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":4}]},"readingTime":{"minutes":2.37,"words":712},"filePathRelative":"usage/basic_command.md","localizedDate":"2024328","autoDesc":true}');export{d as comp,m as data};