figlet: and really try to trim newlines
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
234c0bb13d
commit
b08031015e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue