mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Piccoli miglioramenti al redditbot
This commit is contained in:
parent
e0428bb87b
commit
baf77c19da
1 changed files with 2 additions and 2 deletions
|
@ -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'<a href="https://reddit.com{submission.permalink}">{submission.title}</a>\n'
|
||||
f'da u/{submission.author}',
|
||||
f'da <b>u/{submission.author}</b>',
|
||||
parse_mode="HTML", disable_notification=True)
|
||||
except telegram.error.TimedOut:
|
||||
time.sleep(1)
|
||||
|
|
Loading…
Reference in a new issue