forked from x/icebergs
fix ocean spawn
This commit is contained in:
parent
1e601771b5
commit
478930c77d
@ -249,7 +249,7 @@ var Index = &ice.Context{Name: "chat", Help: "聊天中心",
|
|||||||
))
|
))
|
||||||
m.Log(ice.LOG_CREATE, "river: %v name: %v", river, arg[1])
|
m.Log(ice.LOG_CREATE, "river: %v name: %v", river, arg[1])
|
||||||
// 添加用户
|
// 添加用户
|
||||||
m.Cmd("/river", river, "add", arg[2:])
|
m.Cmd("/river", river, "add", m.Option(ice.MSG_USERNAME), arg[2:])
|
||||||
m.Echo(river)
|
m.Echo(river)
|
||||||
}
|
}
|
||||||
}},
|
}},
|
||||||
|
@ -361,7 +361,7 @@ var Index = &ice.Context{Name: "wiki", Help: "文档中心",
|
|||||||
}},
|
}},
|
||||||
|
|
||||||
"word": {Name: "word", Help: "语言文字", Meta: kit.Dict("remote", "pod", "display", "wiki/word"), List: kit.List(
|
"word": {Name: "word", Help: "语言文字", Meta: kit.Dict("remote", "pod", "display", "wiki/word"), List: kit.List(
|
||||||
kit.MDB_INPUT, "text", "name", "path", "value", "自然/编程/hi.shy",
|
kit.MDB_INPUT, "text", "path", "path", "value", "自然/编程/hi.shy",
|
||||||
kit.MDB_INPUT, "button", "name", "执行", "action", "auto",
|
kit.MDB_INPUT, "button", "name", "执行", "action", "auto",
|
||||||
kit.MDB_INPUT, "button", "name", "返回", "cb", "Last",
|
kit.MDB_INPUT, "button", "name", "返回", "cb", "Last",
|
||||||
), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user