From 813ec2b17ad72b7ef741a299cc442b1ef956f37e Mon Sep 17 00:00:00 2001 From: shy Date: Sun, 5 Jan 2025 12:45:21 +0800 Subject: [PATCH] add some --- core/wiki/image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/wiki/image.go b/core/wiki/image.go index 7b663fe6..19b6121b 100644 --- a/core/wiki/image.go +++ b/core/wiki/image.go @@ -23,7 +23,7 @@ func init() { IMAGE: {Name: "image path", Help: "图片", Actions: ice.Actions{ "material": {Hand: func(m *ice.Message, arg ...string) { m.Info("what %v", m.FormatChain()) - m.Cmdy("", path.Join("usr/material", strings.TrimPrefix(path.Dir(m.Option("_script")), "usr/"), arg[0])) + m.Cmdy(IMAGE, path.Join("usr/material", strings.TrimPrefix(path.Dir(m.Option("_script")), "usr/"), arg[0])) }}, }, Hand: func(m *ice.Message, arg ...string) { arg = _name(m, arg)