Skip to content

Commit

Permalink
fix: score commands not working in API v1
Browse files Browse the repository at this point in the history
  • Loading branch information
f11y11 committed Apr 29, 2023
1 parent 6c92016 commit 023b357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/cogs/osu.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ async def osutop(self, ctx, username: str = None):
rank=rank,
map=score['beatmap']['title'],
difficulty=score['beatmap']['version'],
mods=score['mods_readable'],
mods=repr(filter_invalid_combos(Mods(score['mods']), mode.value)),
link=f"https://{domain}/beatmapsets/{score['beatmap']['set_id']}",
stars=score['beatmap']['diff'],
grade=Grades[score['grade']].value[1],
Expand Down

0 comments on commit 023b357

Please sign in to comment.