fix bug in /splash
Marco Andronaco andronacomarco@gmail.com
Wed, 07 Sep 2022 17:05:24 +0200
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
main.py
→
main.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