Only sending boss name as a string, no dict objects.

This commit is contained in:
alwayscompiling
2022-06-29 22:52:50 -04:00
parent 061411f18d
commit 02e4d075dd
4 changed files with 13 additions and 11 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ from highscores import highscores_data # pylint: disable=import-error
from utils import data_storage # pylint: disable=import-error
def submit_score_int(boss: str, category: str, user: str, score: int):
async def submit_score_int(
self, ctx: commands.Context, boss_name: str, category: str, user: str, score: int
):
"""
Adds a score to the high scores and sorts. Removes a score if larger than size limit.
@param boss: the boss to add score to