From 21607fe2a7784a7aab98010038ae32e12fb6af58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wuyi=E6=97=A0=E7=96=91?= <444835641@qq.com> Date: Tue, 22 Feb 2022 23:46:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/__init__.py b/__init__.py index 77f0a002..c79acd4b 100644 --- a/__init__.py +++ b/__init__.py @@ -137,6 +137,9 @@ async def send_talents(bot: HoshinoBot, ev: CQEvent): num = re.findall(r"[0-9]+", message) if len(num) == 1: im = await char_wiki(name, "talents", num[0]) + if isinstance(im,list): + await hoshino_bot.send_group_forward_msg(group_id=ev.group_id, messages=im) + return else: im = "参数不正确。" await bot.send(ev, im)