From d4a8aa1f879d739dd8e545df9c768559aa960a7e Mon Sep 17 00:00:00 2001 From: Snowykami <79104275+snowykami@users.noreply.github.com> Date: Tue, 26 Mar 2024 08:29:14 +0800 Subject: [PATCH] Update profile_manager.py --- liteyuki/plugins/liteyuki_user/profile_manager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/liteyuki/plugins/liteyuki_user/profile_manager.py b/liteyuki/plugins/liteyuki_user/profile_manager.py index c7e292b..0a06cdf 100644 --- a/liteyuki/plugins/liteyuki_user/profile_manager.py +++ b/liteyuki/plugins/liteyuki_user/profile_manager.py @@ -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