Skip to content

Commit

Permalink
wrong list old man
Browse files Browse the repository at this point in the history
  • Loading branch information
sylveonnotdeko committed Apr 12, 2024
1 parent a123ca5 commit 92ef1d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mewdeko/Modules/Music/Music.cs
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,9 @@ async Task<PageBuilder> PageFactory(int index)
foreach (var track in tracks)
{
if (player.CurrentItem is not null && player.CurrentItem.Track == track)
sb.AppendLine($":loud_sound: **{tracks.IndexOf(track) + 1}. [{track.Title}]({track.Uri})**");
sb.AppendLine($":loud_sound: **{queue.IndexOf(track) + 1}. [{track.Title}]({track.Uri})**");
else
sb.AppendLine($"{tracks.IndexOf(track) + 1}. [{track.Title}]({track.Uri})");
sb.AppendLine($"{queue.IndexOf(track) + 1}. [{track.Title}]({track.Uri})");
}

return new PageBuilder()
Expand Down

0 comments on commit 92ef1d4

Please sign in to comment.