added feedparser to requirements
This commit is contained in:
parent
7eee640b17
commit
c5fdb36fc4
2 changed files with 3 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ class RSSCog(BotBaseCog):
|
||||||
if latest_item and latest_item.title != self.last_items[name]:
|
if latest_item and latest_item.title != self.last_items[name]:
|
||||||
self.last_items[name] = latest_item.title
|
self.last_items[name] = latest_item.title
|
||||||
channel = self.bot.get_channel(895388842834673696)
|
channel = self.bot.get_channel(895388842834673696)
|
||||||
await channel.send(f"New RSS Item: {latest_item.title} - {latest_item.link}")
|
await channel.send(f"{name}: {latest_item.title} - {latest_item.link}")
|
||||||
|
|
||||||
@check_rss.before_loop
|
@check_rss.before_loop
|
||||||
async def before_check_rss(self):
|
async def before_check_rss(self):
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,5 @@ inky
|
||||||
wakeonlan
|
wakeonlan
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
Flask[async]
|
Flask[async]
|
||||||
waitress
|
waitress
|
||||||
|
feedparser
|
||||||
Loading…
Add table
Add a link
Reference in a new issue