mirror of
https://github.com/nelsbrock/disbahn.git
synced 2026-08-14 22:26:49 +02:00
Compare commits
2
Commits
500a44ee99
...
574f3764fb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
574f3764fb
|
||
|
|
fe9f00c014
|
Generated
+503
-431
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
|||||||
-# **Hinweis:** Die aus dem RSS-Feed von zuginfo.nrw stammenden Beginn- und Endzeiten scheinen oft inakkurat zu sein und sind daher mit Vorsicht zu genießen.
|
|
||||||
+3
-4
@@ -121,13 +121,12 @@ impl DisbahnClient {
|
|||||||
.thumbnail(icon_url)
|
.thumbnail(icon_url)
|
||||||
.colour(Self::icon_name_to_colour(icon))
|
.colour(Self::icon_name_to_colour(icon))
|
||||||
.description(description)
|
.description(description)
|
||||||
.field("Beginn:", format!("<t:{validity_begin}:F>"), true)
|
.field("Beginn:", format!("<t:{validity_begin}:f>"), true)
|
||||||
.field("Ende:", format!("<t:{validity_end}:F>"), true)
|
.field("Ende:", format!("<t:{validity_end}:f>"), true)
|
||||||
.field("", include_str!("hint.txt"), false)
|
|
||||||
.timestamp(pub_datetime)
|
.timestamp(pub_datetime)
|
||||||
.footer(
|
.footer(
|
||||||
CreateEmbedFooter::new(
|
CreateEmbedFooter::new(
|
||||||
"Quelle: https://zuginfo.nrw/ \u{2013} Alle Angaben ohne Gewehr \u{1F52B}",
|
"Quelle: zuginfo.nrw \u{2013} Alle Angaben ohne Gewehr \u{1F52B}",
|
||||||
)
|
)
|
||||||
.icon_url(FOOTER_ICON_URL),
|
.icon_url(FOOTER_ICON_URL),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user