From ed7f1167f25ed0891369e713bd9c6d8c724c8a8e Mon Sep 17 00:00:00 2001 From: Chenric <91937041+ChenXu233@users.noreply.github.com> Date: Mon, 23 Sep 2024 21:37:20 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E6=80=A7=E5=88=AB?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_dialectlist/utils.py | 5 +++++ pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/nonebot_plugin_dialectlist/utils.py b/nonebot_plugin_dialectlist/utils.py index 20dd2d1..e182951 100644 --- a/nonebot_plugin_dialectlist/utils.py +++ b/nonebot_plugin_dialectlist/utils.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 1136713..4e739b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"},