mirror of
https://shylinux.com/x/icebergs
synced 2025-05-01 03:09:21 +08:00
opt ctx
This commit is contained in:
parent
28d70c5c4a
commit
e3c74fa4ac
@ -100,6 +100,11 @@ func init() {
|
|||||||
ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) {
|
ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) {
|
||||||
m.Rich(ROLE, nil, kit.Dict(mdb.NAME, VOID, WHITE, kit.Dict(), BLACK, kit.Dict()))
|
m.Rich(ROLE, nil, kit.Dict(mdb.NAME, VOID, WHITE, kit.Dict(), BLACK, kit.Dict()))
|
||||||
m.Rich(ROLE, nil, kit.Dict(mdb.NAME, TECH, BLACK, kit.Dict(), WHITE, kit.Dict()))
|
m.Rich(ROLE, nil, kit.Dict(mdb.NAME, TECH, BLACK, kit.Dict(), WHITE, kit.Dict()))
|
||||||
|
m.Cmd(ROLE, WHITE, VOID, ice.SRC)
|
||||||
|
m.Cmd(ROLE, WHITE, VOID, ice.BIN)
|
||||||
|
m.Cmd(ROLE, WHITE, VOID, ice.USR)
|
||||||
|
m.Cmd(ROLE, BLACK, VOID, ice.USR_LOCAL)
|
||||||
|
m.Cmd(ROLE, WHITE, VOID, ice.USR_LOCAL_GO)
|
||||||
}},
|
}},
|
||||||
mdb.INSERT: {Name: "insert role=void,tech zone=white,black key=", Help: "添加", Hand: func(m *ice.Message, arg ...string) {
|
mdb.INSERT: {Name: "insert role=void,tech zone=white,black key=", Help: "添加", Hand: func(m *ice.Message, arg ...string) {
|
||||||
m.Richs(ROLE, nil, m.Option(ROLE), func(key string, value map[string]interface{}) {
|
m.Richs(ROLE, nil, m.Option(ROLE), func(key string, value map[string]interface{}) {
|
||||||
|
1
conf.go
1
conf.go
@ -95,6 +95,7 @@ const ( // DIR
|
|||||||
INDEX_SH = "index.sh"
|
INDEX_SH = "index.sh"
|
||||||
|
|
||||||
USR_LOCAL = "usr/local"
|
USR_LOCAL = "usr/local"
|
||||||
|
USR_LOCAL_GO = "usr/local/go"
|
||||||
USR_LOCAL_BIN = "usr/local/bin"
|
USR_LOCAL_BIN = "usr/local/bin"
|
||||||
USR_LOCAL_LIB = "usr/local/lib"
|
USR_LOCAL_LIB = "usr/local/lib"
|
||||||
USR_LOCAL_WORK = "usr/local/work"
|
USR_LOCAL_WORK = "usr/local/work"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user