diff options
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/osu.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/osu.rs b/src/commands/osu.rs index 2b3961f..28d3cb3 100644 --- a/src/commands/osu.rs +++ b/src/commands/osu.rs @@ -114,6 +114,7 @@ struct OsuBeatMap { pub passcount: u32, pub playcount: u32, pub beatmapset: OsuBeatMapSet, + pub url: String, } #[derive(Deserialize, Debug, Clone)] @@ -152,7 +153,7 @@ pub async fn osubm(ctx: Context<'_>, m.embed(|e| { e.title(format!("osu! Beatmap: {} by {}", res.beatmapset.title, res.beatmapset.creator)); e.image(res.beatmapset.covers.list2); - e.description(format!("**Length:** {} **BPM:** {}\n**Difficulty:** {}:star:", res.total_length, res.bpm, res.difficulty_rating)); + e.description(format!("**Link:** {}\n**Length:** {} **BPM:** {}\n**Difficulty:** {}:star:", res.url, res.total_length, res.bpm, res.difficulty_rating)); e.footer(|f| { f.text(format!("BM ID {} | BM Set ID {}\nCreated {}", res.id, res.beatmapset.id, res.beatmapset.submitted_date)); f |