From 1e9a6f813f199c57e5e0f2027d809914314a46dc Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Sat, 2 Mar 2024 20:58:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BD=BF=E7=94=A8llon?= =?UTF-8?q?ebot=E6=97=B6=E7=9A=84=E5=8D=8F=E8=AE=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/platform/sources/aiocqhttp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/platform/sources/aiocqhttp.py b/pkg/platform/sources/aiocqhttp.py index fc6b4fbe..39506d33 100644 --- a/pkg/platform/sources/aiocqhttp.py +++ b/pkg/platform/sources/aiocqhttp.py @@ -170,7 +170,7 @@ def target2yiri(event: aiocqhttp.Event): name=event.sender["nickname"], permission=mirai.models.entities.Permission.Member, ), - special_title=event.sender["title"], + special_title=event.sender["title"] if "title" in event.sender else "", join_timestamp=0, last_speak_timestamp=0, mute_time_remaining=0,