From 78b23767c30f2b4e1af1e87a963525aac0de6d08 Mon Sep 17 00:00:00 2001 From: liuwei Date: Thu, 22 Jan 2026 15:17:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E6=B0=94=EF=BC=8C=E4=B8=8D=E8=A6=81?= =?UTF-8?q?=E7=BB=93=E5=B0=BE=E6=98=AF=E5=A4=A9=E6=B0=94=E7=9A=84=E8=A7=A3?= =?UTF-8?q?=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/weather/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/weather/main.py b/plugins/weather/main.py index 2fcf9e9..cbac1a1 100644 --- a/plugins/weather/main.py +++ b/plugins/weather/main.py @@ -150,7 +150,6 @@ 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)