mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-01-09 23:10:40 +08:00
✏️ 美化格式
This commit is contained in:
parent
dbb681e8a6
commit
8d4d6c7e5e
@ -180,11 +180,11 @@ func init() {
|
|||||||
i := 0
|
i := 0
|
||||||
forEach(func(key string, manager *Control) bool {
|
forEach(func(key string, manager *Control) bool {
|
||||||
i++
|
i++
|
||||||
msg += "\n" + strconv.Itoa(i) + `: ` + key
|
msg += "\n" + strconv.Itoa(i) + `: `
|
||||||
if manager.isEnabledIn(ctx.Event.GroupID) {
|
if manager.isEnabledIn(ctx.Event.GroupID) {
|
||||||
msg += " ●"
|
msg += " ●" + key
|
||||||
} else {
|
} else {
|
||||||
msg += " ○"
|
msg += " ○" + key
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user