From b86fc9837703b593f915beb2c0f5251e43dce911 Mon Sep 17 00:00:00 2001 From: AlberLC Date: Sun, 16 Apr 2023 09:58:11 +0200 Subject: [PATCH] Update ScraperBot.send_song_info --- flanabot/bots/scraper_bot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flanabot/bots/scraper_bot.py b/flanabot/bots/scraper_bot.py index 6a6333f..9909352 100644 --- a/flanabot/bots/scraper_bot.py +++ b/flanabot/bots/scraper_bot.py @@ -416,10 +416,10 @@ class ScraperBot(MultiBot, ABC): @return_if_first_empty(exclude_self_types='ScraperBot', globals_=globals()) async def send_song_info(self, song_info: Media, message: Message): attributes = ( - f'Título: {song_info.title}\n' if song_info.title else '', - f'Autor: {song_info.author}\n' if song_info.author else '', - f'Álbum: {song_info.album}\n' if song_info.album else '', - f'Previa:' + f'Título: {song_info.title}\n' if song_info.title else '', + f'Autor: {song_info.author}\n' if song_info.author else '', + f'Álbum: {song_info.album}\n' if song_info.album else '', + f'Previa:' ) await self.send(''.join(attributes), message) if song_info: