diff --git a/utils/decorator/points_decorator.py b/utils/decorator/points_decorator.py index 9cae927..e1f68e8 100644 --- a/utils/decorator/points_decorator.py +++ b/utils/decorator/points_decorator.py @@ -139,9 +139,7 @@ def plugin_points_cost(points: int, description: str = None, feature: Feature = if wcf: wcf.send_text( f"❌ 积分不足,无法使用 {plugin_name} 功能\n" - f"当前积分: {user_points['total_points']}\n" - f"需要积分: {points}\n" - f"还差 {points - user_points['total_points']} 积分", + f"有: {user_points['total_points']} | 需: {points} |差: {points - user_points['total_points']} ", (roomid if roomid else sender), sender ) logger.info(f"用户 {sender} 积分不足,无法使用功能")