From 115e3dd3d09baf43c0404825a0da84b42043a3cf Mon Sep 17 00:00:00 2001 From: alwayscompiling Date: Sun, 10 Jul 2022 21:59:11 -0400 Subject: [PATCH] Shortening the pad size for messages a little. --- utilities/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utilities/utils.py b/utilities/utils.py index a328b87..cf860c9 100644 --- a/utilities/utils.py +++ b/utilities/utils.py @@ -21,7 +21,7 @@ def format_highscore_message(boss_name: str): # Gather all categories and add to string for key, value in boss_data["categories"].items(): - ret_string += f"{key}".ljust(30, " ") + ret_string += f"{key}".ljust(25, " ") ret_string += "\n" highscore_size = highscores_config["highscore_size"] @@ -31,9 +31,9 @@ def format_highscore_message(boss_name: str): for key, value in boss_data["categories"].items(): if len(value) > i: score = value[i] - ret_string += f"{i+1}: {score[0]} - {score[1]}".ljust(30, " ") + ret_string += f"{i+1}: {score[0]} - {score[1]}".ljust(25, " ") else: - ret_string += f"{i+1}: submit your score".ljust(30, " ") + ret_string += f"{i+1}: submit your score".ljust(25, " ") ret_string += "\n" return ret_string + "```"