diff --git a/hrochobot/cogs/news.py b/hrochobot/cogs/news.py index e7f5460..c4c61f1 100644 --- a/hrochobot/cogs/news.py +++ b/hrochobot/cogs/news.py @@ -57,7 +57,7 @@ async def post_news(bot, guild, entry_id): channel = get(guild.channels, id=news_json["news_channel"]) feed = await ksp_feed() - entries_with_id = list(filter(lambda e: e.id == f"https://ksp.mff.cuni.cz/news_{entry_id}", feed.entries)) + entries_with_id = list(filter(lambda e: e.id == f"https://ksp.mff.cuni.cz/{entry_id}", feed.entries)) if len(entries_with_id) == 0: return f"Entry with id ``{entry_id}`` not found."