Skip to content

Commit

Permalink
chore(lint): 改进代码样式 (#925)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Jun 12, 2024
1 parent b637fe1 commit c70766a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion plugin/chatcount/chatcount.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,4 @@ func init() {
}
ctx.SendChain(message.Text(text.String()))
})

}
2 changes: 1 addition & 1 deletion plugin/chatcount/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c70766a

Please sign in to comment.