diff --git a/lib/covid_report_lib.py b/lib/covid_report_lib.py index 23619f5..02e51cc 100644 --- a/lib/covid_report_lib.py +++ b/lib/covid_report_lib.py @@ -20,4 +20,6 @@ async def background_task(client, config_dict): for selection in config_dict['report_selections']: await channel.send(get_covid_data(selection)) await channel.send(get_top_data(config_dict['report_top_number'])) + elif(current_hour_and_minute[1] == 0): + update_data() await sleep(60)