mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
add some
This commit is contained in:
parent
ff498bbd8d
commit
b7582ee7d4
@ -78,6 +78,12 @@ func init() {
|
||||
RIGHT: {Hand: func(m *ice.Message, arg ...string) {
|
||||
kit.If(_role_right(m, arg[0], kit.Split(_role_keys(arg[1:]...), ice.PT)...), func() { m.Echo(ice.OK) })
|
||||
}},
|
||||
"whiteblack": {Hand: func(m *ice.Message, arg ...string) {
|
||||
kit.For(arg, func(cmd string) {
|
||||
m.Cmd(ROLE, WHITE, VOID, cmd)
|
||||
m.Cmd(ROLE, BLACK, VOID, cmd, ice.ACTION)
|
||||
})
|
||||
}},
|
||||
}, mdb.HashAction(mdb.SHORT, mdb.NAME)), Hand: func(m *ice.Message, arg ...string) {
|
||||
_role_list(m, kit.Select("", arg, 0)).PushAction(mdb.DELETE)
|
||||
}},
|
||||
|
@ -150,7 +150,7 @@ func _space_send(m *ice.Message, name string, arg ...string) (h string) {
|
||||
}) {
|
||||
wait()
|
||||
} else {
|
||||
m.Warn(kit.IndexOf([]string{ice.OPS, ice.DEV}, target[0]) == -1, ice.ErrNotFound, name)
|
||||
m.Warn(kit.IndexOf([]string{ice.OPS, ice.DEV}, target[0]) == -1, ice.ErrNotFound, SPACE, name)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
@ -68,7 +68,9 @@ func _webpack_cache(m *ice.Message, dir string, write bool) {
|
||||
})
|
||||
}
|
||||
for _, k := range []string{ice.FRAME_JS} {
|
||||
_webpack_js(m, js, _volcanos(m, k))
|
||||
m.Option(nfs.DIR_ROOT, _volcanos(m))
|
||||
_webpack_js(m, js, k)
|
||||
m.Option(nfs.DIR_ROOT, "")
|
||||
}
|
||||
_webpack_css(m, css, js, "src/template/web.chat.header/dark.css")
|
||||
_webpack_css(m, css, js, "src/template/web.chat.header/light.css")
|
||||
|
Loading…
x
Reference in New Issue
Block a user