mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-25 08:35:03 +08:00
Update profile_manager.py
This commit is contained in:
parent
d4a8aa1f87
commit
2eb60b3e1b
@ -110,11 +110,11 @@ def get_profile_menu(key: str, ulang: Language) -> Optional[str]:
|
|||||||
if key in no_menu:
|
if key in no_menu:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
reply = f"{setting_name} {ulang.get('user.profile.settings')}\n***\n"
|
reply = f"**{setting_name} {ulang.get('user.profile.settings')}**\n***\n"
|
||||||
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{btn_set} **{lang_name}** **{lang_code}**\n"
|
reply += f"\n{btn_set} **{lang_name}** **{lang_code}**\n***\n"
|
||||||
return reply
|
return reply
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user