diff --git a/cogs/rtfm/rtfm.py b/cogs/rtfm/rtfm.py index 2fbb673c..bcf995c0 100644 --- a/cogs/rtfm/rtfm.py +++ b/cogs/rtfm/rtfm.py @@ -1457,6 +1457,7 @@ async def kontest_hackerrank(self) -> list: self.kontests_cache["hackerrank"] = hackerrank.contests contests = self.kontests_cache["hackerrank"] + contests = [c for c in contests if not c.ended] return [ f"""ID: *{contest.id}* | **[{contest.name}]({contest.url})** | {'ENDED' if contest.ended else 'UPCOMING/ONGOING'}