Update getLeaderboard.py

This commit is contained in:
iiLarsH
2023-06-07 11:51:19 +02:00
committed by GitHub
parent 5273541f2c
commit de5d9b27a3
+2 -2
View File
@@ -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
return botmessage, img_file