From 79af4ce381069039560b42dd2d6cce688fbdbe83 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:28:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E5=B7=B2=E7=9F=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cores/qqbot/core.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cores/qqbot/core.py b/cores/qqbot/core.py index a91d57676..02383c6b8 100644 --- a/cores/qqbot/core.py +++ b/cores/qqbot/core.py @@ -626,4 +626,6 @@ class gocqClient(): @gocq_app.receiver("GroupMemberIncrease") async def _(app: CQHTTP, source: GroupMemberIncrease): - await app.send_group_msg(group_id=source.group_id, message=f"欢迎 {source.member_id} 加入本群!\n欢迎给https://github.com/Soulter/QQChannelChatGPT项目一个Star😊~") \ No newline at end of file + await app.sendGroupMessage(source.group_id, [ + Plain(text=f"欢迎 {source.member_id} 加入本群!\n欢迎给https://github.com/Soulter/QQChannelChatGPT项目一个Star😊~") + ]) \ No newline at end of file