调整显示积分文案
This commit is contained in:
@@ -397,7 +397,7 @@ class GameTaskPlugin(MessagePluginInterface):
|
||||
)
|
||||
return
|
||||
|
||||
rank_text = f"🎉 群 {roomid} 排行榜(Top 10)来啦!\n"
|
||||
rank_text = f"🎉 群答题 {roomid} 排行榜(Top 10)来啦!\n"
|
||||
for i, row in enumerate(ranks, 1):
|
||||
rank_text += f"🐓 {i}. {row['player_name']}: {row['points']} 分\n"
|
||||
|
||||
|
||||
@@ -216,7 +216,7 @@ class MessageSignPlugin(MessagePluginInterface):
|
||||
|
||||
# 如果 sign_stat 已经大于或等于今天的零点,则认为用户已经签到过了
|
||||
if sign_stat >= today_start:
|
||||
self.message_util.send_text_msg(f"您今天已经签到过了!当前积分:{user_record['points']}",
|
||||
self.message_util.send_text_msg(f"您今天已经签到过了!共获得积分:{user_record['points']}",
|
||||
(roomid if roomid else sender), sender)
|
||||
return True, "已签到"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user