🐞 fix: 更新货物未找到异常的信息处理方式 (#1713)

This commit is contained in:
梦璃雨落 2024-10-23 13:19:47 +08:00 committed by GitHub
parent ebf3df046a
commit 6519b1cad4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
)