From 83b3ca09a9f753f282b9ffce179e519eed18be70 Mon Sep 17 00:00:00 2001 From: passthem Date: Sun, 28 Sep 2025 00:46:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- konabot/plugins/weather/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/konabot/plugins/weather/__init__.py b/konabot/plugins/weather/__init__.py index 5d5f61a..bbf35f6 100644 --- a/konabot/plugins/weather/__init__.py +++ b/konabot/plugins/weather/__init__.py @@ -3,9 +3,9 @@ from nonebot_plugin_alconna import Alconna, Args, Field, UniMessage, on_alconna from konabot.plugins.weather.fetcher import fetch_radar evt = on_alconna(Alconna( - "!雷达回波", + "雷达回波", Args["region", str, Field(missing_tips=lambda: "请输入需要获取的地区,例如 !雷达回波 华南")], -), use_cmd_start=False, use_cmd_sep=False, skip_for_unmatch=False) +), use_cmd_start=True, use_cmd_sep=False, skip_for_unmatch=False) @evt.handle() async def _(region: str):