From 560d479fba718c3c7c274663964431983aa5e609 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 2 Jun 2019 18:51:09 +0200 Subject: [PATCH] Fix embed date --- royalnet/audio/youtubedl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/royalnet/audio/youtubedl.py b/royalnet/audio/youtubedl.py index 1a43c371..bfce5976 100644 --- a/royalnet/audio/youtubedl.py +++ b/royalnet/audio/youtubedl.py @@ -166,9 +166,9 @@ class YtdlInfo: embed.set_thumbnail( url=self.thumbnail) embed.set_author(name=self.uploader, url=self.uploader_url) - embed.set_footer(text="Fonte: youtube-dl", icon_url="https://i.imgur.com/TSvSRYn.png") + embed.set_footer(text="Source: youtube-dl", icon_url="https://i.imgur.com/TSvSRYn.png") embed.add_field(name="Duration", value=str(self.duration), inline=True) - embed.add_field(name="Published on", value=str(self.upload_date), inline=True) + embed.add_field(name="Published on", value=self.upload_date.strftime("%d %b %Y"), inline=True) return embed def __repr__(self):