✏️ 美化格式

This commit is contained in:
fumiama 2021-09-10 14:31:10 +08:00
parent dbb681e8a6
commit 8d4d6c7e5e

View File

@ -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
})