Update profile_manager.py

This commit is contained in:
Snowykami 2024-03-26 08:29:14 +08:00 committed by GitHub
parent 615c7e6681
commit d4a8aa1f87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -114,8 +114,7 @@ def get_profile_menu(key: str, ulang: Language) -> Optional[str]:
if key == "lang":
for lang_code, lang_name in get_all_lang().items():
btn_set = md.button(ulang.get('user.profile.set'), f"profile set {key} {lang_code}")
reply += (f"\n**{lang_name}** **{lang_code}**\n"
f"\n> {btn_set}\n\n***")
reply += f"\n{btn_set} **{lang_name}** **{lang_code}**\n"
return reply