积分消费提醒
This commit is contained in:
@@ -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} 积分不足,无法使用功能")
|
||||
|
||||
Reference in New Issue
Block a user