forked from bot/app
Deploying to gh-pages from @ snowykami/LiteyukiBot@9743868cce 🚀
This commit is contained in:
parent
63e29af11e
commit
3b423a61d7
@ -1 +1 @@
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o,d as n}from"./app-DUHc7hb-.js";const r={},a=n("p",null,"404 Not Found",-1),p=[a];function c(s,i){return e(),o("div",null,p)}const d=t(r,[["render",c],["__file","404.html.vue"]]),h=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"article:author","content":"远野千束"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,h as data};
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o,d as n}from"./app-C1c5-uLX.js";const r={},a=n("p",null,"404 Not Found",-1),p=[a];function c(s,i){return e(),o("div",null,p)}const d=t(r,[["render",c],["__file","404.html.vue"]]),h=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"article:author","content":"远野千束"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,h as data};
|
@ -1 +1 @@
|
||||
import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o,b as r}from"./app-DUHc7hb-.js";const a={},i=r("<ol><li>本项目遵循<code>MIT</code>协议,你可以自由使用,修改,分发,但是请保留原作者信息</li><li>你可以选择开启<code>auto_report</code>(默认开启),轻雪会收集以下内容 <ul><li>运行环境的设备信息:CPU,内存,系统信息,Python信息</li><li>插件信息(不含插件数据),</li><li>部分异常信息,</li><li>会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把<code>auto_report</code>设定为<code>false</code></li></ul></li><li>本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性</li><li>使用此项目代表你已经同意以上协议</li></ol>",1),n=[i];function c(l,m){return t(),o("div",null,n)}const d=e(a,[["render",c],["__file","agreement.html.vue"]]),u=JSON.parse('{"path":"/usage/agreement.html","title":"用户协议","lang":"zh-CN","frontmatter":{"title":"用户协议","icon":"user-secret","order":3,"category":"使用手册","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"用户协议"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服..."}],["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":[],"git":{"createdTime":1711621856000,"updatedTime":1711853957000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.75,"words":226},"filePathRelative":"usage/agreement.md","localizedDate":"2024年3月28日","autoDesc":true}');export{d as comp,u as data};
|
||||
import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o,b as r}from"./app-C1c5-uLX.js";const a={},i=r("<ol><li>本项目遵循<code>MIT</code>协议,你可以自由使用,修改,分发,但是请保留原作者信息</li><li>你可以选择开启<code>auto_report</code>(默认开启),轻雪会收集以下内容 <ul><li>运行环境的设备信息:CPU,内存,系统信息,Python信息</li><li>插件信息(不含插件数据),</li><li>部分异常信息,</li><li>会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把<code>auto_report</code>设定为<code>false</code></li></ul></li><li>本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性</li><li>使用此项目代表你已经同意以上协议</li></ol>",1),n=[i];function c(l,m){return t(),o("div",null,n)}const d=e(a,[["render",c],["__file","agreement.html.vue"]]),u=JSON.parse('{"path":"/usage/agreement.html","title":"用户协议","lang":"zh-CN","frontmatter":{"title":"用户协议","icon":"user-secret","order":3,"category":"使用手册","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"用户协议"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服..."}],["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":[],"git":{"createdTime":1711621856000,"updatedTime":1711853957000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.75,"words":226},"filePathRelative":"usage/agreement.md","localizedDate":"2024年3月28日","autoDesc":true}');export{d as comp,u as data};
|
File diff suppressed because one or more lines are too long
@ -1,30 +0,0 @@
|
||||
import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as a,c as s,b as e}from"./app-DUHc7hb-.js";const t={},o=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>liteecho <span class="token comment"># 查看当前bot</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"><</span>key<span class="token operator">></span> value <span class="token comment"># 添加配置项,若存在则会覆盖,输入值会被执行,以便于转换为正确的值,"10"和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 punctuation">[</span>S<span class="token punctuation">]</span>reload-resources <span class="token comment"># 重载资源</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>switch-image-mode <span class="token comment"># 切换图片模式,该功能需要commit:505468b及以后的Lagrange.OneBot,在普通图片和Markdown图片之间切换,后者更大但有失败的可能</span>
|
||||
<span class="token comment"># 上述两个命令修改的配置项在数据库中保存,但是优先级低于配置文件,如果配置文件中存在相同的配置项,将会使用配置文件中的配置</span>
|
||||
------
|
||||
别名: reload-liteyuki 重启轻雪, update-liteyuki 更新轻雪, reload-resources 重载资源, 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 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"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 安装插件</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>npm uninstall <span class="token operator"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 卸载插件</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>npm search <span class="token operator"><</span>keywords<span class="token punctuation">..</span>.<span class="token operator">></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"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 启用插件</span>
|
||||
<span class="token punctuation">[</span>SOA<span class="token punctuation">]</span>disable <span class="token operator"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 禁用插件</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>enable-global <span class="token operator"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 全局启用插件</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>disable-global <span class="token operator"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 全局禁用插件</span>
|
||||
list-plugin <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"># 列出所有插件 page为页数,num为每页显示数量</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"><</span>key<span class="token operator">></span> <span class="token punctuation">[</span>value<span class="token punctuation">]</span> <span class="token comment"># 设置用户信息或打开属性设置菜单</span>
|
||||
profile get <span class="token operator"><</span>key<span class="token operator">></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><strong>参数</strong>:<code><param></code>为必填参数,<code>[option]</code>为可选参数。</p><p><strong>命令别名</strong>:配置了命令别名的命令可以使用别名代替原命令,例如<code>npm install ~</code>可以使用<code>插件 安装 ~</code>代替。</p>`,11),i=[o];function p(l,c){return a(),s("div",null,i)}const d=n(t,[["render",p],["__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>为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如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>为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T00:48:21.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T00:48:21.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"基础命令\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-06T00:48:21.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":1712364501000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":10},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.94,"words":581},"filePathRelative":"usage/basic_command.md","localizedDate":"2024年3月28日","autoDesc":true}');export{d as comp,m as data};
|
42
assets/basic_command.html-Dl_qauVP.js
Normal file
42
assets/basic_command.html-Dl_qauVP.js
Normal file
@ -0,0 +1,42 @@
|
||||
import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as s,c as a,b as e}from"./app-C1c5-uLX.js";const t={},p=e(`<h2 id="基础插件命令" tabindex="-1"><a class="header-anchor" href="#基础插件命令"><span>基础插件命令</span></a></h2><h4 id="命令前有-s-的表示仅超级用户可用-o-和-a-分别为群主和群管可用-p-为私聊可用" tabindex="-1"><a class="header-anchor" href="#命令前有-s-的表示仅超级用户可用-o-和-a-分别为群主和群管可用-p-为私聊可用"><span>命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用,[P]为私聊可用</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>liteecho <span class="token comment"># 查看当前bot</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"><</span>key<span class="token operator">></span> value <span class="token comment"># 添加配置项,若存在则会覆盖,输入值会被执行,以便于转换为正确的值,"10"和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 punctuation">[</span>S<span class="token punctuation">]</span>reload-resources <span class="token comment"># 重载资源</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>switch-image-mode <span class="token comment"># 切换图片模式,该功能需要commit:505468b及以后的Lagrange.OneBot,在普通图片和Markdown图片之间切换,后者更大但有失败的可能</span>
|
||||
liteyuki-docs <span class="token comment"># 查看轻雪文档</span>
|
||||
<span class="token comment"># 上述两个命令修改的配置项在数据库中保存,但是优先级低于配置文件,如果配置文件中存在相同的配置项,将会使用配置文件中的配置</span>
|
||||
------
|
||||
别名: reload-liteyuki 重启轻雪, update-liteyuki 更新轻雪, reload-resources 重载资源, config 配置, <span class="token builtin class-name">set</span> 设置, get 查询,
|
||||
switch-image-mode 切换图片模式, liteyuki-docs 轻雪文档
|
||||
</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></div><h3 id="轻雪包管理器-liteyuki-npm" tabindex="-1"><a class="header-anchor" href="#轻雪包管理器-liteyuki-npm"><span>轻雪包管理器 <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>nps update <span class="token comment"># 更新插件索引</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>nps <span class="token function">install</span> <span class="token operator"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 安装插件</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>nps uninstall <span class="token operator"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 卸载插件</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>nps search <span class="token operator"><</span>keywords<span class="token punctuation">..</span>.<span class="token operator">></span> <span class="token comment"># 通过关键词搜索插件</span>
|
||||
------
|
||||
<span class="token punctuation">[</span>AOSP<span class="token punctuation">]</span>npm <span class="token builtin class-name">enable</span> <span class="token operator"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 当前会话启用插件</span>
|
||||
<span class="token punctuation">[</span>AOSP<span class="token punctuation">]</span>npm disable <span class="token operator"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 当前会话禁用插件</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>npm enable-global <span class="token operator"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 全局启用插件</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>npm disable-global <span class="token operator"><</span>plugin_name<span class="token operator">></span> <span class="token comment"># 全局禁用插件</span>
|
||||
list-plugin <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"># 列出所有插件 page为页数,num为每页显示数量</span>
|
||||
------
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>rpm 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"># 列出所有资源包 page为页数,num为每页显示数量</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>rpm load <span class="token operator"><</span>resource_pack_name<span class="token operator">></span> <span class="token comment"># 加载资源包</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>rpm unload <span class="token operator"><</span>resource_pack_name<span class="token operator">></span> <span class="token comment"># 卸载资源包</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>rpm change <span class="token operator"><</span>resource_pack_name<span class="token operator">></span> <span class="token comment"># 修改优先级</span>
|
||||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>rpm reload <span class="token comment"># 重载所有资源包</span>
|
||||
------
|
||||
别名: nps 插件商店, <span class="token function">npm</span> 插件管理, update 更新, <span class="token function">install</span> 安装, uninstall 卸载, search 搜索,
|
||||
<span class="token builtin class-name">enable</span> 启用, disable 停用, enable-global 全局启用, disable-global 全局停用, list-plugin 列出插件/插件列表,
|
||||
<span class="token function">rpm</span> 资源包, load 加载, unload 卸载, change 更改, reload 重载, list 列表/列出
|
||||
</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 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><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>
|
||||
<span class="token comment"># 受限于Nonebot的钩子函数,目前只能阻断消息事件的传入,对于主动推送消息的插件,无法将其阻止</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><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"><</span>key<span class="token operator">></span> <span class="token punctuation">[</span>value<span class="token punctuation">]</span> <span class="token comment"># 设置用户信息或打开属性设置菜单</span>
|
||||
profile get <span class="token operator"><</span>key<span class="token operator">></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><strong>参数</strong>:<code><param></code>为必填参数,<code>[option]</code>为可选参数。</p><p><strong>命令别名</strong>:配置了命令别名的命令可以使用别名代替原命令,例如<code>npm install ~</code>可以使用<code>插件 安装 ~</code>代替。</p>`,11),o=[p];function i(l,c){return s(),a("div",null,o)}const m=n(t,[["render",i],["__file","basic_command.html.vue"]]),d=JSON.parse('{"path":"/usage/basic_command.html","title":"基础命令","lang":"zh-CN","frontmatter":{"title":"基础命令","icon":"comment","order":1,"category":"使用手册","description":"基础插件命令 命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用,[P]为私聊可用 轻雪liteyuki 轻雪包管理器 liteyuki_npm 轻雪用户管理liteyuki_user 参数:<param>为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如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]分别为群主和群管可用,[P]为私聊可用 轻雪liteyuki 轻雪包管理器 liteyuki_npm 轻雪用户管理liteyuki_user 参数:<param>为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T16:35:53.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T16:35:53.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"基础命令\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-06T16:35:53.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_npm","slug":"轻雪包管理器-liteyuki-npm","link":"#轻雪包管理器-liteyuki-npm","children":[]},{"level":3,"title":"轻雪用户管理liteyuki_user","slug":"轻雪用户管理liteyuki-user","link":"#轻雪用户管理liteyuki-user","children":[]}]}],"git":{"createdTime":1711598703000,"updatedTime":1712421353000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":11},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":2.36,"words":709},"filePathRelative":"usage/basic_command.md","localizedDate":"2024年3月28日","autoDesc":true}');export{m as comp,d as data};
|
@ -1,4 +1,4 @@
|
||||
import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as s,c as a,b as e}from"./app-DUHc7hb-.js";const t={},o=e(`<h3 id="轻雪配置项-nonebot插件配置项也可以写在此-与dotenv格式不同-应为小写" tabindex="-1"><a class="header-anchor" href="#轻雪配置项-nonebot插件配置项也可以写在此-与dotenv格式不同-应为小写"><span>轻雪配置项(Nonebot插件配置项也可以写在此,与dotenv格式不同,应为小写)</span></a></h3><p>配置文件会在首次启动后生成,你可以在<code>config.yml</code>中修改配置项后重启轻雪,绝大多数情况下,你只需要修改<code>superusers</code>和<code>nickname</code>。如果不确定字段的含义,请不要修改(部分在自动生成配置文件中未列出,需手动添加)</p><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token comment"># 生成文件的配置项</span>
|
||||
import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as s,c as a,b as e}from"./app-C1c5-uLX.js";const t={},o=e(`<h3 id="轻雪配置项-nonebot插件配置项也可以写在此-与dotenv格式不同-应为小写" tabindex="-1"><a class="header-anchor" href="#轻雪配置项-nonebot插件配置项也可以写在此-与dotenv格式不同-应为小写"><span>轻雪配置项(Nonebot插件配置项也可以写在此,与dotenv格式不同,应为小写)</span></a></h3><p>配置文件会在首次启动后生成,你可以在<code>config.yml</code>中修改配置项后重启轻雪,绝大多数情况下,你只需要修改<code>superusers</code>和<code>nickname</code>。如果不确定字段的含义,请不要修改(部分在自动生成配置文件中未列出,需手动添加)</p><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token comment"># 生成文件的配置项</span>
|
||||
<span class="token key atrule">command_start</span><span class="token punctuation">:</span> <span class="token punctuation">[</span> <span class="token string">"/"</span><span class="token punctuation">,</span> <span class="token string">""</span> <span class="token punctuation">]</span> <span class="token comment"># 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常</span>
|
||||
<span class="token key atrule">host</span><span class="token punctuation">:</span> 127.0.0.1 <span class="token comment"># 监听地址,默认为本机,若要对外开放请填写0.0.0.0或者你的公网IP</span>
|
||||
<span class="token key atrule">port</span><span class="token punctuation">:</span> <span class="token number">20216</span> <span class="token comment"># 绑定端口</span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as a,b as n}from"./app-DUHc7hb-.js";const o={},s=n(`<h2 id="功能插件命令" tabindex="-1"><a class="header-anchor" href="#功能插件命令"><span>功能插件命令</span></a></h2><h3 id="轻雪天气liteyuki-weather" tabindex="-1"><a class="header-anchor" href="#轻雪天气liteyuki-weather"><span>轻雪天气<code>liteyuki_weather</code></span></a></h3><p>配置项</p><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code>weather<span class="token punctuation">-</span>key <span class="token comment"># 和风天气的天气key</span>
|
||||
import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as a,b as n}from"./app-C1c5-uLX.js";const o={},s=n(`<h2 id="功能插件命令" tabindex="-1"><a class="header-anchor" href="#功能插件命令"><span>功能插件命令</span></a></h2><h3 id="轻雪天气liteyuki-weather" tabindex="-1"><a class="header-anchor" href="#轻雪天气liteyuki-weather"><span>轻雪天气<code>liteyuki_weather</code></span></a></h3><p>配置项</p><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code>weather<span class="token punctuation">-</span>key <span class="token comment"># 和风天气的天气key</span>
|
||||
</code></pre><div class="line-numbers" aria-hidden="true"><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>weather <span class="token operator"><</span>keywords<span class="token punctuation">..</span>.<span class="token operator">></span> <span class="token comment"># 查询目标地天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"</span>
|
||||
bind-city <span class="token operator"><</span>keywords<span class="token punctuation">..</span>.<span class="token operator">></span> <span class="token comment"># 绑定查询城市,个人全局生效</span>
|
||||
别名:weather 天气
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o}from"./app-DUHc7hb-.js";const i={};function a(s,n){return e(),o("div")}const m=t(i,[["render",a],["__file","foolsday.html.vue"]]),r=JSON.parse('{"path":"/foolsday.html","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"HeavyyukiBot666","tagline":"重雪机器人,一个以笨重和复杂为设计理念基于Koishi114514的OneBotv1919810标准聊天机器人,可用于雪地清扫,使用Typethon编写","actions":[{"text":"快速结束","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"奇怪的册子","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至下","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Koishi.js233","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"盲目插件管理","icon":"plug","details":"基于nbshi使用<code>npmx和pip</code>,让你无法安装/卸载插件"},{"title":"点击无法交互","icon":"mouse-pointer","details":"老的的点击交互模式,必须手打指令"},{"title":"猪蹄支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求"},{"title":"非国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"超难配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"高占用","icon":"memory","details":"使用更多的意义不明的依赖和资源"},{"title":"一个Bot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna","icon":"link","details":"使用Alconna实现低效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"不准更新","icon":"cloud-download","details":"要更新自己下新版本去"},{"title":"服务支持","icon":"server","details":"内置轻雪API,但随时可能跑路"},{"title":"闭源","icon":"code","details":"要源代码自己逆向去"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 node.js+"},{"title":"使用 <code>git clone https://github.com/snowykami/LiteyukiBot</code> 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 <code>git clone https://gitee.com/snowykami/LiteyukiBot</code>。"},{"title":"使用 <code>cd LiteyukiBot</code> 切换到项目目录。"},{"title":"使用 <code>npm install -r requirements.txt</code> 安装项目依赖。","details":"如果你有多个 node.js 环境,请使用 <code>pythonx -m npm install -r requirements.txt</code>。"},{"title":"使用 <code>node main.py</code> 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-01T16:01:28.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-01T16:01:28.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711987288000,"updatedTime":1711987288000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.11,"words":633},"filePathRelative":"foolsday.md","localizedDate":"2024年4月1日"}');export{m as comp,r as data};
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o}from"./app-C1c5-uLX.js";const i={};function a(s,n){return e(),o("div")}const m=t(i,[["render",a],["__file","foolsday.html.vue"]]),r=JSON.parse('{"path":"/foolsday.html","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"HeavyyukiBot666","tagline":"重雪机器人,一个以笨重和复杂为设计理念基于Koishi114514的OneBotv1919810标准聊天机器人,可用于雪地清扫,使用Typethon编写","actions":[{"text":"快速结束","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"奇怪的册子","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至下","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Koishi.js233","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"盲目插件管理","icon":"plug","details":"基于nbshi使用<code>npmx和pip</code>,让你无法安装/卸载插件"},{"title":"点击无法交互","icon":"mouse-pointer","details":"老的的点击交互模式,必须手打指令"},{"title":"猪蹄支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求"},{"title":"非国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"超难配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"高占用","icon":"memory","details":"使用更多的意义不明的依赖和资源"},{"title":"一个Bot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna","icon":"link","details":"使用Alconna实现低效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"不准更新","icon":"cloud-download","details":"要更新自己下新版本去"},{"title":"服务支持","icon":"server","details":"内置轻雪API,但随时可能跑路"},{"title":"闭源","icon":"code","details":"要源代码自己逆向去"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 node.js+"},{"title":"使用 <code>git clone https://github.com/snowykami/LiteyukiBot</code> 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 <code>git clone https://gitee.com/snowykami/LiteyukiBot</code>。"},{"title":"使用 <code>cd LiteyukiBot</code> 切换到项目目录。"},{"title":"使用 <code>npm install -r requirements.txt</code> 安装项目依赖。","details":"如果你有多个 node.js 环境,请使用 <code>pythonx -m npm install -r requirements.txt</code>。"},{"title":"使用 <code>node main.py</code> 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-01T16:01:28.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-01T16:01:28.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711987288000,"updatedTime":1711987288000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.11,"words":633},"filePathRelative":"foolsday.md","localizedDate":"2024年4月1日"}');export{m as comp,r as data};
|
@ -1 +1 @@
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as o,o as a,c as n,a as r}from"./app-DUHc7hb-.js";const p={};function i(m,c){const e=o("Catalog");return a(),n("div",null,[r(e)])}const d=t(p,[["render",i],["__file","index.html.vue"]]),y=JSON.parse('{"path":"/deployment/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"项目部署"}],["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":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deployment/README.md","localizedDate":"2024年3月28日"}');export{d as comp,y as data};
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as o,o as a,c as n,a as r}from"./app-C1c5-uLX.js";const p={};function i(m,c){const e=o("Catalog");return a(),n("div",null,[r(e)])}const d=t(p,[["render",i],["__file","index.html.vue"]]),y=JSON.parse('{"path":"/deployment/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"项目部署"}],["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":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deployment/README.md","localizedDate":"2024年3月28日"}');export{d as comp,y as data};
|
@ -1 +1 @@
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as i}from"./app-DUHc7hb-.js";const a={};function o(s,n){return e(),i("div")}const c=t(a,[["render",o],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/store/","title":"","lang":"zh-CN","frontmatter":{"home":true,"icon":"paint-brush","heroText":"Liteyuki Theme Store","tagline":"轻雪主题/资源商店","highlights":[{"header":"所有资源包","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"Kawaii-Status","icon":"paint-brush","details":"可爱的状态卡片,模仿的Koishi","link":"https://cdn.liteyuki.icu/static/lrp/KawaiiStatus.zip"},{"title":"MiSans字体包","icon":"paint-brush","details":"标准字体包,适用于大多数主题,简约大方","link":"https://cdn.liteyuki.icu/static/lrp/MiSansFonts.zip"},{"title":"MapleMono字体包","icon":"paint-brush","details":"适用于标准主题的MapleMono字体包","link":"https://cdn.liteyuki.icu/static/lrp/MapleMonoFonts.zip"}]}],"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T00:48:21.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T00:48:21.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\"}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1712364501000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.4,"words":120},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{c as comp,l as data};
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as i}from"./app-C1c5-uLX.js";const a={};function o(s,n){return e(),i("div")}const c=t(a,[["render",o],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/store/","title":"","lang":"zh-CN","frontmatter":{"home":true,"icon":"paint-brush","heroText":"Liteyuki Theme Store","tagline":"轻雪主题/资源商店","highlights":[{"header":"所有资源包","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"Kawaii-Status","icon":"paint-brush","details":"可爱的状态卡片,模仿的Koishi","link":"https://cdn.liteyuki.icu/static/lrp/KawaiiStatus.zip"},{"title":"MiSans字体包","icon":"paint-brush","details":"标准字体包,适用于大多数主题,简约大方","link":"https://cdn.liteyuki.icu/static/lrp/MiSansFonts.zip"},{"title":"MapleMono字体包","icon":"paint-brush","details":"适用于标准主题的MapleMono字体包","link":"https://cdn.liteyuki.icu/static/lrp/MapleMonoFonts.zip"}]}],"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T00:48:21.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T00:48:21.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\"}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1712364501000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.4,"words":120},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{c as comp,l as data};
|
@ -1 +1 @@
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as o,o as a,c as n,a as r}from"./app-DUHc7hb-.js";const i={};function c(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const d=t(i,[["render",c],["__file","index.html.vue"]]),h=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"使用手册"}],["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":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024年3月28日"}');export{d as comp,h as data};
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as o,o as a,c as n,a as r}from"./app-C1c5-uLX.js";const i={};function c(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const d=t(i,[["render",c],["__file","index.html.vue"]]),h=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"使用手册"}],["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":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024年3月28日"}');export{d as comp,h as data};
|
@ -1 +1 @@
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as i}from"./app-DUHc7hb-.js";const o={};function n(a,s){return e(),i("div")}const m=t(o,[["render",n],["__file","index.html.vue"]]),r=JSON.parse('{"path":"/","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot 6","tagline":"轻雪机器人,一个以轻量和简洁为设计理念基于Nonebot2的OneBot标准聊天机器人","actions":[{"text":"快速开始","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"使用手册","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至上","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Nonebot2","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"可视化插件管理","icon":"plug","details":"使用<code>npm</code>,无需命令行操作即可安装/卸载插件"},{"title":"点击交互","icon":"mouse-pointer","details":"新的点击交互模式,拒绝手打指令"},{"title":"主题支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求"},{"title":"国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"低占用","icon":"memory","details":"使用更少的依赖和资源"},{"title":"OneBot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna命令解析","icon":"link","details":"使用Alconna实现高效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"便捷更新","icon":"cloud-download","details":"聊天窗口命令更新,无需手动下载"},{"title":"服务支持","icon":"server","details":"内置轻雪API,可自动收集错误,提供图床服务"},{"title":"开源","icon":"code","details":"项目遵循MIT协议开源,欢迎各位的贡献"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 Python3.10+"},{"title":"使用 <code>git clone https://github.com/snowykami/LiteyukiBot</code> 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 <code>git clone https://gitee.com/snowykami/LiteyukiBot</code>。"},{"title":"使用 <code>cd LiteyukiBot</code> 切换到项目目录。"},{"title":"使用 <code>pip install -r requirements.txt</code> 安装项目依赖。","details":"如果你有多个 Python 环境,请使用 <code>pythonx -m pip install -r requirements.txt</code>。"},{"title":"使用 <code>python main.py</code> 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T01:10:01.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T01:10:01.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1712365801000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":22}]},"readingTime":{"minutes":1.74,"words":521},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{m as comp,r as data};
|
||||
import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as i}from"./app-C1c5-uLX.js";const o={};function n(a,s){return e(),i("div")}const m=t(o,[["render",n],["__file","index.html.vue"]]),r=JSON.parse('{"path":"/","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot 6","tagline":"轻雪机器人,一个以轻量和简洁为设计理念基于Nonebot2的OneBot标准聊天机器人","actions":[{"text":"快速开始","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"使用手册","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至上","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Nonebot2","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"可视化插件管理","icon":"plug","details":"使用<code>npm</code>,无需命令行操作即可安装/卸载插件"},{"title":"点击交互","icon":"mouse-pointer","details":"新的点击交互模式,拒绝手打指令"},{"title":"主题支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求"},{"title":"国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"低占用","icon":"memory","details":"使用更少的依赖和资源"},{"title":"OneBot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna命令解析","icon":"link","details":"使用Alconna实现高效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"便捷更新","icon":"cloud-download","details":"聊天窗口命令更新,无需手动下载"},{"title":"服务支持","icon":"server","details":"内置轻雪API,可自动收集错误,提供图床服务"},{"title":"开源","icon":"code","details":"项目遵循MIT协议开源,欢迎各位的贡献"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 Python3.10+"},{"title":"使用 <code>git clone https://github.com/snowykami/LiteyukiBot</code> 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 <code>git clone https://gitee.com/snowykami/LiteyukiBot</code>。"},{"title":"使用 <code>cd LiteyukiBot</code> 切换到项目目录。"},{"title":"使用 <code>pip install -r requirements.txt</code> 安装项目依赖。","details":"如果你有多个 Python 环境,请使用 <code>pythonx -m pip install -r requirements.txt</code>。"},{"title":"使用 <code>python main.py</code> 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T01:10:01.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T01:10:01.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1712365801000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":22}]},"readingTime":{"minutes":1.74,"words":521},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{m as comp,r as data};
|
@ -1 +1 @@
|
||||
import{_ as i}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as n,o as a,c as l,d as e,e as t,a as r,b as c}from"./app-DUHc7hb-.js";const d={},s=c('<h3 id="设备要求" tabindex="-1"><a class="header-anchor" href="#设备要求"><span>设备要求</span></a></h3><ul><li>Windows系统版本最低<code>Windows10+</code>/<code>Windows Server 2019+</code></li><li>Linux系统要支持Python3.10+,推荐<code>Ubuntu 20.04+</code>/<code>CentOS 8+</code>(<s>别用你那b CentOS</s>)</li><li>CPU: 至少<code>1vCPU</code></li><li>内存: Bot无其他插件会占用<code>100MB</code>,其他插件占用视具体插件而定,建议<code>1GB</code>以上</li><li>硬盘: 至少<code>1GB</code>空间</li><li>GPU: 原生轻雪无需GPU,某些插件需要GPU支持,例如AI绘画之类的,具体查看插件文档</li></ul><h3 id="开始安装" tabindex="-1"><a class="header-anchor" href="#开始安装"><span>开始安装</span></a></h3><ol><li>安装 <code>Git</code> 和 <code>Python3.10+</code> 环境</li><li>克隆项目 <code>git clone https://github.com/snowykami/LiteyukiBot</code> (无法连接可以用<code>https://gitee.com/snowykami/LiteyukiBot</code>)</li><li>切换目录<code>cd LiteyukiBot</code></li><li>安装依赖<code>pip install -r requirements.txt</code>(如果多个Python环境请指定后安装<code>pythonx -m pip install -r requirements.txt</code>)</li><li>启动<code>python main.py</code></li></ol>',4),p={id:"想在linux命令行中拥有更好的体验-试试trss-liteyuki轻雪机器人管理脚本-该功能仅供参考-不是liteyukibot官方提供的功能",tabindex:"-1"},m={class:"header-anchor",href:"#想在linux命令行中拥有更好的体验-试试trss-liteyuki轻雪机器人管理脚本-该功能仅供参考-不是liteyukibot官方提供的功能"},h={href:"https://timerainstarsky.github.io/TRSS_Liteyuki/",target:"_blank",rel:"noopener noreferrer"};function u(y,_){const o=n("ExternalLinkIcon");return a(),l("div",null,[s,e("h4",p,[e("a",m,[e("span",null,[t("想在Linux命令行中拥有更好的体验?试试"),e("a",h,[t("TRSS_Liteyuki轻雪机器人管理脚本"),r(o)]),t(",该功能仅供参考,不是LiteyukiBot官方提供的功能")])])])])}const B=i(d,[["render",u],["__file","install.html.vue"]]),x=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"设备要求 Windows系统版本最低Windows10+/Windows Server 2019+ Linux系统要支持Python3.10+,推荐Ubuntu 20.04+/CentOS 8+() CPU: 至少1vCPU 内存: Bot无其他插件会占用100MB,其他插件占用视具体插件而定,建议1GB以上 硬盘: 至少1GB空间 GPU: 原生轻雪...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"安装"}],["meta",{"property":"og:description","content":"设备要求 Windows系统版本最低Windows10+/Windows Server 2019+ Linux系统要支持Python3.10+,推荐Ubuntu 20.04+/CentOS 8+() CPU: 至少1vCPU 内存: Bot无其他插件会占用100MB,其他插件占用视具体插件而定,建议1GB以上 硬盘: 至少1GB空间 GPU: 原生轻雪..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-05T01:14:26.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-05T01:14:26.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-05T01:14:26.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":3,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]},{"level":3,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712279666000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":5}]},"readingTime":{"minutes":0.8,"words":240},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true}');export{B as comp,x as data};
|
||||
import{_ as i}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as n,o as a,c as l,d as e,e as t,a as r,b as c}from"./app-C1c5-uLX.js";const d={},s=c('<h3 id="设备要求" tabindex="-1"><a class="header-anchor" href="#设备要求"><span>设备要求</span></a></h3><ul><li>Windows系统版本最低<code>Windows10+</code>/<code>Windows Server 2019+</code></li><li>Linux系统要支持Python3.10+,推荐<code>Ubuntu 20.04+</code>/<code>CentOS 8+</code>(<s>别用你那b CentOS</s>)</li><li>CPU: 至少<code>1vCPU</code></li><li>内存: Bot无其他插件会占用<code>100MB</code>,其他插件占用视具体插件而定,建议<code>1GB</code>以上</li><li>硬盘: 至少<code>1GB</code>空间</li><li>GPU: 原生轻雪无需GPU,某些插件需要GPU支持,例如AI绘画之类的,具体查看插件文档</li></ul><h3 id="开始安装" tabindex="-1"><a class="header-anchor" href="#开始安装"><span>开始安装</span></a></h3><ol><li>安装 <code>Git</code> 和 <code>Python3.10+</code> 环境</li><li>克隆项目 <code>git clone https://github.com/snowykami/LiteyukiBot</code> (无法连接可以用<code>https://gitee.com/snowykami/LiteyukiBot</code>)</li><li>切换目录<code>cd LiteyukiBot</code></li><li>安装依赖<code>pip install -r requirements.txt</code>(如果多个Python环境请指定后安装<code>pythonx -m pip install -r requirements.txt</code>)</li><li>启动<code>python main.py</code></li></ol>',4),p={id:"想在linux命令行中拥有更好的体验-试试trss-liteyuki轻雪机器人管理脚本-该功能仅供参考-不是liteyukibot官方提供的功能",tabindex:"-1"},m={class:"header-anchor",href:"#想在linux命令行中拥有更好的体验-试试trss-liteyuki轻雪机器人管理脚本-该功能仅供参考-不是liteyukibot官方提供的功能"},h={href:"https://timerainstarsky.github.io/TRSS_Liteyuki/",target:"_blank",rel:"noopener noreferrer"};function u(y,_){const o=n("ExternalLinkIcon");return a(),l("div",null,[s,e("h4",p,[e("a",m,[e("span",null,[t("想在Linux命令行中拥有更好的体验?试试"),e("a",h,[t("TRSS_Liteyuki轻雪机器人管理脚本"),r(o)]),t(",该功能仅供参考,不是LiteyukiBot官方提供的功能")])])])])}const B=i(d,[["render",u],["__file","install.html.vue"]]),x=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"设备要求 Windows系统版本最低Windows10+/Windows Server 2019+ Linux系统要支持Python3.10+,推荐Ubuntu 20.04+/CentOS 8+() CPU: 至少1vCPU 内存: Bot无其他插件会占用100MB,其他插件占用视具体插件而定,建议1GB以上 硬盘: 至少1GB空间 GPU: 原生轻雪...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"安装"}],["meta",{"property":"og:description","content":"设备要求 Windows系统版本最低Windows10+/Windows Server 2019+ Linux系统要支持Python3.10+,推荐Ubuntu 20.04+/CentOS 8+() CPU: 至少1vCPU 内存: Bot无其他插件会占用100MB,其他插件占用视具体插件而定,建议1GB以上 硬盘: 至少1GB空间 GPU: 原生轻雪..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-05T01:14:26.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-05T01:14:26.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-05T01:14:26.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":3,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]},{"level":3,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712279666000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":5}]},"readingTime":{"minutes":0.8,"words":240},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true}');export{B as comp,x as data};
|
@ -1,4 +1,4 @@
|
||||
import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as a,b as n}from"./app-DUHc7hb-.js";const s={},i=n(`<h2 id="简介" tabindex="-1"><a class="header-anchor" href="#简介"><span>简介</span></a></h2><p>资源包,也可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源码</p><ul><li>资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包</li><li>资源包的制作很简单,如果你接触过<code>Minecraft</code>的资源包,那么你会很快上手</li><li>部分内容制作需要一点点前端基础,例如<code>html</code>,<code>css</code>,如果你不懂,可以参考一些教程</li><li>欢迎各位投稿资源包到轻雪资源商店</li></ul><h2 id="加载资源包" tabindex="-1"><a class="header-anchor" href="#加载资源包"><span>加载资源包</span></a></h2><ul><li>下载的资源包通常是以<code>.zip</code>格式压缩的,你只需要将其解压到根目录<code>resources</code>目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的</li></ul><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>main.py
|
||||
import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as a,b as n}from"./app-C1c5-uLX.js";const s={},i=n(`<h2 id="简介" tabindex="-1"><a class="header-anchor" href="#简介"><span>简介</span></a></h2><p>资源包,也可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源码</p><ul><li>资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包</li><li>资源包的制作很简单,如果你接触过<code>Minecraft</code>的资源包,那么你会很快上手</li><li>部分内容制作需要一点点前端基础,例如<code>html</code>,<code>css</code>,如果你不懂,可以参考一些教程</li><li>欢迎各位投稿资源包到轻雪资源商店</li></ul><h2 id="加载资源包" tabindex="-1"><a class="header-anchor" href="#加载资源包"><span>加载资源包</span></a></h2><ul><li>下载的资源包通常是以<code>.zip</code>格式压缩的,你只需要将其解压到根目录<code>resources</code>目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的</li></ul><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>main.py
|
||||
resources
|
||||
├─resource_pack_1
|
||||
├───metadata.yml
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,3 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="/sitemap.xsl"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/</loc><lastmod>2024-04-06T01:10:01.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html</loc><lastmod>2024-04-01T16:01:28.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/deployment/</loc><lastmod>2024-03-28T04:05:03.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/deployment/config.html</loc><lastmod>2024-04-05T12:07:33.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/deployment/fandq.html</loc><lastmod>2024-04-05T20:23:01.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html</loc><lastmod>2024-04-05T01:14:26.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/store/</loc><lastmod>2024-04-06T00:48:21.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/usage/</loc><lastmod>2024-03-28T04:05:03.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html</loc><lastmod>2024-03-31T02:59:17.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html</loc><lastmod>2024-04-06T00:48:21.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/usage/extra_command.html</loc><lastmod>2024-03-31T02:59:17.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/usage/resource_pack.html</loc><lastmod>2024-04-06T01:10:01.000Z</lastmod><changefreq>daily</changefreq></url></urlset>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/</loc><lastmod>2024-04-06T01:10:01.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html</loc><lastmod>2024-04-01T16:01:28.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/deployment/</loc><lastmod>2024-03-28T04:05:03.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/deployment/config.html</loc><lastmod>2024-04-05T12:07:33.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/deployment/fandq.html</loc><lastmod>2024-04-05T20:23:01.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html</loc><lastmod>2024-04-05T01:14:26.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/store/</loc><lastmod>2024-04-06T00:48:21.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/usage/</loc><lastmod>2024-03-28T04:05:03.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html</loc><lastmod>2024-03-31T02:59:17.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html</loc><lastmod>2024-04-06T16:35:53.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/usage/extra_command.html</loc><lastmod>2024-03-31T02:59:17.000Z</lastmod><changefreq>daily</changefreq></url><url><loc>https://vuepress-theme-hope-docs-demo.netlify.app/usage/resource_pack.html</loc><lastmod>2024-04-06T01:10:01.000Z</lastmod><changefreq>daily</changefreq></url></urlset>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user