Improve formatting slightly

This commit is contained in:
Natsu Kagami 2024-02-12 15:15:29 +01:00
parent 51a2054385
commit 081b75d167
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -148,7 +148,7 @@ pub async fn server_rank(ctx: &Context, m: &Message, mut args: Args) -> CommandR
)); ));
} }
content.push_line("```").push_line(format!( content.push_line("```").push_line(format!(
"Page **{}**/**{}**. Last updated: `{}`", "Page **{}**/**{}**. Last updated: {}",
page + 1, page + 1,
(total_len + ITEMS_PER_PAGE - 1) / ITEMS_PER_PAGE, (total_len + ITEMS_PER_PAGE - 1) / ITEMS_PER_PAGE,
last_update.format("<t:%s:R>"), last_update.format("<t:%s:R>"),