Skip to content

Commit

Permalink
Fix topplays sort parameter default value
Browse files Browse the repository at this point in the history
  • Loading branch information
minisbett committed Jan 1, 2024
1 parent da07cb5 commit 2282c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion huisbot/Modules/Huis/TopPlays.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public async Task HandleScoreAsync(
[Summary("player", "The osu! ID or name of the player. Optional, defaults to your linked osu! user.")] string? playerId = null,
[Summary("page", "The page of the scores. 1 page displays 10 scores.")][MinValue(1)] int page = 1,
[Summary("sort", "The sorting for the scores. Defaults to sort by Local PP.")]
[Autocomplete(typeof(ProfileScoresSortAutocomplete))] string sortId = "local_pp")
[Autocomplete(typeof(ProfileScoresSortAutocomplete))] string sortId = "local_pp_desc")
{
await DeferAsync();

Expand Down

0 comments on commit 2282c10

Please sign in to comment.