mirror of
https://github.com/ChenXu233/nonebot_plugin_dialectlist.git
synced 2024-11-23 23:55:29 +08:00
🐛 修复性别显示
This commit is contained in:
parent
9944ece153
commit
ed7f1167f2
@ -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
|
||||
|
@ -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"},
|
||||
|
Loading…
Reference in New Issue
Block a user