1
0
forked from x/icebergs
icebergs/core/chat/portal.go
2023-09-20 00:29:12 +08:00

17 lines
281 B
Go

package chat
import (
ice "shylinux.com/x/icebergs"
"shylinux.com/x/icebergs/base/web"
)
const PORTAL = "portal"
func init() {
Index.MergeCommands(ice.Commands{
PORTAL: {Actions: web.ApiAction(), Hand: func(m *ice.Message, arg ...string) {
web.RenderMain(m)
}},
})
}