<spanclass="line"><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;"> command_start</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [ </span><spanstyle="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"/"</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><spanstyle="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">""</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ] </span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Command prefix, if there is no "" empty command header, please enable alconna_use_command_start to ensure alconna parsing is normal</span></span>
<spanclass="line"><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;"> host</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><spanstyle="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">127.0.0.1</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Listening address, default is local, if you want to receive external requests, please fill in</span></span>
<spanclass="line"><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;"> log_icon</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><spanstyle="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Whether to display the log level icon (some console fonts are not available)</span></span>
<spanclass="line"><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;"> auto_report</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><spanstyle="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Whether to automatically report problems to Liteyuki server</span></span>
<spanclass="line"><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;"> auto_update</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><spanstyle="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Whether to automatically update Liteyuki, check for updates at 4 am every day</span></span>
<spanclass="line"><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;"> plugin_dirs</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [ ] </span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Liteyuki plugin directory list</span></span></code></pre></div><h2id="other-configurations"tabindex="-1"><strong>Other configurations</strong><aclass="header-anchor"href="#other-configurations"aria-label="Permalink to "**Other configurations**""></a></h2><p>The following is the default value. If you need to customize it, please add it manually</p><divclass="language-yaml vp-adaptive-theme"><buttontitle="Copy Code"class="copy"></button><spanclass="lang">yaml</span><preclass="shiki shiki-themes github-light github-dark vp-code"tabindex="0"><code><spanclass="line"><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Advanced configuration</span></span>
<spanclass="line"><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;"> alconna_auto_completion</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><spanstyle="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">false</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # alconna auto completion</span></span>
<spanclass="line"><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;"> safe_mode</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><spanstyle="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">false</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Safe mode, if true, the bot will not load any plugins</span></span>
<spanclass="line"><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # other nonebot configurations</span></span>
<spanclass="line"><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;"> allow_update</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><spanstyle="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Whether to allow Liteyuki to update</span></span>
<spanclass="line"><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;"> debug</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><spanstyle="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">false</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Debug mode, if true, Liteyuki will output more detailed logs</span></span>
<spanclass="line"><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;"> dev_mode</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><spanstyle="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">false</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # development mode, if true, Liteyuki will load all plugins in the development directory</span></span>
<spanclass="line"><spanstyle="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">...</span></span></code></pre></div><divclass="language-yaml vp-adaptive-theme"><buttontitle="Copy Code"class="copy"></button><spanclass="lang">yaml</span><preclass="shiki shiki-themes github-light github-dark vp-code"tabindex="0"><code><spanclass="line"></span></code></pre></div><h2id="example-configuration-of-onebot-implementation-side-connected-to-nonebot"tabindex="-1"><strong>Example: Configuration of OneBot implementation side connected to NoneBot</strong><aclass="header-anchor"href="#example-configuration-of-onebot-implementation-side-connected-to-nonebot"aria-label="Permalink to "**Example: Configuration of OneBot implementation side connected to NoneBot**""></a></h2><p>In production environments, it is recommended to use reverse WebSocket The fields provided by different implementation sides may be different, but basically the same. Here is a reference value</p><tabletabindex="0"><thead><tr><th>Fields</th><th>Value</th><th>Description</th></tr></thead><tbody><tr><td>protocol</td><td>Reverse WebSocket</td><td>Liteyuki-NoneBot as server</td></tr><tr><td>address</td><td>ws://127.0.0.1:20216/onebot/v11/ws</td><td>The address depends on the configuration file, the default is `</td></tr><tr><td>AccessToken</td><td><code>""</code></td><td>If you have configured <code>AccessToken</code> for Liteyuki, please fill in the same value here</td></tr></tbody></table><ul><li>To use other communication methods, please visit <ahref="https://onebot.adapters.nonebot.dev/"target="_blank"rel="noreferrer">OneBot Adapter</a> for detailed information</li></ul><h2id="other"tabindex="-1"><strong>Other</strong><aclass="header-anchor"href="#other"aria-label="Permalink to "**Other**""></a></h2><ul><li>Liteyuki is not limited to the OneBot adapter and NoneBot2. You can use any adapter supported by NoneBot2 or use the Liteyuki message delivery plugin</li></ul></div></div></main><footerclass="VPDocFooter"data-v-9a8fdbf7data-v-04d32139><!--[--><!--]--><divclass="edit-info"data-v-04d32139><divclass="edit-link"data-v-04d32139><aclass="VPLink link vp-external-link-icon no-icon edit-link-button"href="https://github.com/LiteyukiStudio/LiteyukiBot/tree/main/docs/en/deploy/config.md"target="_blank"rel="noreferrer"data-v-04d32139><!--[--><spanclass="vpi-square-pen edit-link-icon"data-v-04d32139></span> Edit this page on GitHub<!--]--></a></div><divclass="last-updated"data-v-04d32139><pclass="VPLastUpdated"data-v-04d32139data-v-62329a39>Last updated: <timedatetime="2024-08-31T10:57:48.000Z"data-v-62329a39></time></p></div></div><navclass="prev-next"aria-labelledby="doc-footer-aria-label"data-v-04d32139><spanclass="visually-hidden"id="doc-footer-aria-label"data-v-04d32139>Pager</span><divclass="pager"data-v-04d32139><aclass="VPLink link pager-link prev"href="/en/deploy/install.html"data-v-04d32139><!--[--><spanclass="desc"data-v-04d32139>Prev Page</span><spanclass="title"data-v-04d32139>Install</span><!--]--></a></div><divclass="pager"data-v-04d32139><aclass="VPLink link pager-link next"href="/en/deploy/fandq.html"data-v-04d32139><!--[--><spanclass="desc"data-v-04d32139>Next Page</span><spanclass="title"data-v-04d32139>FAQ</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footerclass="VPFooter has-sidebar"data-v-14531071data-v-315dbb2f><divclass="container"data-v-315dbb2f><pclass="message"data-v-315dbb2f>Documentation built with <ahref="https://vitepress.dev/">VitePress</a> | API references generated by <ahref="https://github.com/LiteyukiStudio/litedoc">litedoc</a></p><pclass="copyright"data-v-315dbb2f>Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved</p></div></footer><!--[--><!--]--></div></div>