From b304c9ba61e4d381b9f8cc1c96c830f9be039cce Mon Sep 17 00:00:00 2001 From: Karlo Prikratki Date: Wed, 1 Nov 2023 04:55:02 +0100 Subject: [PATCH] =?UTF-8?q?remove=20trailing=20newlines=20=F0=9F=98=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- discordstreams/discordstreams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discordstreams/discordstreams.py b/discordstreams/discordstreams.py index 161b554..75daa4b 100644 --- a/discordstreams/discordstreams.py +++ b/discordstreams/discordstreams.py @@ -375,7 +375,7 @@ async def make_embed(self, start_time: Optional[datetime] = None) -> discord.Emb + (f"{activity.state}\n" if activity.state else "") + (f"{discord.utils.format_dt(start, 'R')}\n" if start else "") + (f"{_('Ends ')} {discord.utils.format_dt(end, 'R')}\n" if end else "") - ) + ).rstrip() except AttributeError: details_msg = "" if details_msg: