mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-18 20:50:12 +08:00
chore(lint): 改进代码样式 (#925)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
b637fe18e9
commit
c70766a989
@ -61,5 +61,4 @@ func init() {
|
||||
}
|
||||
ctx.SendChain(message.Text(text.String()))
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
@ -98,7 +98,7 @@ func (ctdb *chattimedb) updateChatTime(gid, uid int64) (remindTime int64, remind
|
||||
lastTime := time.Unix(ts, 0)
|
||||
todayTime, _ := ctdb.userTodayTimeMap.Load(keyword)
|
||||
totayMessage, _ := ctdb.userTodayMessageMap.Load(keyword)
|
||||
//这个消息数是必须统计的
|
||||
// 这个消息数是必须统计的
|
||||
ctdb.userTodayMessageMap.Store(keyword, totayMessage+1)
|
||||
st := chatTime{
|
||||
GroupID: gid,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user