From e449d57787cd3a71d50ed17a06e0d36562476572 Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 9 Apr 2025 17:18:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E7=A7=AF=E5=88=86+=E7=A7=AF?= =?UTF-8?q?=E5=88=86=E6=8E=92=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/decorator/points_decorator.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/decorator/points_decorator.py b/utils/decorator/points_decorator.py index fa03321..b877dcf 100644 --- a/utils/decorator/points_decorator.py +++ b/utils/decorator/points_decorator.py @@ -139,8 +139,9 @@ def plugin_points_cost(points: int, description: str = None, feature: Feature = wcf = message.get("wcf") if wcf: wcf.send_text( - f"❌ 积分不足\n无法使用 {plugin_name} 功能\n先参与积分活动[签到,答题/t]赚取吧!\n" - f"有: {user_points['total_points']} | 需: {points} |差: {points - user_points['total_points']} ", + f"❌ 积分不足\n无法使用 {plugin_name} 功能\n" + f"🪙 先参与积分活动[签到,答题/t]赚取吧!\n" + f"💰 有: {user_points['total_points']} | 需: {points} |差: {points - user_points['total_points']} ", (roomid if roomid else sender), sender ) logger.info(f"用户 {sender} 积分不足,无法使用功能")