reverse articles list so they are in chronological order

This commit is contained in:
Corban-Lee Jones 2024-06-12 15:36:23 +01:00
parent a219c75804
commit 43ee2992ff

View File

@ -137,6 +137,7 @@ class TaskCog(commands.Cog):
parsed_content = parse(unparsed_content)
source = Source.from_parsed(parsed_content)
articles = source.get_latest_articles(10)
articles.reverse()
if not articles:
log.debug("No articles found")