misc.gimg: fix off by one on footer

This commit is contained in:
Cynthia Foxwell 2023-01-17 15:59:42 -07:00
parent d2bbf5c040
commit 90b9a869e4
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ gimg.callback = async function (msg, line) {
url: image.url,
},
footer: {
text: `Image ${index}/${images.length}. Rerun to get a different image.`,
text: `Image ${Number(index) + 1}/${images.length}. Rerun to get a different image.`,
},
},
],