From 95139dcc93392c16c327b1a6851eb544a9a30b1a Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 20 Aug 2025 17:01:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=A7=AF=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/video/main.py | 2 +- plugins/weather/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/video/main.py b/plugins/video/main.py index 0238f93..7d6e47d 100644 --- a/plugins/video/main.py +++ b/plugins/video/main.py @@ -116,7 +116,7 @@ class VideoPlugin(MessagePluginInterface): return command in self._commands @plugin_stats_decorator(plugin_name="视频插件") - @plugin_points_cost(5, "视频插件消耗积分", FEATURE_KEY) + @plugin_points_cost(8, "视频插件消耗积分", FEATURE_KEY) @group_feature_rate_limit(max_per_minute=3, feature_key=FEATURE_KEY) async def process_message(self, message: Dict[str, Any]) -> Tuple[bool, Optional[str]]: """处理消息""" diff --git a/plugins/weather/main.py b/plugins/weather/main.py index 6fb2d0a..c634593 100644 --- a/plugins/weather/main.py +++ b/plugins/weather/main.py @@ -102,7 +102,7 @@ class WeatherPlugin(MessagePluginInterface): return command in self._commands @plugin_stats_decorator(plugin_name="天气查询") - @plugin_points_cost(1, "天气查询消耗积分", FEATURE_KEY) + @plugin_points_cost(10, "天气查询消耗积分", FEATURE_KEY) async def process_message(self, message: Dict[str, Any]) -> Tuple[bool, Optional[str]]: """处理消息""" content = str(message.get("content", "")).strip()