app/assets/fandq.html-oymIEgwC.js

2 lines
5.2 KiB
JavaScript
Raw Normal View History

import{_ as a}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r,o as l,c as i,d as t,e,a as n,b as p}from"./app-mMIz-sbd.js";const c={},s=p('<h3 id="常见问题" tabindex="-1"><a class="header-anchor" href="#常见问题"><span>常见问题</span></a></h3><ul><li><p>设备上Python环境太乱了pip和python不对应怎么办</p><ul><li>请使用<code>/path/to/python -m pip install -r requirements.txt</code>来安装依赖, 然后用<code>/path/to/python main.py</code>来启动Bot 其中<code>/path/to/python</code>是你要用来运行Bot的可执行文件</li></ul></li><li><p>为什么我启动后机器人没有反应?</p><ul><li>请检查配置文件的<code>command_start</code>或<code>superusers</code>,确认你有权限使用命令并按照正确的命令发送</li></ul></li><li><p>怎么登录聊天平台例如QQ</p><ul><li>你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪下面已经列出一些推荐的实现端</li></ul></li><li><p><code>Playwright</code>安装失败</p><ul><li>输入<code>playwright install</code>安装浏览器</li></ul></li></ul><h4 id="推荐方案-qq" tabindex="-1"><a class="header-anchor" href="#推荐方案-qq"><span>推荐方案(QQ)</span></a></h4>',3),d={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},h={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},m=t("li",null,[e("云崽的"),t("code",null,"icqq-plugin"),e("和"),t("code",null,"ws-plugin"),e("进行通信")],-1),u=t("li",null,[t("code",null,"Go-cqhttp"),e("(目前已经半死不活了)")],-1),y=t("li",null,[e("人工实现的"),t("code",null,"Onebot"),e("协议自己整一个WebSocket客户端看着QQ的消息然后给轻雪传输数据")],-1),_=t("h4",{id:"推荐方案-minecraft",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[t("span",null,"推荐方案(Minecraft)")])],-1),g={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},f=t("p",null,"使用其他项目连接请先自行查阅文档若有困难请联系对应开发者而不是Liteyuki的开发者",-1);function b(B,k){const o=r("ExternalLinkIcon");return l(),i("div",null,[s,t("ol",null,[t("li",null,[t("a",d,[e("Lagrange.OneBot"),n(o)]),e("目前Markdown点按交互目前仅支持Lagrange")]),t("li",null,[t("a",h,[e("LiteLoaderNTQQ+LLOneBot"),n(o)]),e("基于NTQQ的Onebot实现")]),m,u,y]),_,t("ol",null,[t("li",null,[e("我们有专门为Minecraft开发的服务器Bot支持OnebotV11/12标准详细请看"),t("a",g,[e("MinecraftOneBot"),n(o)])])]),f])}const x=a(c,[["render",b],["__file","fandq.html.vue"]]),O=JSON.parse('{"path":"/deployment/fandq.html","title":"答疑","lang":"zh-CN","frontmatter":{"title":"答疑","icon":"object-group","order":3,"category":"使用指南","tag":["配置","部署"],"description":"常见问题 设备上Python环境太乱了pip和python不对应怎么办 请使用/path/to/python -m pip install -r requirements.txt来安装依赖 然后用/path/to/python main.py来启动Bot 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/fandq.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"答疑"}],["meta",{"property":"og:description","content":"常见问题 设备上Python环境太乱了pip和python不对应怎么办 请使用/path/to/python -m pip install -r requirements.txt来安装依赖 然后用/path/to/python main.py来启动Bot 其中/path/to/python是你要用来运行Bot的可执行文件 <EFBFBD><EFBFBD>