Skip to content

Commit

Permalink
fix(manga/list): indices start at 0 gdi
Browse files Browse the repository at this point in the history
  • Loading branch information
j1nxie committed Oct 10, 2024
1 parent f26cb7e commit e43edea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/manga.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ pub async fn list(ctx: Context<'_>) -> Result<(), Error> {
manga_list_str = manga_list_str
+ &format!(
"{}. [{}](https://mangadex.org/title/{})\n",
idx, title, manga_id,
idx + 1,
title,
manga_id,
);
}

Expand Down

0 comments on commit e43edea

Please sign in to comment.