调整异常扣分记录,如果是异常的数据,则不扣分

This commit is contained in:
liuwei
2025-04-17 14:42:47 +08:00
parent 05eb182e6a
commit 9579d3208f
10 changed files with 53 additions and 28 deletions

View File

@@ -245,7 +245,7 @@ class PointTradePlugin(MessagePluginInterface):
if not user_points:
wcf.send_text(f"❌未找到你的积分记录!请先参与积分活动[签到,答题/t]。",
(roomid if roomid else sender), sender)
return True, "未找到积分记录"
return False, "未找到积分记录"
# 获取用户昵称
user_info = self._get_user_record(sender, roomid)