all repos — python-meme-bot @ a4de307a7ab76a2b8b3f92a62db8769c8e161337

Telegram Bot that uses PIL to compute light image processing.

fix bug in /splash
Marco Andronaco andronacomarco@gmail.com
Wed, 07 Sep 2022 17:05:24 +0200
commit

a4de307a7ab76a2b8b3f92a62db8769c8e161337

parent

302ca19b292df9448b0432e2058b0ebabd16e52c

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M main.pymain.py

@@ -244,10 +244,10 @@ content = info['content']['text']

if content.strip() == "": author = info['reply']['author'] + input_text = f"{author}\n{reply}" else: author = info['content']['author'] - - input_text = f"{author}\n{content}\n{reply}" + input_text = f"{author}\n{content}" if len(input_text.strip().split("\n")) < 2: return None