mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-28 22:04:53 +08:00
2 lines
7.5 KiB
JavaScript
2 lines
7.5 KiB
JavaScript
|
import{_ as e,c as s,a7 as i,o as a}from"./chunks/framework.jrU0lkHV.js";const k=JSON.parse('{"title":"功能命令","description":"","frontmatter":{"title":"功能命令","order":2},"headers":[],"relativePath":"en/usage/extra.md","filePath":"en/usage/extra.md","lastUpdated":1725101868000}'),l={name:"en/usage/extra.md"};function d(n,t,r,h,o,p){return a(),s("div",null,t[0]||(t[0]=[i('<h1 id="功能插件命令" tabindex="-1">功能插件命令 <a class="header-anchor" href="#功能插件命令" aria-label="Permalink to "功能插件命令""></a></h1><h3 id="轻雪天气liteyuki-weather" tabindex="-1"><strong>轻雪天气<code>liteyuki_weather</code></strong> <a class="header-anchor" href="#轻雪天气liteyuki-weather" aria-label="Permalink to "**轻雪天气`liteyuki_weather`**""></a></h3><p>查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。</p><p>配置项</p><div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">weather_key</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">""</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # 和风天气的天气key,会自动判断key版本</span></span></code></pre></div><p>命令</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">weather</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> <</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">keywords..</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">.</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">></span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Keywords为城市名,支持中英文</span></span></code></pre></div><p>查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">bind-city</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> <</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">keywords..</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">.</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">></span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> # Keywords为城市名,支持中英文</span></span></code></pre></div><p>绑定查询城市,个人全局生效</p><h4 id="命令别名" tabindex="-1">命令别名 <a class="header-anchor" href="#命令别名" aria-label="Permalink to "命令别名""></a></h4><table tabindex="0"><thead><tr><th style="text-align:center;">命令</th><th style="text-align:left;">别名</th></tr></thead><tbody><tr><td style="text-align:center;">weather</td><td style="text-align:left;">天气</td></tr><tr><td style="text-align:center;">bind-city</td><td style="text-align:left;">绑定城市</td></tr></tbody></table><hr><h3 id="统计信息liteyuki-statistics" tabindex="-1"><strong>统计信息<code>liteyuki_statistics</code></strong> <a class="header-anchor" href="#统计信息liteyuki-statistics" aria-label="Permalink to "**统计信息`liteyuki_statistics`**""></a></h3><p>统计信息 命令</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes gi
|