From d09107dccbdb0d243cc0718b047d767f234b0248 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Sat, 29 Oct 2022 14:09:48 +0800 Subject: [PATCH] opt some --- core/wiki/audio.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 core/wiki/audio.go diff --git a/core/wiki/audio.go b/core/wiki/audio.go new file mode 100644 index 00000000..18233b62 --- /dev/null +++ b/core/wiki/audio.go @@ -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("", arg[0]) + } + }}, + }) +} \ No newline at end of file