我的积分+积分排行
This commit is contained in:
@@ -93,6 +93,7 @@ def points_reward_decorator(points_calculator: Union[int, Callable], source_type
|
|||||||
return success, response
|
return success, response
|
||||||
|
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|
||||||
return decorator
|
return decorator
|
||||||
|
|
||||||
|
|
||||||
@@ -138,7 +139,7 @@ def plugin_points_cost(points: int, description: str = None, feature: Feature =
|
|||||||
wcf = message.get("wcf")
|
wcf = message.get("wcf")
|
||||||
if wcf:
|
if wcf:
|
||||||
wcf.send_text(
|
wcf.send_text(
|
||||||
f"❌ 积分不足,无法使用 {plugin_name} 功能\n"
|
f"❌ 积分不足\n无法使用 {plugin_name} 功能\n先参与积分活动[签到,答题/t]赚取吧!\n"
|
||||||
f"有: {user_points['total_points']} | 需: {points} |差: {points - user_points['total_points']} ",
|
f"有: {user_points['total_points']} | 需: {points} |差: {points - user_points['total_points']} ",
|
||||||
(roomid if roomid else sender), sender
|
(roomid if roomid else sender), sender
|
||||||
)
|
)
|
||||||
@@ -178,4 +179,5 @@ def plugin_points_cost(points: int, description: str = None, feature: Feature =
|
|||||||
return func(self, message)
|
return func(self, message)
|
||||||
|
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|
||||||
return decorator
|
return decorator
|
||||||
|
|||||||
Reference in New Issue
Block a user