mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-16 07:18:54 +00:00
Use mapset ID for download links (#19)
Beatmapset download links use beatmapset ID Beatmap download links use beatmapset ID
This commit is contained in:
parent
feac1713c2
commit
4069270213
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ pub fn beatmap_embed<'a>(b: &'_ Beatmap, m: Mode, c: &'a mut CreateEmbed) -> &'a
|
|||
.description(
|
||||
MessageBuilder::new()
|
||||
.push({
|
||||
let link = format!("https://osu.ppy.sh/beatmapsets/{}/download", b.beatmap_id);
|
||||
let link = format!("https://osu.ppy.sh/beatmapsets/{}/download", b.beatmapset_id);
|
||||
format!(
|
||||
"Download: [[Link]]({}) [[No Video]]({}?noVideo=1)",
|
||||
link, link
|
||||
|
@ -123,7 +123,7 @@ pub fn beatmapset_embed<'a>(
|
|||
.description(
|
||||
MessageBuilder::new()
|
||||
.push_line({
|
||||
let link = format!("https://osu.ppy.sh/beatmapsets/{}/download", b.beatmap_id);
|
||||
let link = format!("https://osu.ppy.sh/beatmapsets/{}/download", b.beatmapset_id);
|
||||
format!(
|
||||
"Download: [[Link]]({}) [[No Video]]({}?noVideo=1)",
|
||||
link, link
|
||||
|
|
Loading…
Add table
Reference in a new issue