forked from x/icebergs
15 lines
276 B
Go
15 lines
276 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) }},
|
|
})
|
|
}
|