From 6519b1cad4085de4f1ce572178789c8201d78709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E7=92=83=E9=9B=A8=E8=90=BD?= <79274361+meng-luo@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:19:47 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=B4=A7=E7=89=A9=E6=9C=AA=E6=89=BE=E5=88=B0=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E7=9A=84=E4=BF=A1=E6=81=AF=E5=A4=84=E7=90=86=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=20(#1713)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zhenxun/builtin_plugins/shop/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zhenxun/builtin_plugins/shop/__init__.py b/zhenxun/builtin_plugins/shop/__init__.py index 8f113daa..9e80e1a4 100644 --- a/zhenxun/builtin_plugins/shop/__init__.py +++ b/zhenxun/builtin_plugins/shop/__init__.py @@ -184,7 +184,7 @@ async def _( elif isinstance(result, UniMessage): await result.finish(reply_to=True) except GoodsNotFound: - await MessageUtils.build_message(f"没有找到道具 {name} 或道具数量不足...").send( + await MessageUtils.build_message(f"没有找到道具 {name.result} 或道具数量不足...").send( reply_to=True )