Skip to content

Commit

Permalink
remove trailing newlines 😬
Browse files Browse the repository at this point in the history
  • Loading branch information
karlsbjorn committed Nov 1, 2023
1 parent 44ed7a0 commit b304c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discordstreams/discordstreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b304c9b

Please sign in to comment.