Remove notice that star difficulty doesn't reflect mods applied

This commit is contained in:
Natsu Kagami 2023-10-22 17:47:52 +02:00
parent 54502ad61b
commit b0f7aab1a1
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -249,8 +249,7 @@ mod scores {
b.map(|(beatmap, info)| { b.map(|(beatmap, info)| {
format!( format!(
"[{:.1}*] {} - {} [{}] ({})", "[{:.1}*] {} - {} [{}] ({})",
info.map(|i| i.stars) info.map(|i| i.stars).unwrap_or(beatmap.difficulty.stars),
.unwrap_or(beatmap.difficulty.stars),
beatmap.artist, beatmap.artist,
beatmap.title, beatmap.title,
beatmap.difficulty_name, beatmap.difficulty_name,
@ -322,11 +321,7 @@ mod scores {
page + 1, page + 1,
self.total_pages() self.total_pages()
)); ));
if self.mode != Mode::Std {
m.push_line("Note: star difficulty doesn't reflect mods applied.");
} else {
m.push_line("[?] means pp was predicted by oppai-rs."); m.push_line("[?] means pp was predicted by oppai-rs.");
}
msg.edit(ctx, |f| f.content(m.to_string())).await?; msg.edit(ctx, |f| f.content(m.to_string())).await?;
hourglass.delete(ctx).await?; hourglass.delete(ctx).await?;
Ok(true) Ok(true)