From de5d9b27a3e832658c2c327f9fbd96341ae93c8b Mon Sep 17 00:00:00 2001 From: iiLarsH <131697924+iiLarsH@users.noreply.github.com> Date: Wed, 7 Jun 2023 11:51:19 +0200 Subject: [PATCH] Update getLeaderboard.py --- Reuse/getLeaderboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Reuse/getLeaderboard.py b/Reuse/getLeaderboard.py index 5672256..cf7e68d 100644 --- a/Reuse/getLeaderboard.py +++ b/Reuse/getLeaderboard.py @@ -40,7 +40,7 @@ def create_leaderboard_image(board:str, weaponid="", weaponname="", server=""): font_size = 24 font_color = (255, 255, 255) - monospace_font_path = r'C:\Users\larsh\Documents\GitHub\Sonar\Reuse\Fonts\GTAmericaMono.ttf' + monospace_font_path = r'Sonar\Reuse\Fonts\GTAmericaMono.ttf' image = Image.new('RGB', (image_width, image_height), background_color) @@ -78,4 +78,4 @@ def create_leaderboard_message(board:str, weaponid="", weaponname="", server="") botmessage.set_image(url="attachment://leaderboard.png") botmessage.set_footer(text=f"Brought to you by ToneAPI, created at {date} on {time}") - return botmessage, img_file \ No newline at end of file + return botmessage, img_file