Merge pull request #708 from RockChinQ/fix/llonebot-not-supported

Fix: 修复使用llonebot时的协议问题
This commit is contained in:
Junyan Qin 2024-03-02 20:59:41 +08:00 committed by GitHub
commit 171ea7c375
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -170,7 +170,7 @@ class AiocqhttpEventConverter(adapter.EventConverter):
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,