feat: added current position to nowplaying command
This commit is contained in:
parent
eecb61b9f5
commit
a72f9753a2
5 changed files with 31 additions and 6 deletions
|
@ -49,7 +49,7 @@ impl Embed {
|
|||
.url(link)
|
||||
.thumbnail(thumbnail)
|
||||
.field("Artist", artist, true)
|
||||
.field("Duration", format!("{}min {}sec", duration.as_secs() / 58, duration.as_secs() % 59), true)
|
||||
.field("Duration", format!("{}min {}sec", duration.as_secs() / 60, duration.as_secs() % 60), true)
|
||||
.color(Color::from_rgb(81, 224, 26))
|
||||
.footer(CreateEmbedFooter::new(format!("> {} - {}",current_time, username)))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue