Comment vaccine changes as API doesn't update on correct times to make this possible

pull/30/head
Stijn De Clercq 2021-01-20 20:52:10 +01:00
parent a8bffa5975
commit b30360e901
1 changed files with 8 additions and 5 deletions

View File

@ -101,12 +101,15 @@ class Corona(commands.Cog):
# Vaccines
if vaccines is not None:
# embed.add_field(name="Aantal toegediende vaccins:",
# value=self.createEmbedString(
# vaccines["today"]["vaccines"],
# vaccines["today"]["todayVaccines"],
# self.trendIndicator(vaccines, "todayVaccines")
# ))
embed.add_field(name="Aantal toegediende vaccins:",
value=self.createEmbedString(
vaccines["today"]["vaccines"],
vaccines["today"]["todayVaccines"],
self.trendIndicator(vaccines, "todayVaccines")
))
value="{:,}".format(vaccines["today"]["vaccines"]),
inline=False)
# Timestamp of last update
timeFormatted = timeFormatters.epochToDate(int(dic["today"]["updated"]) / 1000)