From 0187890dc185618d8fd1998c5bd4de98ff4c650b Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 1 Jan 2025 18:36:20 -0500 Subject: [PATCH] remove excess lines from non-embed notifications --- nomen/notifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nomen/notifications.py b/nomen/notifications.py index 9137e40..4724631 100644 --- a/nomen/notifications.py +++ b/nomen/notifications.py @@ -73,13 +73,13 @@ async def handle_notification(db_updates, ctx, message, keyword, user_id, use_em log.debug("Sending plain message") paginator = Paginator(prefix="", suffix="") paginator.add_line(header) - paginator.add_line(empty=True) + paginator.add_line() for line in indent(message.content, "> ", lambda line: True).strip().split("\n"): if len(line) < 1990: paginator.add_line(line) else: paginator.add_line(line[:1975] + " (... Line too long)") - paginator.add_line(empty=True) + paginator.add_line() paginator.add_line(footer) try: for page in paginator.pages: