🐛 修复 _lang 为私有变量不会默认序列化的bug

This commit is contained in:
2025-04-27 15:17:12 +08:00
parent 7c0b3cd240
commit 56e06a7001
16 changed files with 17 additions and 17 deletions

View File

@@ -55,7 +55,7 @@ async def _(
name=bot_info.user_remark or bot_info.user_displayname or bot_info.user_name,
),
prompt='茶服查我',
_lang=get_lang(),
lang=get_lang(),
),
)
) as page_hash:

View File

@@ -304,7 +304,7 @@ async def make_query_image(user_info: UserInfoSuccess, game_data: GameData, even
challenge=f'{int(user_info.data.pb_challenge):,}' if user_info.data.pb_challenge != '0' else 'N/A',
marathon=f'{int(user_info.data.pb_marathon):,}' if user_info.data.pb_marathon != '0' else 'N/A',
),
_lang=get_lang(),
lang=get_lang(),
),
)
) as page_hash:

View File

@@ -60,7 +60,7 @@ async def _(
name=bot_info.user_name,
),
prompt='茶服绑定{游戏ID}',
_lang=get_lang(),
lang=get_lang(),
),
)
) as page_hash: