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) }}, }) }