feat: add since tag to discord ping
This commit is contained in:
parent
7d538f1942
commit
8554f7a8ad
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ fn build_embed(status: DoorStatus, timestamp: u64, image_base_url: &str) -> Crea
|
||||||
.title(title)
|
.title(title)
|
||||||
.description(description)
|
.description(description)
|
||||||
.colour(colour)
|
.colour(colour)
|
||||||
|
.field("Since", format_timestamp(timestamp), true)
|
||||||
.thumbnail(image_url)
|
.thumbnail(image_url)
|
||||||
.timestamp(
|
.timestamp(
|
||||||
serenity::model::Timestamp::from_unix_timestamp(timestamp as i64)
|
serenity::model::Timestamp::from_unix_timestamp(timestamp as i64)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue