mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
1274909618
commit
d09107dccb
17
core/wiki/audio.go
Normal file
17
core/wiki/audio.go
Normal file
@ -0,0 +1,17 @@
|
||||
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])
|
||||
}
|
||||
}},
|
||||
})
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user