diff --git a/youmubot-osu/src/discord/embeds.rs b/youmubot-osu/src/discord/embeds.rs index d320c02..97753ef 100644 --- a/youmubot-osu/src/discord/embeds.rs +++ b/youmubot-osu/src/discord/embeds.rs @@ -416,10 +416,10 @@ impl<'a> ScoreEmbedBuilder<'a> { {}"#, s.date.format(""), s.link() - .map(|s| format!("[Score]({})", s).into()) + .map(|s| format!("[[Score]]({})", s).into()) .unwrap_or(Cow::from("")), s.replay_download_link() - .map(|s| format!("[Replay]({})", s).into()) + .map(|s| format!("[[Replay]]({})", s).into()) .unwrap_or(Cow::from("")), pp_gained.as_ref().map(|v| &v[..]).unwrap_or(""), )) diff --git a/youmubot-osu/src/models/mod.rs b/youmubot-osu/src/models/mod.rs index c0ee178..70bb7b1 100644 --- a/youmubot-osu/src/models/mod.rs +++ b/youmubot-osu/src/models/mod.rs @@ -141,7 +141,7 @@ impl Difficulty { original_beatmap .map(|original_beatmap| { format!( - "[[Link]]({}) [[DL]]({}) [[BC]]({}) [[Chimu]]({}) (`{}`)", + "[[Link]]({}) [[DL]]({}) [[B]({})|[C]({})] (`{}`)", original_beatmap.link(), original_beatmap.download_link(BeatmapSite::Bancho), original_beatmap.download_link(BeatmapSite::Beatconnect), @@ -362,6 +362,7 @@ pub enum BeatmapSite { Bancho, Beatconnect, Chimu, + OsuDirect, } impl BeatmapSite { @@ -372,6 +373,7 @@ impl BeatmapSite { } BeatmapSite::Beatconnect => format!("https://beatconnect.io/b/{}", beatmapset), BeatmapSite::Chimu => format!("https://chimu.moe/d/{}", beatmapset), + BeatmapSite::OsuDirect => format!("osu://s/{}", beatmapset), } } }