1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-21 18:44:19 +00:00

Display dota matches with the large embed

This commit is contained in:
Steffo 2024-08-19 09:52:36 +02:00
parent c855a156f8
commit 2a19d2d0d8
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -711,11 +711,6 @@ impl BroochService {
lines.push("".to_string());
}
lines.push(format!(
"Partita <code>{}</code>",
match_id,
));
Ok((match_id, Some(lines.join("\n"))))
}
@ -728,8 +723,8 @@ impl BroochService {
.link_preview_options(LinkPreviewOptions {
is_disabled: false,
url: Some(format!("https://stratz.com/matches/{}", match_id)),
prefer_small_media: true,
prefer_large_media: false,
prefer_small_media: false,
prefer_large_media: true,
show_above_text: false,
})
.await