1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-27 09:48:28 +08:00
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)
}},
})
}