From 0641dca2a6fe5729057366baa84cc8c54f90e473 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Fri, 21 Apr 2023 01:04:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DqqAt=E7=9A=84=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/platform/qq.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/model/platform/qq.py b/model/platform/qq.py index f03546aad..d71be5d98 100644 --- a/model/platform/qq.py +++ b/model/platform/qq.py @@ -11,7 +11,7 @@ class QQ: if not image_mode: if source.type == "GroupMessage": await self.client.sendGroupMessage(source.group_id, [ - At(target=source.user_id), + At(qq=source.user_id), Plain(text=res) ]) elif source.type == "FriendMessage": @@ -21,11 +21,12 @@ class QQ: else: if source.type == "GroupMessage": await self.client.sendGroupMessage(source.group_id, [ - At(target=source.user_id), + At(qq=source.user_id), Plain(text="好的,我根据你的需要为你生成了一张图片😊"), Image.fromURL(url=res) ]) elif source.type == "FriendMessage": await self.client.sendFriendMessage(source.user_id, [ + Plain(text="好的,我根据你的需要为你生成了一张图片😊"), Image.fromURL(url=res) ]) \ No newline at end of file