From d826ebcd067c8fcefb413e8bdfc73e6f3d6ca117 Mon Sep 17 00:00:00 2001 From: Alex Huddleston Date: Thu, 26 Mar 2020 00:08:46 -0500 Subject: [PATCH] Hotfix for the bot not to spam the current time. --- lib/covid_report_lib.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/covid_report_lib.py b/lib/covid_report_lib.py index 3ac310c..76d0aa6 100644 --- a/lib/covid_report_lib.py +++ b/lib/covid_report_lib.py @@ -21,6 +21,4 @@ async def background_task(client): await channel.send('Daily report from: https://www.worldometers.info/coronavirus/') await channel.send(get_covid_data('USA')) await channel.send(get_covid_data('TOTAL')) - await channel.send(str( - datetime.now(timezone('US/Central')).time()).split(':')[:-1]) await sleep(60)