File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ func init() {
58
58
money := wallet .GetWalletOf (uid )
59
59
ctx .SendChain (message .At (uid ), message .Text ("你的钱包当前有" , money , "ATRI币" ))
60
60
})
61
- engine .OnFullMatch ("2签到 " ).Limit (ctxext .LimitByUser ).SetBlock (true ).
61
+ engine .OnFullMatch ("签到 " ).Limit (ctxext .LimitByUser ).SetBlock (true ).
62
62
Handle (func (ctx * zero.Ctx ) {
63
63
uid := ctx .Event .UserID
64
64
now := time .Now ()
@@ -78,7 +78,7 @@ func init() {
78
78
}
79
79
return
80
80
case siUpdateTimeStr != today :
81
- // 如果是夸天签到就请数据
81
+ // 如果是跨天签到就清数据
82
82
err := sdb .InsertOrUpdateSignInCountByUID (uid , 0 )
83
83
if err != nil {
84
84
ctx .SendChain (message .Text ("ERROR: " , err ))
@@ -95,7 +95,7 @@ func init() {
95
95
level := sdb .GetScoreByUID (uid ).Score + 1
96
96
if level > SCOREMAX {
97
97
level = SCOREMAX
98
- ctx .SendChain (message .At (uid ), message .Text ("你的登记已经达到上限 " ))
98
+ ctx .SendChain (message .At (uid ), message .Text ("你的等级已经达到上限 " ))
99
99
}
100
100
err = sdb .InsertOrUpdateScoreByUID (uid , level )
101
101
if err != nil {
You can’t perform that action at this time.
0 commit comments