Moved countdown link to description field and used a named link
parent
9179955ff0
commit
19c8ad8c80
|
@ -103,9 +103,10 @@ pub fn send_event_msg(
|
|||
e.title(event.event_name.clone())
|
||||
.color(Colour::PURPLE)
|
||||
.description(format!(
|
||||
"**{}**\n{}\n\nReact with {} below to receive event reminders!",
|
||||
"**{}**\n{}\n\n[Click Here For A Countdown]({})\n\nReact with {} below to receive event reminders!",
|
||||
native_time.format("%A, %B %d @ %I:%M %P %t %Z"),
|
||||
event.event_desc,
|
||||
get_countdown_link(&event.event_name, &utc_time),
|
||||
INTERESTED_EMOJI
|
||||
))
|
||||
.thumbnail(event.thumbnail_link.clone())
|
||||
|
@ -113,7 +114,6 @@ pub fn send_event_msg(
|
|||
.timestamp(utc_time.to_rfc3339())
|
||||
.field("Location", &event.event_loc, true)
|
||||
.field("Organizer", &event.organizer, true)
|
||||
.field("Countdown", get_countdown_link(&event.event_name, &utc_time), false)
|
||||
})
|
||||
})?;
|
||||
|
||||
|
|
Loading…
Reference in New Issue