From 367d25242e1175fdd0a9c3c564b92588ad1f60bc Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 26 Jan 2026 08:45:20 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E5=A4=A9=E6=B0=94=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E8=A6=81=E7=BB=93=E5=B0=BE=E6=98=AF=E5=A4=A9=E6=B0=94=E7=9A=84?= =?UTF-8?q?=E8=A7=A3=E6=9E=90"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 78b23767c30f2b4e1af1e87a963525aac0de6d08. --- plugins/weather/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/weather/main.py b/plugins/weather/main.py index cbac1a1..2fcf9e9 100644 --- a/plugins/weather/main.py +++ b/plugins/weather/main.py @@ -150,6 +150,7 @@ class WeatherPlugin(MessagePluginInterface): content = str(message.get("content", "")).strip() for cmd in ["天气", "订阅天气", "取消订阅"]: if content.startswith(cmd): return True + return content.endswith("天气") @plugin_stats_decorator(plugin_name="天气查询") @plugin_points_cost(10, "天气服务消耗积分", FEATURE_KEY)