1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
icebergs/core/wiki/audio.go
2022-10-29 14:09:48 +08:00

17 lines
353 B
Go

package wiki
import (
ice "shylinux.com/x/icebergs"
)
const AUDIO = "audio"
func init() {
Index.MergeCommands(ice.Commands{
AUDIO: {Name: "audio path auto", Help: "音频", Actions: ice.MergeActions(
), Hand: func(m *ice.Message, arg ...string) {
if len(arg) > 0 {
m.Echo("<audio class='story' src='%s'></audio>", arg[0])
}
}},
})
}