From b08031015ef83b38c07d8e6c2436b308aba0188c Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Mon, 6 Nov 2023 21:15:52 -0500 Subject: [PATCH] figlet: and really try to trim newlines Signed-off-by: Vincent Batts --- figlet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/figlet.py b/figlet.py index e8762bf..d7c8214 100644 --- a/figlet.py +++ b/figlet.py @@ -21,6 +21,6 @@ class FigletBot(Plugin): fig = pyfiglet.Figlet(font=fontname) msg = f'Rendering with: {fontname}\n\n```' - msg += fig.renderText(message) + msg += fig.renderText(message).strip() msg += '```' await evt.respond(msg)