mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-28 21:31:29 +08:00
✏️ 美化格式
This commit is contained in:
parent
dbb681e8a6
commit
8d4d6c7e5e
@ -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
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user