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:
parent
c855a156f8
commit
2a19d2d0d8
1 changed files with 2 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue