mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
21 lines
419 B
Go
21 lines
419 B
Go
package wiki
|
|
|
|
import (
|
|
ice "shylinux.com/x/icebergs"
|
|
"shylinux.com/x/icebergs/base/ctx"
|
|
"shylinux.com/x/icebergs/base/nfs"
|
|
)
|
|
|
|
const (
|
|
M4A = "m4a"
|
|
)
|
|
const AUDIO = "audio"
|
|
|
|
func init() {
|
|
Index.MergeCommands(ice.Commands{
|
|
AUDIO: {Name: "audio url", Help: "音频", Actions: ctx.ConfAction(nfs.PATH, ice.USR_LOCAL_IMAGE), Hand: func(m *ice.Message, arg ...string) {
|
|
_image_show(m, arg[0], arg[1:]...)
|
|
}},
|
|
})
|
|
}
|