签到使用群昵称
This commit is contained in:
@@ -184,11 +184,9 @@ class SignInSystem:
|
|||||||
|
|
||||||
# 如果 sign_stat 已经大于或等于今天的零点,则认为用户已经签到过了
|
# 如果 sign_stat 已经大于或等于今天的零点,则认为用户已经签到过了
|
||||||
if sign_stat >= today_start:
|
if sign_stat >= today_start:
|
||||||
self.wcf.send_text(
|
ats = ""
|
||||||
f"@{wx_nick_name} 您今天已经签到过了!当前积分:{user_record['points']}",
|
ats += f" @{self.wcf.get_alias_in_chatroom(message.sender, message.roomid)}"
|
||||||
(message.roomid if message.from_group() else message.sender),
|
self.wcf.send_text(f"@{ats} 您今天已经签到过了!当前积分:{user_record['points']}", message.roomid, message.sender)
|
||||||
message.sender
|
|
||||||
)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
streak = 0
|
streak = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user