mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-23 03:17:37 +08:00
Update profile_manager.py
This commit is contained in:
parent
615c7e6681
commit
d4a8aa1f87
@ -114,8 +114,7 @@ def get_profile_menu(key: str, ulang: Language) -> Optional[str]:
|
|||||||
if key == "lang":
|
if key == "lang":
|
||||||
for lang_code, lang_name in get_all_lang().items():
|
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}")
|
btn_set = md.button(ulang.get('user.profile.set'), f"profile set {key} {lang_code}")
|
||||||
reply += (f"\n**{lang_name}** **{lang_code}**\n"
|
reply += f"\n{btn_set} **{lang_name}** **{lang_code}**\n"
|
||||||
f"\n> {btn_set}\n\n***")
|
|
||||||
return reply
|
return reply
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user