mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 17:20:49 +00:00
Save on not calculating pp in beatmap info
This commit is contained in:
parent
35634550dd
commit
abc0fc5f73
5 changed files with 39 additions and 19 deletions
|
@ -610,7 +610,7 @@ pub async fn last(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult
|
|||
.unwrap()
|
||||
.get_beatmap(b.beatmap_id)
|
||||
.await?
|
||||
.get_info_with(m.to_oppai_mode(), mods)
|
||||
.get_possible_pp_with(m.to_oppai_mode(), mods)
|
||||
.ok();
|
||||
msg.channel_id
|
||||
.send_message(&ctx, |f| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue