Skip to content

Commit

Permalink
Merge pull request #708 from RockChinQ/fix/llonebot-not-supported
Browse files Browse the repository at this point in the history
Fix: 修复使用llonebot时的协议问题
  • Loading branch information
RockChinQ authored Mar 2, 2024
2 parents 39a7f3b + 1e9a6f8 commit 171ea7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/platform/sources/aiocqhttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 171ea7c

Please sign in to comment.