From ac4e60c5962459144bbd5a9a8eb146b17cc6d3f8 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Thu, 6 Feb 2020 11:55:39 -0500 Subject: [PATCH] Show beatmapset link as a bracketed anchor --- youmubot-osu/src/discord/embeds.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youmubot-osu/src/discord/embeds.rs b/youmubot-osu/src/discord/embeds.rs index d2318a7..4e1b39f 100644 --- a/youmubot-osu/src/discord/embeds.rs +++ b/youmubot-osu/src/discord/embeds.rs @@ -79,7 +79,7 @@ pub fn beatmap_embed<'a>(b: &'_ Beatmap, m: Mode, c: &'a mut CreateEmbed) -> &'a link, link ) }) - .push_line(b.beatmapset_link()) + .push_line(format!(" [[Beatmapset]]({})", b.beatmapset_link())) .push_line(&b.approval) .push("Language: ") .push_bold(&b.language)