From 40f6c6e55380db52beed7f1799878438bd9db6f4 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Sat, 16 Jan 2021 02:27:32 +0900 Subject: [PATCH] Fix formatting --- youmubot-core/src/fun/images.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youmubot-core/src/fun/images.rs b/youmubot-core/src/fun/images.rs index cfa4aa8..4a28696 100644 --- a/youmubot-core/src/fun/images.rs +++ b/youmubot-core/src/fun/images.rs @@ -69,7 +69,8 @@ async fn message_command( } else { msg.edit(ctx, |f| { f.content(format!( - "[🖼️ **{}/{}**] Here's the image you requested!\n\n{}", page + 1, + "[🖼️ **{}/{}**] Here's the image you requested!\n\n{}", + page + 1, images.len(), images[page] ))