fix: 修复使用llonebot时的协议问题

This commit is contained in:
RockChinQ 2024-03-02 20:58:58 +08:00
parent 39a7f3b2b9
commit 1e9a6f813f

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,