From baf77c19da8f4586902a4c35aa94c9e00d834a3d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 8 Sep 2018 02:12:05 +0200 Subject: [PATCH] Piccoli miglioramenti al redditbot --- redditbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redditbot.py b/redditbot.py index 488880c1..980c1f56 100644 --- a/redditbot.py +++ b/redditbot.py @@ -75,9 +75,9 @@ def process(): while True: try: telegram_bot.send_message(config["Telegram"]["main_group"], - f'Nuovo post su r/RoyalGames:\n' + f'ℹ️ Nuovo post su r/RoyalGames:\n' f'{submission.title}\n' - f'da u/{submission.author}', + f'da u/{submission.author}', parse_mode="HTML", disable_notification=True) except telegram.error.TimedOut: time.sleep(1)