Skip to content

Commit

Permalink
✏️ 美化格式
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Sep 10, 2021
1 parent dbb681e commit 8d4d6c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions control/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ func init() {
i := 0
forEach(func(key string, manager *Control) bool {
i++
msg += "\n" + strconv.Itoa(i) + `: ` + key
msg += "\n" + strconv.Itoa(i) + `: `
if manager.isEnabledIn(ctx.Event.GroupID) {
msg += " ●"
msg += " ●" + key
} else {
msg += " ○"
msg += " ○" + key
}
return true
})
Expand Down

0 comments on commit 8d4d6c7

Please sign in to comment.