重大版本调整:gewechat兼容。

This commit is contained in:
liuwei
2025-04-22 11:17:03 +08:00
parent 41def62467
commit a62bb61901
48 changed files with 2855 additions and 1420 deletions
+2 -2
View File
@@ -143,7 +143,7 @@ def plugin_points_cost(points: int, description: str = None, feature: Feature =
# 积分不足
wcf = message.get("wcf")
if wcf:
wcf.send_text(
self.message_util.send_text(
f"❌ 积分不足\n无法使用 {plugin_name} 功能\n"
f"🪙 先参与积分活动[签到,答题/t]赚取吧!\n"
f"💰 有: {user_points['total_points']} | 需: {points} |差: {points - user_points['total_points']} ",
@@ -170,7 +170,7 @@ def plugin_points_cost(points: int, description: str = None, feature: Feature =
response += f"\n\n💰 已消费 {points} 积分"
wcf = message.get("wcf")
if wcf:
wcf.send_text(
self.message_util.send_text(
f"💰消费 {points} 积分",
(roomid if roomid else sender), sender
)