app/assets/deploy_fandq.md.Ch9Ahkyl.lean.js

2 lines
5.5 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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

import{_ as o,c as t,a7 as a,o as r}from"./chunks/framework.jrU0lkHV.js";const u=JSON.parse('{"title":"答疑","description":"","frontmatter":{"title":"答疑","order":3},"headers":[],"relativePath":"deploy/fandq.md","filePath":"zh/deploy/fandq.md","lastUpdated":1725101868000}'),l={name:"deploy/fandq.md"};function n(i,e,c,d,h,p){return r(),t("div",null,e[0]||(e[0]=[a('<h1 id="答疑" tabindex="-1">答疑 <a class="header-anchor" href="#答疑" aria-label="Permalink to &quot;答疑&quot;"></a></h1><h2 id="常见问题" tabindex="-1"><strong>常见问题</strong> <a class="header-anchor" href="#常见问题" aria-label="Permalink to &quot;**常见问题**&quot;"></a></h2><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><li>确认命令头没有和<code>nickname{}</code>冲突,例如一个命令是<code>help</code>,但是<code>Bot</code>昵称有一个<code>help</code>那么将会被解析为nickname而不是命令</li></ul></li><li><p>更新轻雪失败,报错<code>InvalidGitRepositoryError</code></p><ul><li>请正确安装<code>Git</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><li><p>有的插件安装后报错无法启动</p><ul><li>请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式<code>safe_mode: true</code>下启动轻雪,在安全模式下你可以使用<code>npm uninstall</code>卸载问题插件</li></ul></li><li><h2 id="其他问题" tabindex="-1">其他问题 <a class="header-anchor" href="#其他问题" aria-label="Permalink to &quot;其他问题&quot;"></a></h2><p>加入QQ群<a href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&amp;k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&amp;authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&amp;noverify=0&amp;group_code=775840726" target="_blank" rel="noreferrer">775840726</a></p></li></ul><h2 id="推荐方案-qq" tabindex="-1"><strong>推荐方案(QQ)</strong> <a class="header-anchor" href="#推荐方案-qq" aria-label="Permalink to &quot;**推荐方案(QQ)**&quot;"></a></h2><ol><li><a href="https://github.com/KonataDev/Lagrange.Core" target="_blank" rel="noreferrer">Lagrange.OneBot</a>基于NTQQ的OneBot实现目前Markdown消息支持Lagrange</li><li><a href="https://github.com/LLOneBot/LLOneBot" target="_blank" rel="noreferrer">LLOneBot</a>NTQQ的OneBot插件需要安装NTQQ</li><li><a href="https://github.com/whitechi73/OpenShamrock" target="_blank" rel="noreferrer">OpenShamrock</a>基于Lsposed的OneBot11实现</li><li><a href="https://github.com/TimeRainStarSky/Yunzai" target="_blank" rel="noreferrer">TRSS-Yunzai</a>,基于<code>node.js</code>,可使用<code>ws-plugin</code>进行通信</li><li><a href="https://github.com/Mrs4s/go-cqhttp" target="_blank" rel="noreferrer">go-cqhttp</a><code>go</code>语言实现的OneBot11实现端目前可用性较低</li><li><a href="https://github.com/Hoshinonyaruko/Gensokyo" target="_blank" rel="noreferrer">Gensokyo</a>,基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限</li><li>人工实现的<code>Onebot</code>协议自己整一个WebSocket客户端看着QQ的消息然后给轻雪传输数据</li></ol><h2 id="推荐方案-minecraft" tabindex="-1"><strong>推荐方案(Minecraft)</strong> <a class="header-anchor" href="#推荐方案-minecraft" aria-label="Permalink to &quot;**推荐方案(Minecraft)**&quot;"></a></h2><ol><li><a href="https://github.com/snowykami/MinecraftOnebot" target="_blank" rel="noreferrer">MinecraftOneBot</a>我们专门为Minecraft开发的服务器Bot支持OneBotV11标准</li></ol><p>使用其他项目连接请先自行查阅文档若有困难请联系对应开发者而不是Liteyuki的开发者</p><h2 id="鸣谢" tabindex="-1"><strong>鸣谢</strong> <a class="header-anchor" href="#鸣谢" aria-label="Permalink to &quot;**鸣谢**&quot;"></a></h2><ul><li><a href="https://nonebot.dev" target="_blank" rel="noreferrer">Nonebot2</a>提供的框架支持</li><li><a href="https://github.com/ArcletProject/nonebot-plugin-alconna" target="_blank" rel="noreferrer">nonebot-plugin-alconna</a>提供的命令解析功能</li><li><a href="https://hyperos.mi.com/font/zh/" target="_blank" rel="noreferrer">MiSans</a><a href="https://gitee.com/mirrors/Maple-Mono" target="_blank" rel="noreferrer">MapleMono</a>提供的字体,且遵守了相关字体开源协议</li></ul>',10)]))}const f=o(l,[["render",n]]);export{u as __pageData,f as default};