1
0
forked from bot/app
LiteyukiBot/assets/en_deploy_fandq.md.CFdXBoPO.js

2 lines
6.2 KiB
JavaScript
Raw Normal View History

import{_ as e,c as o,o as t,a6 as n}from"./chunks/framework.BcfwU5BI.js";const f=JSON.parse('{"title":"FAQ","description":"","frontmatter":{"title":"FAQ","order":3},"headers":[],"relativePath":"en/deploy/fandq.md","filePath":"en/deploy/fandq.md","lastUpdated":1725101868000}'),a={name:"en/deploy/fandq.md"},r=n('<h1 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-label="Permalink to &quot;FAQ&quot;"></a></h1><h2 id="frequently-asked-questions" tabindex="-1"><strong>Frequently Asked Questions</strong> <a class="header-anchor" href="#frequently-asked-questions" aria-label="Permalink to &quot;**Frequently Asked Questions**&quot;"></a></h2><ul><li><p>There are too many python interpreters on my computer, how do I know which one to use?</p><ul><li>You can specify which python interpreter to use by using the full path to the python executable, for example, <code>/path/to/python main.py</code></li><li>Use virtual environments to avoid conflicts between different python interpreters</li></ul></li><li><p>Why does the bot not respond after I start it?</p><ul><li>Please check the configuration file <code>command_start</code> or <code>superusers</code>, make sure you have permission to use the command and send it correctly</li><li>Make sure the command header does not conflict with <code>nickname{}</code>, for example, a command is <code>help</code>, but the <code>Bot</code> nickname has a <code>help</code>, then it will be parsed as a nickname instead of a command</li></ul></li><li><p>Update Liteyuki failed, error <code>InvalidGitRepositoryError</code></p><ul><li>Please install <code>Git</code> correctly and deploy Liteyuki using cloning instead of direct download</li></ul></li><li><p>How to log in to chat platforms such as Telegram?</p><ul><li>If you have this question, it means you don&#39;t know much about this project. This project does not implement the login function, only the message processing and response. The login function is provided by the implementation side (protocol side). The implementation side itself does not handle response logic. It processes and reports messages to Liteyuki according to the OneBot standard. You need to use an implementation side that complies with the OneBot standard to connect to Liteyuki and report messages to Liteyuki. Some recommended implementation sides have been listed below</li></ul></li><li><p><code>Playwright</code> installation failed</p><ul><li>Enter <code>playwright install</code> to install the browser</li></ul></li><li><p>Some plugins report errors after installation and cannot be started</p><ul><li>Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode <code>safe_mode: true</code>. In safe mode, you can use <code>npm uninstall</code> to uninstall problematic plugins</li></ul></li></ul><h2 id="other-questions" tabindex="-1">Other questions <a class="header-anchor" href="#other-questions" aria-label="Permalink to &quot;Other questions&quot;"></a></h2><ul><li>Join chat group<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></li><li>If you don&#39;t have a QQ account, you can <a href="https://github.com/LiteyukiStudio/LiteyukiBot/issues/new?assignees=&amp;labels=&amp;projects=&amp;template=%E9%97%AE%E9%A2%98%E5%8F%8D%E9%A6%88.md&amp;title=" target="_blank" rel="noreferrer">submit an issue on GitHub</a></li></ul><h2 id="recommended-solution-qq" tabindex="-1"><strong>Recommended Solution(QQ)</strong> <a class="header-anchor" href="#recommended-solution-qq" aria-label="Permalink to &quot;**Recommended Solution(QQ)**&quot;"></a></h2><ol><li><a href="https://github.com/KonataDev/Lagrange.Core" target="_blank" rel="noreferrer">Lagrange.OneBot</a>, based on <code>Lagrange.Core</code>, a Linux QQ i