1-based indexing on queue

This commit is contained in:
Gabriel Fontes
2023-06-11 13:16:41 -03:00
parent d5596e6ecd
commit 6400a89ff2

View File

@@ -256,7 +256,7 @@ async fn queue(ctx: &Context, msg: &Message) -> CommandResult {
let song = get_song(track).await?; let song = get_song(track).await?;
let song_text = format!( let song_text = format!(
"**{}.** {} - {}", "**{}.** {} - {}",
i, i+1,
song.title, song.title,
song.artist.as_deref().unwrap_or_default() song.artist.as_deref().unwrap_or_default()
); );