Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
weebzone authored Nov 12, 2022
1 parent 4e46b97 commit dcfe3df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bot/modules/rss.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ def rss_monitor(context):
except IndexError:
url = rss_d.entries[feed_count]['link']
if RSS_COMMAND is not None:
feed_msg = f"{RSS_COMMAND} {url}"
feed_msg = f"{RSS_COMMAND} {url}\n\n"
feed_msg += f"<b>Name: </b>{rss_d.entries[feed_count]['title'].replace('>', '').replace('<', '')}"
#feed_msg += f"\n\n<b>Name: </b><code>{rss_d.entries[feed_count]['title'].replace('>', '').replace('<', '')}</code>"
else:
feed_msg = f"<b>Name: </b><code>{rss_d.entries[feed_count]['title'].replace('>', '').replace('<', '')}</code>\n\n"
feed_msg += f"<b>Link: </b><code>{url}</code>"
Expand Down Expand Up @@ -251,4 +253,4 @@ def rss_monitor(context):
dispatcher.add_handler(rss_settings_handler)
dispatcher.add_handler(rss_buttons_handler)
rss_job = job_queue.run_repeating(rss_monitor, interval=RSS_DELAY, first=20, name="RSS")
rss_job.enabled = True
rss_job.enabled = True

0 comments on commit dcfe3df

Please sign in to comment.