🐛 修复性别显示

This commit is contained in:
Chenric 2024-09-23 21:37:20 +08:00
parent 9944ece153
commit ed7f1167f2
2 changed files with 6 additions and 1 deletions

View File

@ -247,6 +247,11 @@ async def get_user_infos(
user_nickname=_get_user_nickname(user_info),
user_avatar_bytes=user_avatars[i],
)
user.user_gender = (
""
if user.user_gender == "male"
else "" if user.user_gender == "female" else ""
)
rank2.append(user)
return rank2

View File

@ -1,6 +1,6 @@
[project]
name = "nonebot-plugin-dialectlist"
version = "2.3.0"
version = "2.3.1"
description = "看看你群群友有多能说"
authors = [
{name = "Chen_Xu233", email = "woyerpa@outlook.com"},